Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 711
  • Last Modified:

Ping: Why is TTL different each time?

I now what TTL is and how it works, but I can't figure out why it's different each time I do a ping.

For example, when I ping various servers on our network the TTL time can be either 127 for server A and 254 for server B.

Doing a tracert to server A, I get 2 hops, and same thing for server B. Not sure if that's relevant.
0
pzozulka
Asked:
pzozulka
1 Solution
 
Gregory MillerGeneral ManagerCommented:
So is Server A a Windows box and Server B a different OS?

Seems that the Windows OS reduces the TTL from the starting value of 255 and subtracts 128 from it on the return trip. Linux subtracts 192 on the return trip. Each router along the path will decrement by one.

This article is a good explanation: http://openmaniak.com/ping.php#ping-ttl
0
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.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now