LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: simple example

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: simple example
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Tue, 15 Jul 2003 12:36:39 -0400
Daniel Bidwell wrote:
> 

> When using the direct routing method, do eth real servers need to route
> to the internet through the lvs?

the usual method is for the realservers to route through a NIC _not_ on
the director. If you want to route through the director, see 
Julian's martian modification in the HOWTO.
 
> What I have been trying to do is have the lvs machine and the real
> servers all living on a common subnet with a common default gateway as
> diagramed below:
> 
>                            Internet
>                                 |
>     -----------------------------------------------------
>     |                           |                       |
> lvs server              real server 1           real server 2
> 
> Will this work?  

yes, this is called LVS-DR with a one-NIC director in the HOWTO.

or do I need to have:
> 
>                             Internet
>                                 |
>                           lvs server
>                                 |
>                 ---------------------------------
>                 |                               |
>         real server 1                   real server 2


this works too. It's called LVS-DR with a 2 NIC director. You
also need to have a path from the realsevers directly to the internet,
and not via the director (you don't have this path in this diagram),
if you're using the standard LVS-DR setup.

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>