LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Problems with first time LVS use

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Problems with first time LVS use
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Sun, 10 Jun 2007 14:47:37 +0100
On Sun, 2007-06-10 at 16:26 +0300, Omar Al-Tabari wrote:
> And as I explained later on that this requirement is due to my network 
> setup, the thing is I can't figure out is to force the real servers to 
> respond via the LB instead of sending it back directly to the client.

You're using Windows realservers, so this is a little more tricky than
it seems.

You have three ways you proceed:

1. Remove the local route to the configured /24 network altogether.
I'm not sure that Windows will let you do that.

2. Add a new route with a lower metric.
route add 172.16.5.0 mask 255.255.255.0 172.16.5.126 metric 1

3. Change the realserver's netmask to 255.255.255.255.
I'm not sure that this would work, as it's a registry hack to do it most
of the time.

I just tested (2) and it worked for me, although you may have to turn
off ICMP redirects on the director in order to make it work as you'd
expect.

Graeme



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