Ping reply not getting to LAN machines but getting in Linux router Gateway
- by Kevin Parker
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.