LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

why director default gw in VS-NAT?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx, Julian Anastasov <ja@xxxxxx>
Subject: why director default gw in VS-NAT?
Cc: Roberto Nibali <ratz@xxxxxx>, Joseph Mack <mack.joseph@xxxxxxx>
From: Joseph Mack <mack@xxxxxxxxxxx>
Date: Fri, 8 Jun 2001 07:46:39 -0400 (EDT)
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.

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.

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).

Joe

--
Joseph Mack mack@xxxxxxxxxxx



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