traceroute
NetworkFundamentalsReference onlyShow the route packets take to a host
Name: traceroute: trace the route
This command is outside what the site lets you practise (mostly distribution-specific or rarely used tools). This page describes how to use it; try it on your own Linux system.
Description
traceroute shows each router hop between you and a host, with delays, revealing where the network slows or breaks. A * hop just means that router didn't answer, not necessarily a fault.
Syntax
traceroute [OPTION]... HOSTCommon options
| -n | Don't resolve names; faster |
| -m MAX_TTL | Maximum hops |
| -I | Use ICMP (like ping) instead of UDP |
| -T | Use TCP SYN (port 80 by default; gets through more firewalls) |
| -p PORT | The destination port |
| -w WAIT | Seconds to wait at each hop |
| -q NQUERIES | Probes per hop (3 by default) |
Examples
$ traceroute example.com
Find where the network slows down
Explain