Interpretation of network command "Ping"

Is the following correct?

A returned ping value of 200msec accompanied by a TTL value
of 50 means that the actual round-trip flight time is 150msec.

Who is Participating?
firehawkConnect With a Mentor Commented:
The TTL value (time to live) can be subtracted from 255 and this will tell you how many hops (usually routers) that your ping packet traversed as it travelled the network.  A TTL value of 246 means that there were only 9 hops and that your packet didn't travel through very many routers.  A TTL value of 31 means that there were 224 hops and that your packet would have been dropped after 31 more routers.  Your 200ms value is the round trip time for a response packet to be received from the IP address you pinged.  PING (Packet INternet Groper) is usually used to see if an IP address can be reached.  Pinging is useful to see if you configured your own TCP/IP correctly.  You can also ping (or some other site) instead of its IP address and the IP address will be resolved by your DNS server.
sounds right to me.
wsd2Author Commented:

Your answer looks good, but one detail is missing.
Am I correct that the internet cancels the action if
the number of hops exceeds 255?

Yes, the routers will drop the packet after 255 hops.  This is to prevent a packet from traversing the network forever.  The hop count can also be changed.  However, it is normally set to 255 for ping packets.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.