LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: you picture is right.but must the director have the two ethnet.

To: dick <jijun_zhang_cn@xxxxxxxxxxx>
Subject: Re: you picture is right.but must the director have the two ethnet.
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 2 Nov 2000 02:21:57 -0500
On Thu, Nov 02, 2000 at 01:31:01PM +0800, dick wrote:
> i only have one ethnet so i set the eth0 alias.it is ok?,i do it again,and 
> use sniffit to detect it .i found the first package work right.

If you only have one ethernet then you need to use direct routing instead 
of masquerading - or be very creative with suppressing redirects.

Your network should look something like this in that case.


       [ Client ]
           |
       [ Gateway ]              [ Linux Director ]
           |                             |
           +-----------+-----------------+
                       |
                  [ Real Server ]

The default gateway for the real server must be the Gateway and
_not_ the Linux Director. 

The default gateway for the Linux Director
should also be the Gateway.




-- 
Horms


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