Re: Re: How to build lvs on kernel 2.4.5?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Re: How to build lvs on kernel 2.4.5?
From: "Xiong Zhao" <xz@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Jul 2001 15:31:20 +0800
thanks for your help. the two windows 2000 are used as real servers
providing www service. now the problem is the real servers cannot ping
or connect the outside machine via the linux gateway. the LVS is in
a local network seperate from the outside world. the linux gateway/director
seems not to work. what should i do to make a linux box capable of being
a gateway? should i check some kernel compilation options or edit some
file? what are they?


>On Thu, Jul 26, 2001 at 09:37:50AM +0800, Xiong Zhao wrote:
>> i want to use a linux 2.4.5 box as director and two windows 2000
>> as real servers. i patch the kernel with linux-2.4.5-ipvs-0.8.1.patch,
>> but which version of ipvsadm should i install?
>This patch should have come in a tar ball
>When you unpack this tarball there is a directory, ipvs/ipvsadm/
>that contains the version of ipvsadm that you should use.
>> where is the explaination
>> of the command parameters of ipvsadm?
>ipvsadm comes with a man page that explains the parameters that
>can be passed to ipvsadm. Try "man ipvsadm".
>> is there anything to
>> do on windows 2000 besides setting the director as gateway?
>Is the windows 2000 machine a real-server or a client. If you are lusing
>LVS-NAT and windows 2000 is a real-server then you just set up the linunx
>director as the default gateway.  You will also need to configure the
>windows 2000 machine to run whatever services (web server?) you wish to
>have load balanced.
>> how to
>> make a linux box work as a gateway? should i check any kernel options
>> or something else? now the two realservers can ping either two NICs
>> on director, but cannot ping the outside computers. brief and clear
>> suggestion is in need. i'm almost confused with the howto.
>I would really suggest looking at
>or the HOTWO itself as it has detailed information on how to configure
>the system.
>You need to ensure that you have IPV4 forwarding turned on.
>echo 1 > /proc/sys/net/ipv4/ip_forward
>You also need to ensure that you are masquerdaing the internal network.
>/sbin/iptables -t nat -A POSTROUTING -s -j MASQUERADE
> mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>or go to


            xiong zhao

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