LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: ip_forward still set to 0

To: "'Wensong Zhang'" <wensong@xxxxxxxxxxxx>, "Shi, Eddie E" <eshi@xxxxxxxxxxxxxxxxx>, linux-virtualserver@xxxxxxxxxxxx
Subject: RE: ip_forward still set to 0
From: "Shi, Eddie E" <eshi@xxxxxxxxxxxxxxxxx>
Date: Fri, 8 Jan 1999 09:56:29 -0800
Wensong,
 Thanks for the info. So, the system will not set ip_foward by default even
if it
detects two interface cards. On Solaris2.x, it will set kernel variable
ip_forward
to 1 unless the file /etc/norouter exists.

Regards!

Eddie

-----Original Message-----
From: Wensong Zhang [mailto:wensong@xxxxxxxxxxxx]
Sent: Friday, January 08, 1999 3:09 AM
To: eshi@xxxxxxxxxxxxxxxxx; linux-virtualserver@xxxxxxxxxxxx
Subject: Re: ip_forward still set to 0


At 10:24 99-1-7 -0800, Eddie Shi wrote:
>Hi,
>  I set up one linux virtual server here and it works . The only problem
>I encountered was
>  my /proc/sys/net/ipv4/ip_forward still has 0 in the file. I am using
>Redhat 5.1 and brought a new 2.0.35 kernel to integrate virtual server
>to it. I have to manually modify ip_forward to 1.
>

If you like to use the GUI tool on RedHat-5.1, run the Control-Panel, then
choose the Network Configurator, enable the "IPv4 Network Packets
Forwarding" option in the Routing table.

If not, vi the /etc/sysconfig/network and set
        FORWARD_IPV4=yes

Finally, reboot your Linux box.

>  During the boot, I saw something like " set ip_forward off " ,"
>syscntl: failed ". Looks to me that the system tried to turn ip_forward
>on but failed. My system has two interface cards running on Pentium X86
>platform.
>
>
>  Thanks ahead for your attention.
>
>
>Eddie
>
>
>
>
>

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