Combined traceroute and ping utility (mtr)

MTR is a tool that combines the Unix/Linux traceroute and ping programs functionality in a single network diagnostic tool.

 

As mtr starts, it investigates the network connection between the host mtr runs on and certain HOSTNAME by sending packets with purposly low TTLs. It continues to send packets with low TTL, noting the response time of the intervening routers. This allows mtr to print the response percentage and response times of the internet route to HOSTNAME. A sudden increase in packetloss or response time is often an indication of a bad (or simply overloaded) link.

mtr

I found this utility very useful during troubleshooting packet loss issues. MTR helps to determine source of the problem much easier and fast. At the next screen you can see the results of mtr google.com -n command executed at my home laptop.

Please note that packetloss to intermediary router 72.14.232.102 is higher that to final destination 72.14.207.99.

 
 
» You might also be interested in the following articles:
Secure shell (ssh) session timeout
Ping range of IP addresses in parallel with fping
Network Traffic Generator: hping
Keep ssh session saved (Unix “screen” utility)
ptunnel: send/receive TCP traffic via ICMP reliably



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!

3 Responses to “Combined traceroute and ping utility (mtr)”


  1. 1 Dirk Gently

    hey! thanks for putting thisup. Needed to find out packet loss and couldn’t find any other utilities that didthis!

  2. 2 Polprav

    Hello from Russia

  3. 3 Theresa

    Superb Information, thanks for the useful Article. Really great topic to write about on my blog. I probably set a link from another site. $99 Laptop

Leave a Reply




Friendly Sites:Who is behind Linux Screw?
GeekyBits³ | Bash Cures Cancer | OMG! Ubuntu!
My SysAd Blog | Web Upd8
ZEPY | Linux config Wiki | Planet Sysadmin
a non-geek's linux notes | Linux Today
Linux HOWTOs, Tutorials & Projects with Adam Palmer | LinuxAlt.Com
My name is Artem N. (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››