This step-by-step guide will cover how to configure two basic troubleshooting tools, Traceroute and MTR, in different operating systems.


Traceroute

Traceroute for Windows

  1. Open the command prompt. Go to Start > Run.
  2. In the command prompt, type: tracert hostname.
  3. You may have to wait up to a minute or more for the test to complete.
  4. Check for any significant differences in latency (measured in milliseconds (ms) . 

Traceroute for Mac OS X

  1. Launch Network Utility.
  2. Click Traceroute.
  3. Enter the domain name for which you want to perform a traceroute.
  4. Click Trace.

My Traceroute (MTR)

MTR for Windows

  1. Download the tool from the WinMTR projects. Save the file and open the application “WinMTR” inside.

  2. Enter the name of the website you are having performance problems within the “Host:” box as shown below. If you don’t have problems with a specific site, you can use www.google.com
  1. Click the “Start” button. Let the trace run until the “Sent” column increments to 50 or higher, then click “Stop.” This should take around one minute to complete.
  1. If there are issues with your internet service provider, you should raise a ticket with them and provide the copy of the results.  



  2.  If you want to learn more about the MTR tool and what the numbers mean, you can read more at Reporting Packet Loss

MTR for Linux

  1. MTR is available for nearly all Linux and other UNIX-like operating systems via standard package managers. For Redhat/Centos based OSs use the command “sudo yum install mtr” or for Debian based OSs such as Ubuntu and Mint, use “sudo apt-get install mtr”

  2. Open a terminal and run the command “mtr -rc 50 <website name>” where <website name> is replaced with the name of the site you are having problems with. If you are having general issues, you can use www.google.com here. This will take around one minute to run.
  1. If you want to learn more about the MTR tool and what the numbers mean, you can read more at Reporting Packet Loss

MTR For Mac OS

The process for installing MTR on Mac OS is a little more complex than you may be used to. You first need to install a package manager like MacPorts or Homebrew. This guide will show how to use Homebrew.

  1. To install Homebrew, open Terminal via (1) Finder > Applications > Utilities > Terminal or (2) via Spotlight Search, and enter the command below.

/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

This will then ask you to input your password to continue with the installation. You will then be prompted to press the Return(Enter) key.

Refer to the image below to confirm if you have successfully installed Homebrew: 

  1. Then install MTR by running the command:

brew install mtr

  1. Once mtr is installed, run the command: 

cd /usr/local/Cellar/mtr/0.92/sbin

  1. Make the mtr command available to your system by running:

sudo cp mtr /usr/local/bin

sudo cp mtr-packet /usr/local/bin/

  1. Restart Terminal (quit and reopen)
  1. Run sudo mtr 8.8.8.8 and you should receive an output like below. Copy and paste this into an email to [email protected]
  1.  If you want to learn more about the MTR tool and what the numbers mean, you can read more at Reporting Packet Loss
RECOMMENDED ARTICLES