How to trace route Print E-mail
User Rating: / 0

If your network is running slowly or you would simply like to view the path packets take to a specified server you can use a trace route command.

This tutorial will show you how. 

 Windows Users


 First we need to open a command/terminal window. 

You can open a command window from the start menu, just click Start and then Run. Alternatively you can hold down the windows key and press the R key.


Run Dialog
Here's the run dialog.


So, now press OK or hit enter on your keyboard.

We get the command prompt :

Command prompt
Stand command prompt. The bit before the > will be the location of you user directory.


Now you need to type in 'tracert'.

The route will now be traced, you will see each hop the traffic takes to it's destination as well as the time this hop took.

The first line is the first hop and so forth. 

 You can also trace a route to an IP address, for example 'tracert'.


 Linux Users


If you are using linux, the command to trace route is very similar to windows.

Firstly, if you are using a DWM, open a terminal window, this is different for different distributions and window managers, so I won't go into it here.

Now enter the command 'traceroute'

Again, you can of course trace to an IP address, example; 'traceroute '.


Uses of Trace Route 


So, what is the use of this?

Using trace route can be very useful for network troubleshooting and diagnostics.

By seeing the path our packets take to a particular server, we can see all the devices the traffic passes through.

This can be used to find out, for example, if a firewall between us and the destination is dropping packets, or if a device is responding slowly.

In a large company network for example, we may have several possible paths to a specific destination. Trace route will allow us to see which paths we are currently using. 




Next >