How to Traceroute

This wikiHow teaches you how to run a 'traceroute' command on your computer or smartphone. The 'traceroute' command allows you to track the different stops an IP packet makes between your computer and its destination, which is helpful in...
Method 1 of 5:

On Windows

  1. How to Traceroute Picture 1How to Traceroute Picture 1
    Open Start
    How to Traceroute Picture 2How to Traceroute Picture 2
    . Click the Windows logo in the bottom-left corner of the screen. The Start menu will pop up.
  2. How to Traceroute Picture 3How to Traceroute Picture 3
    Type in command prompt. Doing this searches your computer for the Command Prompt program.
  3. How to Traceroute Picture 4How to Traceroute Picture 4
    Click
    How to Traceroute Picture 5How to Traceroute Picture 5
    Command Prompt. It's at the top of the menu. Command Prompt will open.
  4. Determine a website for which you want to trace the route. For example, if you want to see a list of gateways between your computer and Facebook, you would use Facebook's website.
  5. How to Traceroute Picture 6How to Traceroute Picture 6
    Enter the "traceroute" command. Type in tracert website.com—making sure to replace website.com with the name and extension for your preferred website (e.g., facebook.com)—and press Enter.
    1. You don't need to provide the "https://" or "www." section of the website's address.
    2. If you have the website's IP address, you can use it instead of the URL.
  6. How to Traceroute Picture 7How to Traceroute Picture 7
    Review the results. Command Prompt will deliver up to 30 different gateways (also called "hops") through which the IP package passes. Once you see "Trace complete" appear below the list of hops, your trace has successfully run its course.
    1. If you see any blank trace entries, you can ignore them—they signify that the trace is being returned as a result rather than passing through a gateway.[1]
Method 2 of 5:

On Mac

  1. How to Traceroute Picture 8How to Traceroute Picture 8
    Open Spotlight
    How to Traceroute Picture 9How to Traceroute Picture 9
    . Click the magnifying glass-shaped icon in the top-right corner of the screen to do so.
  2. How to Traceroute Picture 10How to Traceroute Picture 10
    Type in network utility. This will search your computer for the Network Utility program.
  3. How to Traceroute Picture 11How to Traceroute Picture 11
    Open Network Utility. Double-click Network Utility near the top of the search results. Doing so will prompt the Network Utility window to open.[2]
  4. How to Traceroute Picture 12How to Traceroute Picture 12
    Click Traceroute. It's a tab at the top of the Network Utility window.[3]
  5. How to Traceroute Picture 13How to Traceroute Picture 13
    Enter a website's address. In the text box near the top of the window, type in the address (or IP address) of the website to which you want to trace a path.
    1. For example, to trace a path to wikiHow's website, you would enter wikihow.com here.
    2. You don't need to provide the "https://" or "www." section of the website's address.
  6. How to Traceroute Picture 14How to Traceroute Picture 14
    Click Trace. It's a blue button on the right side of the page. Doing so will prompt Network Utility to begin tracing the path to your selected website.
  7. How to Traceroute Picture 15How to Traceroute Picture 15
    Review the results. Traceroute will bring up a list of the gateways through which your trace travels on the way to its destination.
    1. If you see any blank trace entries, you can ignore them—they signify that the trace is being returned as a result rather than passing through a gateway.
Method 3 of 5:

On iPhone

  1. How to Traceroute Picture 16How to Traceroute Picture 16
    Download the iNetTools app. Skip this step if you already have iNetTools installed on your iPhone. Open the
    How to Traceroute Picture 17How to Traceroute Picture 17
    App Store, then do the following:
    1. Tap Search
    2. Tap the search bar.
    3. Type in inettools
    4. Tap inettools - ping,dns,port scan
    5. Tap GET next to iNetTools.
    6. Enter your Touch ID or Apple ID password.
  2. How to Traceroute Picture 18How to Traceroute Picture 18
    Open iNetTools. Tap OPEN in the App Store, or tap the radar display-shaped iNetTools app icon on one of your iPhone's Home Screens.
  3. How to Traceroute Picture 19How to Traceroute Picture 19
    Tap Trace Route. It's in the middle of the screen.
  4. How to Traceroute Picture 20How to Traceroute Picture 20
    Tap the "Host Name or IP Address" text box. You'll find this option near the top of the screen. Doing so brings up your iPhone's on-screen keyboard.
  5. How to Traceroute Picture 21How to Traceroute Picture 21
    Enter a website's address. Type in the address (or IP address) of the website to which you want to trace a path.
    1. For example, to trace a path to Google's closest server, you would enter google.com here.
    2. You don't need to provide the "https://" or "www." section of the website's address.
  6. How to Traceroute Picture 22How to Traceroute Picture 22
    Tap Start. It's in the top-right corner of the screen. iNetTools will begin tracing a route to your specified address.
  7. How to Traceroute Picture 23How to Traceroute Picture 23
    Review the results. Once the spinning wheel across from the "Result" heading disappears, you can review the address of each gateway through which your trace passed on its way to the destination.
    1. If you see any blank trace entries, you can ignore them—they signify that the trace is being returned as a result rather than passing through a gateway.
