LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Re: How to build lvs on kernel 2.4.5?
From: Horms <horms@xxxxxxxxxxxx>
Date: Sat, 28 Jul 2001 12:10:37 -0400
On Thu, Jul 26, 2001 at 03:31:20PM +0800, Xiong Zhao wrote:
> 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?

I'm not entirley sure what the problem is. Have you followed these
steps?

> >I would really suggest looking at
> >http://linuxvirtualserver.org/Joseph.Mack/mini-HOWTO/LVS-mini-HOWTO-5.html
> >or the HOTWO itself as it has detailed information on how to configure
> >the system.
> >
> >
> >Briefly:
> >
> >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.
> >
> >e.g.
> >
> >/sbin/iptables -t nat -A POSTROUTING -s 192.168.61.0/24 -j MASQUERADE

-- 
Horms


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