What is MTR & How to Use to Troubleshoot & Test your Connections Print

  • MTR
  • 4

What is mtr

As mtr starts, it investigates the network connection between the host mtr runs on and a user-specified destination host. After it determines the address of each network hop between the machines, it sends a sequence of ICMP ECHO requests to each one to determine the quality of the link to each machine. As it does this, it prints running statistics about each machine.

There are three ways to install mtr on Ubuntu 18.04 or 20.04. We can use apt-getapt and aptitude. In the following sections we will describe each method. You can choose one of them.


Install mtr Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install mtr using apt-get by running the following command:

sudo apt-get -y install mtr

How to test connection




This brings us to the end of this article where we have discussed the MTR tool which is a network troubleshooting tool that combines both the ping and traceroute utilities.

Was this answer helpful?

« Back