Method 4 of 5:

On Android

  1. How to Traceroute Picture 24How to Traceroute Picture 24
    Download the PingTools app. Skip this step if you already have PingTools installed on your Android. Open the
    How to Traceroute Picture 25How to Traceroute Picture 25
    Google Play Store, then do the following:
    1. Tap the search bar.
    2. Type in pingtools
    3. Tap PingTools Network Utilities in the results.
    4. Tap INSTALL
    5. Tap ACCEPT when prompted.
  2. How to Traceroute Picture 26How to Traceroute Picture 26
    Open PingTools. Tap OPEN in the Google Play Store, or tap the PingTools app icon in your Android's App Drawer.
  3. How to Traceroute Picture 27How to Traceroute Picture 27
    Tap ACCEPT when prompted. Doing so agrees to PingTools' terms of use and opens the app.
    1. If you've opened PingTools before, you might be able to skip this step.
  4. How to Traceroute Picture 28How to Traceroute Picture 28
    Tap . It's in the top-left corner of the screen. A pop-out menu will appear.
  5. How to Traceroute Picture 29How to Traceroute Picture 29
    Tap Traceroute. This option is in the middle of the pop-out menu.
  6. How to Traceroute Picture 30How to Traceroute Picture 30
    Tap the text box. It's at the top of the screen. Doing so will bring up your Android's on-screen keyboard.
    1. If a website's address is already in this text box, remove it before proceeding.
  7. How to Traceroute Picture 31How to Traceroute Picture 31
    Enter a website's address. Type in the address (or IP address) of the website to which you want to trace a path.
    1. For example, to trace a path to Twitter's closest server, you would enter twitter.com here.
    2. You don't need to provide the "https://" or "www." section of the website's address.
  8. How to Traceroute Picture 32How to Traceroute Picture 32
    Tap TRACE. It's in the top-right corner of the screen. Doing so will prompt PingTools to begin tracing a route to your selected address.
  9. How to Traceroute Picture 33How to Traceroute Picture 33
    Review the results. Once the trace is complete, you can review the address of each gateway through which your trace passed on its way to the destination.
    1. If you see any blank trace entries, you can ignore them—they signify that the trace is being returned as a result rather than passing through a gateway.
Method 5 of 5:

On Linux

  1. How to Traceroute Picture 34How to Traceroute Picture 34
    Open Terminal. This step will vary depending on your version of Linux, but most distributions will require you to open the Menu and then select
    How to Traceroute Picture 35How to Traceroute Picture 35
    Terminal from the list of programs.
    1. You can also press Alt+Ctrl+T to open Terminal on most Linux distributions.
  2. How to Traceroute Picture 36How to Traceroute Picture 36
    Install Traceroute. To do so:
    1. Type in sudo apt install traceroute and press Enter.
    2. Type in your password and press Enter.
    3. Type y and press Enter if prompted.
    4. Wait for Traceroute to install.
  3. Determine a website for which you want to trace the route. For example, if you want to see a list of gateways between your computer and YouTube, you would use YouTube's website.
  4. How to Traceroute Picture 37How to Traceroute Picture 37
    Enter the "traceroute" command. Type in traceroute website.com—making sure to replace website.com with the name and extension for your preferred website (e.g., youtube.com)—and press Enter.
    1. You don't need to provide the "https://" or "www." section of the website's address.
    2. If you have the website's IP address, you can use it instead of the URL.
  5. How to Traceroute Picture 38How to Traceroute Picture 38
    Review the results. Once the trace is complete, you can review the address of each gateway through which your trace passed on its way to the destination.
    1. If you see any blank trace entries, you can ignore them—they signify that the trace is being returned as a result rather than passing through a gateway.
4 ★ | 1 Vote