LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS using 2 IP-Addresses???

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: LVS using 2 IP-Addresses???
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 25 Jan 2001 12:40:00 -0500
On Thu, Jan 25, 2001 at 05:20:48PM +0200, Sven Bedorf wrote:
> Hi everyone,
> 
> I am using LVS with NAT and redirect the http traffic to one real-server
> (web server) I have got 4 official IP-Addresses (in the same subnet) from
> ISP.  Now I want to redirect the http traffic form another IP-Address to
> another realserver.  Do I need a second LinuxBox running LVS or is it
> possible that LVS listens on 2 IP-Addresses (either using IP-Aliasing or
> a third networkcard)?  

This should work fine with either an IP alias or an additional network
card.

> In my opinion I'll get problems with MASQ, because
> because LVS doesn't know which IP-Address will be the source address when
> sending back the request to the internet.  

The source address should work fine as it will be stored in a masq
structure when the incomming packet arrives. Though I'll stand corrected
on this.

> Does anybody have experience
> using LVS (NAT) with two official IP-Addresses or has an idea where to
> find information about this?  I hope I am not the only person using such
> a setup?
> 
> Here I am, waiting for your comments.
> 
> Thanks to all ;-)
> 
> Sven
> 
> Sven Bedorf mailto:bedorf@xxxxxxxxxxxxxxxx
> 

-- 
Horms


<Prev in Thread] Current Thread [Next in Thread>