Networking

Using MTR

MTR is a powerful network diagnostic tool that enables administrators to diagnose and isolate networking errors and provide helpful reports of network status to upstream providers. MTR represents an evolution of the traceroute command by providing a greater data sample, as if augmenting traceroute with ping output.

MTR For Mac

If you have not already installed MTR, you can get a self installer here.

1) Open a Terminal

2) Enter the following command:

sudo /usr/local/sbin/mtr -r example.com  

Please note, you may be asked to enter your password for your Mac. This is normal.

Where example.com would be replaced with the server host, ip address or the domain of the site you wish to check.

 

MTR For Windows

MTR is built into Linux, however, it is not built into Windows. There is however a tool called WinMTR, that allows you to do the same thing as its Linux based sister.

You can download WinMTR by clicking here.

Below we will cover basic use of WinMTR.

1) Open WinMTR

2) Enter the server name or IP address of your server, or the server you wish to check.

3) Click the Start button

3a) You can copy the data to your clipboard by clicking Copy Text to clipboard. You could then paste it into an email or ticket for tech support to review.

If you wish to see more information about a certain hop, double click on the hostname to show the host properties window.

MTR For Linux

Note: The MTR command is built into most Linux distributions.

Below we will cover basic use of MTR.

1) Open a Terminal

2) Enter the following command.

mtr -r example.com 

Where example.com would be replaced with the server host, ip address or the domain of the site you wish to check.

This will take a few moments to complete (max of 60 seconds).

3) You can copy the data to your clipboard by selecting the information and then right clicking and selecting Copy. You could then paste it into an email or ticket for tech support to review.

 

Below we will cover what each column of the results mean…

  • Hostname
    • This is the hostname of the hop.
  • Nr
    • This shows you the hop number.
  • Loss
    • This shows you the percentage of the pings that have been lost compared to received.
  • Sent/Snt
    • This shows you the total pings that have been attempted.
  • Recv
    • This shows you the number of suspenseful pings that have been received.
  • Best
    • This shows you the best ping response time out of all the attempts.
  • Avrg
    • This shows you the average response time of the ping attempts.
  • Worst
  • This shows you the worst response time of all the ping attempts.
  • Last
    • This shows you the response time of the last ping attempt
  • StDev
    • This shows you the amount of deviation between ping requests.

Related Articles

  • Adding IP’s to Windows Server 2012

    This article will help you add one or more IP’s to windows server 2012.   To start, look on the bottom right of the your display to find a icon...
  • Check IP’s Hitting Server

    Let’s say your website is running pretty slow and you think it may be an attack of some sort, you can run the following commands to get a nice and...
  • Add IP to CentOS 5/6

    If you recently got a secondary IP block for your server but you do not know how to bind the secondary IP address, please follow the steps below:   First, run...