LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[no subject]

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject:
From: "randy hoffman" <randy_hoffman@xxxxxxxxxxx>
Date: Tue, 30 Mar 2004 10:48:18 -0600
Hi,
Below is my proposed set up. I need to load balance and provide HA to a
large number of servers on multiple subnets.  LVS-DR or LVS-TUN are not
currently an option so 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.  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.  If LVS does not have this
option can i implement iptables to handle it?  I've read that LVS and
iptables don't play nicely.  Any thoughts  or comments are much appreciated.
thanks!


                                               RS1:8080 (192.168.1.1)
                                                        |
                                                        |
                                                 ----------                 
                             -------- 
                                                |               |
|            |
INTERNET - - - - > VIP:80--| director |--SNAT(192.168.0.1)-----| router
|-----RS2:8080 (192.168.2.1)
                                                |               |
|            |
                                                ------------                
                            --------- 
                                                        |
                                                        |
                                               RS3:8080 (192.168.3.1)




VIP                - 1.2.3.4:80
DIP               - 1.2.3.1 (eth0), 192.168.0.1 (eth1)
RealServers - 192.168.1.1, 192.168.2.1, 192.168.3.1
<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