Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Traceroute

Dear Netpros,

When executing TRACEROUTE command on router(without giving source IP address)..then by-default which IP of that router/L3 switch is working as source address , If this ip is the router-id or highest IP address of that device then what is the command to check or know the source ip(higest IP or router-id) which traceroute command is taking.

Second, what is the difference between that traceroute result from a PC(computer) and Router/L3 Switch. which one is preffered & why.

1 REPLY
Cisco Employee

Re: Traceroute

Traceroute will use the IP address which is closest to the destination as determined by the routing table. The tracert on Windows uses ICMP probes with low TTL values to get each hop in the path. When the final destination is reached, that destination will reply with an ICMP echo reply. IOS traceroute uses UDP packets with low TTL values. The port number used is 33434 (by default). The destination typically does not have anything bound to that port, so it will reply with a port unreachable ICMP message.

Typically, on the internet, ICMP gets blocked, so a UDP traceroute might be better. However, the real choice will be what you're trying to measure. If, for example, you want to measure latency between your PC, and another network node, then you would want to use a traceroute on the PC.

234
Views
0
Helpful
1
Replies