LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Using ip_vs on different subnets

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Using ip_vs on different subnets
From: "Scott J. Henson" <scotth@xxxxxxxxxxxx>
Date: Wed, 20 Jul 2005 15:21:48 -0400
Joseph Mack NA3T wrote:

On Mon, 18 Jul 2005, Scott J. Henson wrote:

Ive been trying to get this working and I think Ive come to the conclusion that its impossible, but Im wondering if anyone has an idea. Basically I'm trying to get ip_vs to use a real server that is on a different subnet from what the vip is on. Here is my setup.


this is the default. The RIP is on a private network, the VIP is on a public network.

Both the RIP and the VIP are on publically accessible subnets(meaning they have real routable addresses).

VIP: 192.168.1.100
Real Server: 192.168.2.100
Client: 192.168.1.101

Ive tried tun, dr, and nat, but all seem to have a problem with them. With dr, the director can't route to the real server and from the tcpdump output, the real server is never getting the packet.


does the director have a DIP on the RIP network? Have you setup the
standard LVS in the mini-HOWTO?


We are currently using LVS in production(csee.wvu.edu) and the setup works perfectly. But now we have need of having real servers in a location that is on a different subnet from the virtual server. And there in lies the problem. As far as I can tell there is no way to do this.
<Prev in Thread] Current Thread [Next in Thread>