cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
31596
Views
5
Helpful
1
Comments
ITA Terms
Community Member

 

Introduction:

Traceroute is the program that shows you the route over the network between two systems, listing all the intermediate routers a connection must pass through to get to its destination. It can help you determine why your connections to a given server might be poor, and can often help you figure out where exactly the problem is. It also shows you how systems are connected to each other, letting you see how your ISP connects to the Internet as well as how the target system is connected.

 

Description:

 

The Traceroute Command on Cisco router:

 

The traceroute command is used to discover the routes that packets actually take when traveling to their destination. The device (for example, a router or a PC) sends out a sequence of User Datagram Protocol (UDP) datagrams to an invalid port address at the remote host.

 

Three datagrams are sent, each with a Time-To-Live (TTL) field value set to one. The TTL value of 1 causes the datagram to "timeout" as soon as it hits the first router in the path; this router then responds with an ICMP Time Exceeded Message (TEM) indicating that the datagram has expired.

 

Another three UDP messages are now sent, each with the TTL value set to 2, which causes the second router to return ICMP TEMs. This process continues until the packets actually reach the other destination. Since these datagrams are trying to access an invalid port at the destination host, ICMP Port Unreachable Messages are returned, indicating an unreachable port; this event signals the Traceroute program that it is finished.

 

 

Example: Router1#traceroute 198.168.1.1

 

If you're stuck with Windows, the command is called tracert. Open a DOS window and enter the command:

 

tracert server.name

 

 

On a Unix system, including Mac OS X, run a traceroute at the command line like this:

 

traceroute server.name

RFCs

Also See

Comments
Oleg Volkov
Spotlight
Spotlight

Hi.

Tracert (in windows) use ICMP instead UDP.

Also I make my own tracert use golang:

https://github.com/OlegPowerC/tracert

tracertgo.JPG

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: