[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

How to turn on IP forwarding?

I'm trying to make the machine amito forward packets from machine
claremont to machine home.  Claremont pings amito and amito pings home,
but claremont doesn't ping home.  All these machines are directly
connected via ethernet claremont to amito on 192.168.10.x and amito to
home on 172.16.0.x.  I have IP forwarding turned on in amito:

	amito $ cat /proc/sys/net/ipv4/ip_forward

Claremont should have its gateway set up OK:
	claremont $ route
        Kernel IP routing table
        Destination     Gateway         Genmask         Flags Metric Ref    Use Iface    *        U     0      0        0 eth0     *          U     0      0        0 eth0
        default         amito.localdoma         UG    0      0        0 eth0
and should know where home is:

	claremont $ cat /etc/hosts
	# Do not remove the following line, or various programs
        # that require network functionality will fail.		localhost.localdomain localhost		amito.localdomain amito		claremont.localdomain claremont		home home.localdomain

What have I missed?

BTW: What is the host for?  How does it get into the routing table?

Thanks - jon

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]