Red Hat Bugzilla – Bug 319
linux is not routing
Last modified: 2008-05-01 11:37:48 EDT
I am using linux boxes as routers.
I have two NE2000 compatible card in each linux box.
I have done all the "ifconfig" and "route add" stuff.
Ping is working on all interfaces.
My problem is that even if the routes are there
( I have check with netstat -rn ),the linux box is not
as an exemple:
I have this problem when the linux box is receiving packet
on eth1 that are destinated to the LAN on eth0 ( from eth1
I am trying to
ping a host on eth0 LAN).
The packet are never sent to LAN on eth0.
But, it is working if received packets on eth1 are
destinated to eth0 interface itself ( from eth1 I ping the
IP address of eth0 interface) .
Do you have IP Forwarding enabled?
Run "cat /proc/sys/net/ipv4/ip_forward". It should print "1" if you
have IP Forwarding enabled.
IP forwarding was not enable on my system.