Jump to content
  • Advertisement
Sign in to follow this  
y2jsave

ping

This topic is 3708 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

if in a LAN , a ping from a computer called A to a router connected between computer B and computer C fails, does it tell us something about that router: that is, can we assume that the router has something wrong with it..............

Share this post


Link to post
Share on other sites
Advertisement
No. Many routers are set to silently drop certain (or all) ICMP messages, to reduce traffic and/or reduce the amount of information you can find out about the network.

Share this post


Link to post
Share on other sites
As the previous post said, most routers now-a-days silently ignore the ping and don't respond, makig it look like the router isn't there. If you get an ICMP error back, you might be able to assume there is an issue with the router, but again, some other routers will send an ICMP response to indicate an error and this is very normal.

If there are any TCP services enabled on the router, in which it listens, like a web interface or telnet/ssh, you can probably use a TCP ping (which is actually just a TCP SYN request) and get a much more reliable response. If it is working, it ACKs, if something happens you either get no response or an ICMP error, but this too is not 100% reliable.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!