LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: why director default gw in VS-NAT?

To: Joseph Mack <mack@xxxxxxxxxxx>
Subject: Re: why director default gw in VS-NAT?
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx, Roberto Nibali <ratz@xxxxxx>, Joseph Mack <mack.joseph@xxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Fri, 8 Jun 2001 15:12:22 +0300 (EEST)
        Hello,

On Fri, 8 Jun 2001, Joseph Mack wrote:

> I don't have an LVS here to test this again, so the question may not be
> quite right...
>
> I remember finding that the route from the real-servers to the client(s)
> in VS-NAT must have the director as the default gw and not just a route
> for VS-NAT to work.

        It can be any kind of route. The default route is simply a
route with longer netmask.

> Say I have a 2 NIC VS-NAT director, with the real-servers on 1 NIC and the
> client on the other NIC, and both NICS on different networks. If on the
> real-server I put the director as the default gw, the LVS works. If
> instead I put a network (or host) route to the client's network through
> the director (but no default gw entry), the LVS doesn't work.

        It should work, try to debug the problem

> Why is this?
>
> (Don't spend a lot of time on this if it doesn't seem right, I'll
> try it out again next week).

        only one minute

> Joe
>
> --
> Joseph Mack mack@xxxxxxxxxxx


Regards

--
Julian Anastasov <ja@xxxxxx>



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