LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re:

To: randy hoffman <randy_hoffman@xxxxxxxxxxx>, <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re:
From: Neil Prockter <prockter@xxxxxxxxx>
Date: Tue, 30 Mar 2004 19:20:52 +0100
p.s.

you don't HAVE to have the nat set as the default gw you can avoid it if
you wish buy setting up

echo 80 lvs >> /etc/iproute2/rt_tables
ip route add default <lvs gw address> table lvs
ip rule add from <RIP address as known by lvs> table lvs

this says any traffic from the address the lvs woudl send to goes back
that way

randy hoffman wrote:
----- Original Message ----- From: "Joseph Mack" <mack.joseph@xxxxxxx>
To: "randy hoffman" <randy_hoffman@xxxxxxxxxxx>; "LinuxVirtualServer.org
users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, March 30, 2004 11:20 AM
Subject: Re:



randy hoffman wrote:

Hi,
i am going with LVS-NAT.   However, the one thing i
am not sure about is if LVS can SNAT the real server interface on the
director.

the director masquerades the LVSed services in both directions, ie you
don't have to setup any NAT'ing yourself. ipvsadm handles it for you.


This would allow all real server traffic to go back through the
director from multiple subnets as the default path back to the clients

from

the real servers is NOT through the director.

you want to setup LVS-NAT without using NOT the director as the default gw

for the

realservers?



No, i realize i have to use the director as the default gw.  If i SNAT the
real server interface on the director, that will guarantee all traffic will
come back through the director.  By default, the path to the clients on the
real servers would not be through the director but it needs to be, so
SNAT'ing would allow/force that.
randy
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>
  • [no subject], randy hoffman
    • Re:, Joseph Mack
      • Re:, randy hoffman
        • Re:, Neil Prockter <=
        • Re:, Joseph Mack
        • Re:, Neil Prockter
        • Re:, Neil Prockter