Ping reply not getting to LAN machines but getting in Linux router Gateway

Posted by Kevin Parker on Server Fault See other posts from Server Fault or by Kevin Parker
Published on 2012-10-10T06:25:57Z Indexed on 2012/10/10 9:40 UTC
Read the original article Hit count: 209

Filed under:
|
|

I have configured Ubuntu 12.04 as Gateway machine.its having two interfaces

 eth0 with ip  192.168.122.39(Static) and 

 eth1 connected to modem with ip address 192.168.2.3(through DHCP).

ip-forwarding is enabled in router box.

Client machine is configured as:

ip address 192.168.122.5 and gateway 192.168.122.39

Client machines can ping router box(192.168.122.39).but when pinged 8.8.8.8 reply is not reaching Client machines but in the tcpdump output on gateway i can see echo request for 8.8.8.8 but never echo reply.Is this because of 122.5 not forwarding request to 2.0 network.Can u please help me in fixing this.

© Server Fault or respective owner

Related posts about linux

Related posts about routing