Network Support | TRACERT

You can use the TRACERT utility to determine the route that a packet may take to get from one device to another (if a route exists). You can also use this utility to determine the time that it takes the packet to reach routers and to identify Sluggish spots on the route.

The TRACERT utility uses interesting technology. If you analyze packets sent by the TRACERT utility, you will find that it uses the TTL counter to locate the route to another device.



When you run the TRACERT utility, it instructs the workstation to send a packet with a TTL count of 1 to the destination device. when this packet reach the local router, it discards the packet because the router cannot decrement the  TTL count to 0 and forward the packet. The router then sends an ICMP destination unreachable packet to the workstation.

This reply packet gives the workstation the IP address of the first router in the route. The workstation then send the same packet with a TTL of 2. The local router decrements the TTL count to 1 and forwards the packet.

The next router cannot decrement TTL count to 0 and forward the packet; so this router then sends an ICMP destination unreachable packet back to the workstation. This reply packet provides the IP address of the second router in the route.

The workstation continues incrementing the TTL count on each successive transmission until the workstation receives a reply back from the destination device.

you use the following syntax to launch  TRACERT utility:

TRACERT [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name

The parameter explain below:


  • -d: Use this parameter if you do not want to resolve addresses to host names.
  • -h: maximum_hops Use this parameter to determine the maximum number of hops to search for.
  • -j: host-list Use this parameter to test loose source route along host list. This test specifies certain devices a packet must cross to reach a destination. this test does not specify the exact route, which can include other devices.
  • -w: timeout Use this parameter to determine timeout milliseconds. Timeout determines how long the device waits for each reply. 

Post a Comment

http://www.basicnetworking.org/

Copyright © Basic Networking | Terms and Conditions | Privacy Policy