can't forward
I am setting up a new gateway and it will not forward.
The gateway looks like:
eth0 10.0.0.2
eth1 10.0.1.1
eth2 10.0.2.1
---------------------
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
localnet * 255.255.255.0 U 0 0 0 eth1
10.0.2.0 * 255.255.255.0 U 0 0 0 eth2
default 10.0.0.1 0.0.0.0 UG 0 0 0 eth0
---------------------
cat /proc/sys/net/ipv4/ip_forward
1
---------------------
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
---------------------
I cannot ping from 10.0.2.2 through the gateway to 10.0.0.1
The gateway can ping both 10.0.2.2 and 10.0.0.1
from 10.0.2.2 a traceroute 10.0.0.1 shows that the packets are routed to
the correct gateway interface 10.0.2.1 but that is a far as they get.
What is the next step in diagnosing the problem. Did I forget something
silly?
~Michael
Reply to: