Can't ping through default gateway
- by Andrew G.H.
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?