Paul's Programming Notes     Archive     Feed     Github

Linux - Improving Traceroute Output

Usually when I use traceroute without any options, it gets stuck showing output like this:

 14   *  *  * 
 15   *  *  * 
 16   *  *  * 

For more info about why this is happening: Link

To improve this output, try adding -I (traceroute -I) to make it use ICMP ECHO instead of UDP for probes.

If you want better statistics about packet loss, you can also use a tool called mtr which combines traceroute and ping. If you’re on Ubuntu, you can install this with sudo apt-get install mtr.