Using mtr

Sometimes that ping and traceroute command doesn’t work due to network security reasons:

https://www.linux.com/news/ping-icmp-vs-arp

Note: I couldn’t get arping to work either.

That’s where mtr can come in handy. mtr is a combination of the ping and traceroute command.

$ yum install mtr

Then do:

$ mtr codingbee.net

This starts up a text based display (a bit like how the top command does) that is constantly refreshing. It looks something like this:

                                     My traceroute  [v0.85]
localhost.localdomain (0.0.0.0)                                         Tue Jul 25 21:33:31 2017
Resolver: Received error response 2. (server failure)er of fields   quit
                                                        Packets               Pings
 Host                                                 Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. 10.0.2.2                                           0.0%    13    1.1   1.4   1.0   2.3   0.0
 2. BrightBox.ee                                       0.0%    13   13.9  10.4   3.9  33.9   8.1
 3. ???
 4. 213.121.98.129                                    90.9%    12   24.9  24.9  24.9  24.9   0.0
 5. 213.121.98.128                                     0.0%    12   13.5  13.8  10.6  30.7   5.7
 6. 87.237.20.138                                      0.0%    12   11.8  12.3  11.3  14.7   1.0
 7. bbr01.lon01.networklayer.com                       0.0%    12   12.8  16.0  12.1  32.9   6.6
 8. ae5.cbs02.tg01.lon01.networklayer.com              0.0%    12   14.7  16.3  13.0  28.1   5.4
 9. ae18.dar02.lon02.networklayer.com                  0.0%    12   17.7  14.9  11.5  29.9   4.9
10. po2.fcr01a.lon02.networklayer.com                  0.0%    12   12.9  14.0  12.8  15.7   0.7
11. ukbizlxc6.sgvps.net                                0.0%    12   14.1  13.3  11.8  14.3   0.4
12. ip-77-104-171-177.siteground.com                   0.0%    12   12.3  15.2  11.5  35.9   6.7