well, one of the input I forgot to say is, that both interfaces are
configured with static IP address
----- Original Message -----
From: "Chen Levy" <[EMAIL PROTECTED]>
To: "linux-il" <[email protected]>
Sent: Wednesday, February 07, 2007 6:13 PM
Subject: Re: ip_forwarding turned 0 after ~20 min.
It has been some time since I played with a RH 7.3 box, so I might be
speeking
out of my ass, but my guess is that the 20 min limit stems from the
default
dhcp lease time.
I guess some of the old RH network scripts do something funky with your
configuration files. IIRC, you can disable this via a variable in one of
the /etc/sysconfig/networking/* or /etc/sysconfig/network-scripts/* files.
I
can't recall which one. Sorry.
On Wednesday 07 February 2007 12:10:44 Chava Leviatan wrote:
Hi,
I have a RH 7.3 with 2 ethernet interfaces (eth0,eth1).
I set ip_forwarding to be 1 at /etc/sysctl.conf
The problem is that after a short period (20-30 min) , ip_forwarding
turned
down to 0 again . When I cat /proc/sys/net/ipv4/ip_forwarding I see 0 ,
and
the traffic stops moving from one interface to the other
I have also added a static route to one of the interfaces to reach a
subnet
that is lt gateway interface. That static route is added via " route add
-net ...." and not at boot time . When the ip_forwarding is set to 0 ,
that static route is removed as well.
It looks like the ip_forwarding is aged somehow.
Any ideas?
Thanks,
Chava
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]