LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: newbie trying to setup simple load balancer

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: newbie trying to setup simple load balancer
From: Ludo Stellingwerff <ludo@xxxxxxxxxxxxx>
Date: Wed, 28 Sep 2005 09:21:54 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


>and about my realservers, they run crap m$windoz
>it's not my choice..
>
>by the way, by "default route" you mean gateway ?
>could you explain more?

Yes, I'm talking about the gateway of those MS Windows machines.

I presume your network looks like this:

Internet
|
|
192.168.2.1
|
/-----------------------------------------\
| | |
192.168.2.2 192.168.2.3 192.168.2.4


Then the 192.168.2.2 will NAT the connections to one of the
realservers. The normal return traffic from the realservers would
normally go directly to 192.168.2.1, which is not correct.
By changing the gateway on your realservers to 192.168.2.2 you will
force the return traffic to the correct server.

This kind of network setup is not "simple":)
Better would be:

Internet
|
|
192.168.2.1
|
|
192.168.2.2/192.168.3.1 (two ethernet cards)
|
|
/------------------------\
192.168.3.2 192.168.3.3

Greetings,
Ludo.


- --
Ludo Stellingwerff

V&S B.V. The Netherlands
ProTactive firewall solution.
Tel: +31 172 416116
Fax: +31 172 416124

site: www.protactive.nl
demo: http://www.protactive.nl:81/netview.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDOkSPOF3sCpZ+AJgRAlm9AKCj/hleeDNzJjKcIz6JoyuwPGe9uQCg6a0O
1oHugfdxbNwtT5E7AxkE4CE=
=eIoQ
-----END PGP SIGNATURE-----


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