Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

If two machines are on the same network, as in, they both are connected to the same default gateway, does sending out a ping from one machine to the other make the other reply with a TTL value decremented by 1 or by 0?

share|improve this question

migrated from Dec 9 '12 at 7:58

This question came from our site for professional and enthusiast programmers.

How is this a programming question? – Ken White Dec 9 '12 at 4:49

TTL decreases with each hop from one machine to another until the destination is reached. It basically counts the number of machines on the route from source to destination. The reply (pong) is a completely different message with new TTL that has no relation to the ping message. The reason for that is that the ping-pong is an application layer interaction and TTL belongs to transport layer of the network OSI Model.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.