MTR: Difference between revisions

From Acenet Knowledgebase
Jump to navigation Jump to search
No edit summary
Line 46: Line 46:
</syntaxhighlight>
</syntaxhighlight>


Within Windows, you will need to run WinMTR as Administraotr, and enter the host/IP in the Host box, then hit the Start button.
Within Windows, you will need to run WinMTR as Administrator, and enter the host/IP in the Host box, then hit the Start button.

Revision as of 14:49, 25 March 2015

MTR is a powerful network diagnostic tool which combines the power of both Ping and Traceroutecommands. It enables a server administrator to diagnose and isolate network errors and provide helpful network status reports.

Installing MTR

CentOS/Fedora

<syntaxhighlight lang="bash"> yum update yum install mtr </syntaxhighlight>

Debian/Ubuntu

<syntaxhighlight lang="bash"> apt-get update apt-get upgrade apt-get install mtr-tiny </syntaxhighlight>

Windows

There is a Windows port of MTR available [here http://sourceforge.net/projects/winmtr/]

Mac OS X

If you’re running a Mac OS X workstation, you may install MTR with either [Homebrew http://brew.sh], or [MacPorts http://www.macports.org].

To install MTR with Homebrew, run: brew install mtr

To install MTR with MacPorts, run: port install mtr


Generating an MTR report

Since MTR provides a view of the route traffic takes from one host to another, you can think of it as a directional tool. The route between two points on the Internet can vary a great deal based on location and the routers that are located upstream of you. For this reason Acenet collects MTR reports in both directions for all hosts that are experiencing connectivity issues, or as many hosts as possible.

Acenet support will request “mtr reports” both to and from your domain/server if you are experiencing networking issues. This is because MTR reports will not point to errors from one direction when there is still a problem from the opposite direction. Having both reports is necessary to aid in the identification of issues and will be needed if a problem must be reported.


On a Linux or Mac OS X server, you can generate a report using the following

<syntaxhighlight lang="bash"> mtr --report [destination_host] </syntaxhighlight>

For example, to test the route and connection quality of traffic to google.com, you would run the following <syntaxhighlight lang="bash"> mtr --report google.com </syntaxhighlight>

Within Windows, you will need to run WinMTR as Administrator, and enter the host/IP in the Host box, then hit the Start button.