I have two systems in my office LAN. One is running Fedora and the other windows 7. I can ping the windows machine from the Fedora machine but I am unable to ping the Fedora machine from windows machine. Whenever I ping the Fedora machine it gives a "Request timed out" I tried disabling the firewall on Fedora machine but it did't help. Please suggest what could be the problem here.
1 Answer
Ping replies are simply handled by an interrupt call in the Windows TCP/IP stack, therefore interaction with your server is quite limited. To send out the ping from Windows, though, it needs to know how to route the packet. Is your routing set up correctly? Can you see the network from your Windows box? Have you got the right IP address for your Fedora box?
(I edited this to get the Windows/Fedora thing the right way round, but the basic point remains the same - as has also been said, replying to a ping and sending a ping out are not the same)
-
There is no problem with the windows box because I can ping my windows box from my Fedora box. It is not working the other way round.– vjain27Commented Oct 7, 2011 at 21:23
-
The process of pinging and replying to a ping are different, hence the question about routing. My guess would be routing also. A ping reply just pushes the reply back out the same interface it came in on. So my guess is the Windows box routing is wrong.– PaulCommented Oct 9, 2011 at 11:55
cat /proc/sys/net/ipv4/icmp_echo_ignore_all
- does it show 1? Then doecho "0" >/proc/sys/net/ipv4/icmp_echo_ignore_all
and try ping again.