MTR: a network diagnostic tool for Linux


If you did not know this tool, today we will talk about MTR (Matt's TraceRoute). It is a multiplatform command line tool (available for Linux), written in C, free, and with which you can monitor certain aspects of your network and also diagnose connection problems. It combines the functions of two other well-known network tools, such as traceroute and ping.

That is, as if you had those two tools in one, only with MTR you will still see more information than with traceroute. In fact, you will be able to see the path to a remote machine, but also the response percentages (ping), and times in each of the network lakes in the route drawn between the remote system and the local one.

When MTR is run, will test the network connection from local to the remote host you specified. It will first set the address of each network hop (bridges, routers, gateways, etc.), and then ping, that is, send a sequence of ICMP ECHO requests to each of those hops to determine the response time . While this is happening, it will generate useful statistics about each machine and they will be updated in real time, showing interesting information on the screen.

MTR is in the repos of the most popular distros, therefore, you can use the mtr name of the package with your favorite package manager to install it. Once you have it installed, its execution is simple. You can use it with machine domain names (,, ...) or with IPs. In addition, it has many options to modify its output and get just what you are looking for.

By example, here are some sample commands so you can see how easy it is to use:


mtr -n

mtr -m 35

mtr -r -c 5 > informe.txt

Recuerda que<strong> para salir del modo interactivo</strong> puedes pulsar la tecla Q o Ctrl+C.

Y para <strong>más información</strong> sobre opciones:

man mtr

More information - MTR

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

Be the first to comment

Leave a Comment

Your email address will not be published.



  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.