I am playing around with Wireshark by doing tracerts and then looking in wireshark to analyze the ICMP protocol and something is puzzling me.
Why is it that when the routers send my machine ICMP Time-to-live exceeded messages, they all have various different time to live amounts?
I am doing a tracert from my computer to
www.pingplotter.com. There are 10 hops from my machine to
www.pingplotter.com. at each hop, i get a message back (ICMP Time to live exceeded message) but each router has different settings for TTL on these return messages. Why is that? (255, 63, 253, 252, 250, 249, 249, 248, and 244).
reading about tracert, i see that it works by sending an IP Datagram with a time to live = 1. The first hop sends me back an ICMP Time-to-live exceeded message with time to live of 255.
Then my machine sends an IP Datagram with a time to live = 2. The second hop sends me back an ICMP Time-to-live exceeded message with time to live of 63
my machine sends an IP Datagram with time to live = 3. The third hop sends me back an ICMP Time to live exceeded message with time to live of 253
etc....
at each hop these values are different but consistent from each particular router. Is this a setting or is there some logic behind this value coming from each of the different hops?
255 TTL setting (router that is one hop away),
63 (router that is two hops away,
253 (router that is three hops away,
252 (router that is 4 hops away),
etc...
250, 249, 249, 248, and 244).
Start Free Trial