cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1970
Views
5
Helpful
4
Replies

traceroute interview question

Hello guys,

 

                 When we trace route one ip address why it show 3 packets with 3 different types of ms value on every hop. Please explain .It is interview question . 

4 Replies 4

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Abhishek,

>> When we trace route one ip address why it show 3 packets with 3 different types of ms value on every hop. Please explain .It is interview question . 

 

Because traceroute discovery actually makes three attempts for each TTL value to find out intermediate router hops.

This allows to see if there are some alternative next-hops in the path.

Even if a single path / single next-hop exists it reports the results of each attempt so you see three measures of delay expressed in ms for each hop.

The delay measure is possible for the presence of timestamps in the probe packets.

After having done the three attempts the router will increment the TTL by 1 before sending other three probes and so on until the final destination is reached or the maximum number of hops is reached (default to 30).

Actually also the UDP destination port is incremented.

See the link below:

https://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-software-releases-121-mainline/12778-ping-traceroute.html#traceroute

 

 

Hope to help

Giuseppe

 

luis_cordova
VIP Alumni
VIP Alumni

Joseph W. Doherty
Hall of Fame
Hall of Fame
In addition to what other posters have noted, BTW, using 3 probe packets is a default setting. I.e. you can do more or less, if you configure the number of probes to be used.

Joseph W. Doherty
Hall of Fame
Hall of Fame
I'm unaware of any show commands that would answer your questions.

Could you expand upon why you have these questions?
Review Cisco Networking for a $25 gift card