How to do a Traceroute on Windows, Linux and OSX

September 23, 2009 by iWeb Technologies in: Web Hosting Articles, iWeb Articles

We ask frequently customers to send us a traceroute and I thought it would be useful for a few to know how to use this command.

A traceroute is the tracking of a packet sent to a server. During its route, this packet goes through several network devices (routers, firewalls etc.) and then goes finally at the server. With the traceroute, you can see the IP as well as the response time between each barrier (router, firewall…).

We use then the traceroute to check the problem between your computer and the server. We can see quickly where the problem is and fix it.


Here are the steps for Windows and for OSX:

Windows : Start > Programs > Accessories > Command Line
or Start > Execute > type “cmd”

The command is: tracert
You can use this command with an IP adress as well:

Linux or Mac OSX: Applications > Utilities > Terminal
or Spotlight > type “Terminal”

The traceroute command is : traceroute
You can use this command with an IP adress as well:

Web : You can also use this Web tools on

4 comments tags: ,  | 


  1. Just a note: In English Windows, it’s Start -> Run. In Vista, you can type “cmd” into the box that appears when you click Start

    Also, once the user performs the first tracert to see how long it takes, they could do this:
    tracert > my.txt
    start my.txt

    That will launch the text file in the default application, making it easier to copy/paste that elsewhere, i.e. a reply to a ticket. ;-)

  2. hey Isaac, thanks for your great comments!

  3. Important note: By default, Windows traceroute uses ICMP. Linux/OSX/BSD use UDP.

    If you do not see your traceroute ends correctly, it may be because of the firewall on the server. Traceroute should work normally.

  4. Hi. You can also trace route online from multiple locations here