Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a windows box with a wireless card (ip configured with a default gateway of (this is my linux laptop's wireless ip). From the Windows box I can ping my linux laptop both through its wireless and wired IP's but I cannot ping any of the other machines on the wired subnet ( to which my laptop is also connected. The linux configuration is as follows:

pp@think:~$ cat /proc/sys/net/ipv4/ip_forward

pp@think:~$ ip route
default via dev eth0  proto static dev wlan0  proto kernel  scope link  src  metric 2 dev eth0  proto kernel  scope link  src  metric 1 dev wlan0  scope link  metric 1000 dev virbr0  proto kernel  scope link  src 

pp@think:~$ sudo iptables -L FORWARD
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --       
ACCEPT     all  --  anywhere             anywhere     

Any ideas on what I might be missing here?

Update I had neglected to check the routes coming back to the Windows box. Once that was setup everything worked.

share|improve this question
You have to troubleshoot. Is the problem with the pings not getting to their destination or the ping replies not getting back? Does the gateway see the ping packets? Does it see the replies? (How do the machines on the wired subnet know where to send the reply packets? Is the gateway their default route?) – David Schwartz Sep 25 '12 at 17:32
Yes, it was the reply route not being setup properly. Thank you for your help. – samwise Sep 25 '12 at 18:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.