← Knowledge Base
NetworkingReference note1 min read · updated 2026-11-27

ping, traceroute and mtr: where is the problem

Test reachability, latency and the path to a host, and read the results correctly.

pingtraceroutemtrtroubleshooting
ping -c 4 1.1.1.1            # reachability by IP: tests routing without DNS
ping -c 4 example.org        # also tests DNS
traceroute example.org       # hops to the destination (Windows: tracert)
mtr -rwc 50 example.org      # ping + traceroute with loss statistics (apt install mtr-tiny)

Method: ping a public IP (works?) → ping a name (DNS works?) → ping the default gateway (ip route) → check the local interface. Hops that show * * * are often routers that do not answer probes and are not a problem on their own; look at loss and latency at the final hop. Many hosts block ping (ICMP), so a failed ping does not always mean "down": test the actual service with curl or nc -vz host port.