Re: IP forwarding

Glynn Clements (glynn@sensei.co.uk)
Wed, 30 Sep 1998 20:17:21 +0100 (BST)


Neil Moore-Smith wrote:

> The two network cards are working. One is 194.200.135.12, the other is
> 192.168.0.1. From the machine itself, "GW", I can send and receive to both
> networks. But it does not appear to be forwarding/routing packets from
> other machines across the two interfaces. I checked the routing tables on
> all machines, they are OK.

The first thing to check is that IP forwarding hasn't been disabled by
the init scripts. Check that `cat /proc/sys/net/ipv4/ip_forward'
prints `1'.

> I compiled the kernel with IP Forwarding ON, and Firewall OFF. The routing
> daemon is running.

Do you need to run a routing daemon? If not, running one will only
make matters more complex, as you risk having it modify your routing
tables in interesting ways.

The other common cause of problems is that the routing tables on other
hosts aren't correct.

-- 
Glynn Clements <glynn@sensei.co.uk>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu