Fortune Telling Collection - Comprehensive fortune-telling - PING command calculates the number of routes!

PING command calculates the number of routes!

The TTL value can be used to calculate how many routers the packet has passed: the TTL starting value at the source position (that is, slightly greater than the power of 2 of the TTL returned)-the TTL value at the time of return. For example, if the TTL value returned is 1 19, it can be inferred that the TTL starting value of the datagram leaving the source address is 128, and the source point has to go through 9 router segments (128-19); If the TTL value returned is 246, the TTL starting value is 256, and the source point to the destination point must go through 9 router segments.