LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Routing route

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>,<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Routing route
From: pb <peterbaitz@xxxxxxxxx>
Date: Tue, 25 Mar 2003 10:19:55 -0800 (PST)
Thanks Joe.  

FYI section 13.11 calls the director (aka. load
balancer) a "NAT box" ;-)

Peter


--- Joseph Mack <mack.joseph@xxxxxxx> wrote:
> pb wrote:
> > 
> > Hello all,
> > 
> > It has been my understanding from reading LVS
> > documentation, and from out latest internal
> sniffer
> > testing, that the packet-rewriting done by Linux
> > Virtual Server works like this:
> > 
> >   ---incoming request---->LVS----->RS
> >   <--outgoing reply-------LVS<-----RS
> 
> for LVS-NAT only
> 
> 
> > and what our latest sniffer trace found is the
> packet
> > outgoing has the IP address of the Real Server
> (RS)
> > but the MAC address of the LVS box.
> 
> it's better to call this the director. 
> 
> I know people call the director the "LVS box"
> but it's confusing terminology. The LVS is the whole
> system. There is no LVS box.
> 
> If the client is receiving packets from the RS's IP
> (which presumably is a private IP, eg 192.168.x.x)
> then these packets shouldn't be routed. If they
> are routed, then the client should issue a tcp
> reset.
> 
> > Additionally,
> > we've noted (regarding our email system) that the
> > outgoing packets appear to come from the IP
> address of
> > the eth0 device (not the LVS eth0:1 IP address).
> 
> I haven't looked at the 2.4.x code but here's the
> state
> for 2.2.x
> 
>
http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO.LVS-NAT.html#lvs_nat_src_addr_reply
> 
> again your client will issue a tcp reset if it gets
> a packet
> from other than the VIP.
>  


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
<Prev in Thread] Current Thread [Next in Thread>