Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 702
  • 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

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

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