Can't ping through default gateway
Posted
by
Andrew G.H.
on Super User
See other posts from Super User
or by Andrew G.H.
Published on 2013-10-27T20:49:24Z
Indexed on
2013/10/27
21:56 UTC
Read the original article
Hit count: 316
I have the following configuration:
Routing table on M3 is:
Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth1 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.3.0 0.0.0.0 255.255.255.192 U 0 0 0 eth0
Routing table on M1 is:
Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
So basically M3's gateway is M1, and M1's gateway is M2's wireless internet interface. If I ping 8.8.8.8 from M1, everything is ok, replies are received. Pinging from M1 to M3 and viceversa is also possible.
I have configured M1 as gateway trafic forwarder using firestarter package and stopped firewall with it.
iptables policies are ACCEPT for everything.
Problem: I have tried ping-ing ip 8.8.8.8 from M3 but without success.
What could be the source of this problem?
© Super User or respective owner