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. Picture 1 of How to Traceroute
    Open Start
    Picture 2 of How to Traceroute
    . Click the Windows logo in the bottom-left corner of the screen. The Start menu will pop up.
  2. Picture 3 of How to Traceroute
    Type in command prompt. Doing this searches your computer for the Command Prompt program.
  3. Picture 4 of How to Traceroute
    Click
    Picture 5 of How to Traceroute
    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. Picture 6 of How to Traceroute
    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. Picture 7 of How to Traceroute
    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. Picture 8 of How to Traceroute
    Open Spotlight
    Picture 9 of How to Traceroute
    . Click the magnifying glass-shaped icon in the top-right corner of the screen to do so.
  2. Picture 10 of How to Traceroute
    Type in network utility. This will search your computer for the Network Utility program.
  3. Picture 11 of How to Traceroute
    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. Picture 12 of How to Traceroute
    Click Traceroute. It's a tab at the top of the Network Utility window.[3]
  5. Picture 13 of How to Traceroute
    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. Picture 14 of How to Traceroute
    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. Picture 15 of How to Traceroute
    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. Picture 16 of How to Traceroute
    Download the iNetTools app. Skip this step if you already have iNetTools installed on your iPhone. Open the
    Picture 17 of How to Traceroute
    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. Picture 18 of How to Traceroute
    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. Picture 19 of How to Traceroute
    Tap Trace Route. It's in the middle of the screen.
  4. Picture 20 of How to Traceroute
    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. Picture 21 of How to Traceroute
    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. Picture 22 of How to Traceroute
    Tap Start. It's in the top-right corner of the screen. iNetTools will begin tracing a route to your specified address.
  7. Picture 23 of How to Traceroute
    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. Picture 24 of How to Traceroute
    Download the PingTools app. Skip this step if you already have PingTools installed on your Android. Open the
    Picture 25 of How to Traceroute
    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. Picture 26 of How to Traceroute
    Open PingTools. Tap OPEN in the Google Play Store, or tap the PingTools app icon in your Android's App Drawer.
  3. Picture 27 of How to Traceroute
    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. Picture 28 of How to Traceroute
    Tap . It's in the top-left corner of the screen. A pop-out menu will appear.
  5. Picture 29 of How to Traceroute
    Tap Traceroute. This option is in the middle of the pop-out menu.
  6. Picture 30 of How to Traceroute
    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. Picture 31 of How to Traceroute
    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. Picture 32 of How to Traceroute
    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. Picture 33 of How to Traceroute
    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. Picture 34 of How to Traceroute
    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
    Picture 35 of How to Traceroute
    Terminal from the list of programs.
    1. You can also press Alt+Ctrl+T to open Terminal on most Linux distributions.
  2. Picture 36 of How to Traceroute
    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. Picture 37 of How to Traceroute
    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. Picture 38 of How to Traceroute
    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.
Update 04 March 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile