Re: How to build lvs on kernel 2.4.5?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: How to build lvs on kernel 2.4.5?
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 26 Jul 2001 03:05:19 -0400
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


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