LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS SNAT problem.

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS SNAT problem.
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Tue, 26 Feb 2008 06:39:46 -0800 (PST)
On Tue, 26 Feb 2008, Graeme Fowler wrote:

>> I have the following set up using ipvsadm:
>>
>> # ipvsadm -A -t 10.91.243.10:80 -s rr
>> # ipvsadm -a -t 10.91.243.10:80 -r 10.19.60.230:80 -m
>> # ipvsadm -a -t 10.91.243.10:80 -r 10.19.60.231:80 -m
>
> OK, so you're using LVS-DR. This means the traffic should ideally only
> touch the director on the way in.

isn't -m LVS-NAT?

>> I also have the following SNAT rule to change the source address of
>> packets leaving the load balancer,

why?

>> destined for the web servers, to 10.91.243.4, which is the load balancer
>> IP that it chooses to route packets from (as its lowest, I think..)

can you make the director the default gw for the packets 
from the RIPs?

Joe


-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!


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