LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS-NAT - will this work?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LVS-NAT - will this work?
From: John Oliver <joliver@xxxxxxxxxxxxxxx>
Date: Thu, 18 May 2006 16:39:43 -0700
I'm looking to implement an LVS solution into an existing network with
zero downtime.  Here's how I plan on accomplishing that:

                        ________
                       |        |
                       | client |
                       |________|
                           |
                           |
                          /
                         /_
                           |
                       __________
                      |          |
                      |  ROUTER  |
                      |__________|
                   DGW=192.168.101.254
             __________    |
            |          |   |   VIP=192.168.101.110(eth0:110)
            | director |---|   eth0=192.168.101.50
            |__________|   |   DIP=SGW=192.168.100.1(eth0:109)
                           |
                           |
          -----------------------------------
          |                                 |
          |                                 |
 RIP=192.168.100.2(eth0:1)        RIP=192.168.100.3(eth0:1)
   eth0=192.168.101.200             eth0=192.168.101.201
     ____________                      ____________
    |            |                    |            |
    | realserver |                    | realserver |
    |____________|                    |____________|

Yes, it's messy.  But I need to do something like this because there's a
lot more going on on this network than just the stuff I want behind an
LVS.  I can't help but think, though, that traffic returning from the
realservers would have the source IP of eth0 instead of eth0:1  I could
use eth1 on the realservers and director, but then I'd run into problems
with VLANs and would have to give up the eth heartbeat between the two
directors (or add a third interface to them).

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************

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