LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

VIP on real interface.

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: VIP on real interface.
From: "Dan" <kasper37@xxxxxxxxxxxxx>
Date: Thu, 11 Mar 2004 02:41:32 -0800
I'm guessing this is possible, but I'm having some trouble configuring the real
servers:

------------
|  client  |
------------
  |
--------
|  GW  |
--------
  | x.y.z.1
  |           ------------ 192.168.0.1
  |-----------| director |------
  |    x.y.z.2------------     |
  |                            |
  |           --------------   |
  ------------| realserver |----
  eth0:x.y.z.2-------------- eth1:192.168.0.2


The idea is that the director receives the requests on the VIP x.y.z.2 and sends
them to the realserver over the 192.168.0.0/24 network.  Once the realserver
processes it, it sends it out on its eth0 interface.  From what I can tell, I've
got the packet getting all the way to the realserver but it never gets sent back
to the client.  I've got /proc/sys/net/ipv4/conf/all/hidden and
/proc/sys/net/ipv4/conf/eth0/hidden set to 1 on the real server but it is still
seems to be answering arp requests for x.y.z.2.  I have a few questions:

1) First, is this possible?

2) What should the netmask of x.y.z.2 be on the realserver?

3) What should the default gateway be for the realserver?

4) Do I need a routable ip on eth0 other than the VIP?  I'd rather it not have
one.

5) What should /sbin/route output look like on the realserver once this is
configured correctly?

Thanks for any help you can provide.

Dan

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