How to traceroute use mtr command in Linux

Use MTR command in Linux to view the traceroute report for a remote machine. As a network administrator, you need to learn the usage of mtr command to Diagnosing Network issues.

MTR command is a powerful tool to diagnose and isolate networking errors and provide reports of the network.

Install MTR command in Linux


sudo apt update && apt upgrade
sudo apt install mtr-tiny


sudo yum update
sudo yum install mtr


brew install mtr

The Syntax mtr command

$ mtr [domainName/IP]


[vagrant@DevopsRoles ~]$ mtr

The output as below

How to view hostnames and numeric IP addresses

[vagrant@DevopsRoles ~]$ mtr -b

The output as picture below

Enable Report Mode

[vagrant@DevopsRoles ~]$ mtr -r -c 10 >mtr-report-google

The output report as below

mtr command in linux


MTR command a network diagnostic tool. More information “$ man mtr” command in Linux.

, ,

About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.