LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: wrong source ip address for packets from real servers

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: wrong source ip address for packets from real servers
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Fri, 03 Oct 2003 12:51:28 -0400
Olivier Kaloudoff wrote:
> 
> On Fri, 3 Oct 2003, Joseph Mack wrote:
> 
> >Olivier Kaloudoff wrote:
> >>
> >>         In my LAN, I have a NAT enabled Netgear router,
> >> IP: 192.168.0.64 .
> >>
> >>         One DR-LVS Director, with default gw= 192.168.0.64,
> >> working perfectly.
> >>
> >>         Three real servers, with default gw= 192.168.0.64,
> >> sending their IP packets with source IP=VIP (192.168.0.69) ...
> >> I don't understand why .
> >
> >all your IPs are on the same network. Have you handled the one-network
> >LVS-NAT problems first?
> >
> >http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO.LVS-NAT.html#one_network
> 
> I'm not sure I need LVS-NAT .


sorry I read "NAT" and didn't look close enough. My mistake

> What I did is setup LVS-DR, so that
> the requests don't pass through the load balancer, but directly to
> the router.
> 
> Isn't this problem just a little problem with the real server IP
> layer, is there a way to tell them to use the correct source IP ?

the source for the replies is supposed to be the VIP. This is the IP
that the client is connecting to.
 
What is the NAT router doing in the middle of this?

Joe
-- 
Joseph Mack PhD, High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx
<Prev in Thread] Current Thread [Next in Thread>