How to Use Tracert (Trace Route) Utility?

Published by: Alex George

The Tracert command (Trace Route) helps determine the path from your computer to the destination host by sending ICMP Echo Request messages.

Once the command finds the path to the destination, it will print it on the command prompt. Now you understand why the Trace Route (Tracert) utility is popular.


Tracert prints the route to the destination IP.


This tutorial covers the application of the Tracert (Trace route) utility in troubleshooting a connection problem.



How Does Trace Route (Tracert) Help To Fix Network Problems?

ICMP command Tracert is very helpful to troubleshoot network-related issues. It helps determine the network location where the actual cause of the issue is present.

Let us check how it works.

It sends ICMP Echo messages to the destination host and decrements its TTL value by one when it passes on each hop. When the packets pass each hop, it displays the path in the DOS window. So you can identify the route.



This feature helps to identify the actual cause of any network issue. So, it is a handy tool for every network Engineer to analyze and troubleshoot network issues. Let us check how to use this tool.



How to Print the Path To a Remote Device On Command Prompt?

The primary application of the Tracert utility is to trace and print the path to a remote server. Let me explain the procedure.

  1. Open Command Prompt.

  2. Type the following command and press the enter key.


    tracert remote IP


    Remote IP is the IP address or the domain name. You will see the path to the remote IP address from your computer.



A Practical Example of Printing Route To a Website

If you want to know the route of the server of www.corenetworkz.com from your computer, you can check it by typing the following code on the DOS prompt.



Tracert www.corenetworkz.com


You can see the result in the screenshot.


track the route to a website


We use the Tracert command to find the path and deliver the packets to the destination host from the source. Now, let us check the general syntax of the tracert command.




The general syntax is :

tracert [-d] [-h MaximumHops] [-j HostList] [-w Timeout] [TargetName]




Example: tracert -h 30 google.com

After pressing the enter key, we will have a complete trace of the packet sent. By default, it will go up to 30 hopes. If there is a connection issue, it will show the request timed out when the packet reaches the hop (the one with the problem).




No comments:

Post a Comment

Newer Post Older Post Home