Trace the network path to a host
Build a paste-ready command, then review its compatibility and effects before running it.
Complete required fields to copy the generated command.
Compatibility
Linux + macOSVerified for Linux, macOS using posix, bash, zsh syntax.
Operational knowledgereview due 2027-01-19
Requirementstraceroutetraceroute must be installed and available on PATH.Network accessThe target must be reachable from the current environment.
Version supporttraceroute Current supported releasesVerified for linux, macos using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalstraceroute to example.com (93.184.216.34), 30 hops maxRepresentative successful output; values vary with the selected target and system state.
Known errorstraceroute: command not foundtraceroute is missing or is not available on PATH.
Verifytraceroute {{host}}The output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01tracerouteCommandRuns the traceroute stage of this one-liner.
02<host>ParameterA value supplied in the Fill parameters section.
Example input
traceroute example.com
Example output
traceroute to example.com (93.184.216.34), 30 hops max
1 gateway (192.168.1.1) 1.132 ms 0.944 ms 0.901 ms
2 10.20.0.1 (10.20.0.1) 5.843 ms 5.701 ms 5.662 ms
3 203.0.113.9 (203.0.113.9) 18.492 ms 18.305 ms 18.270 ms
4 example.com (93.184.216.34) 19.107 ms 18.984 ms 18.921 ms
Illustrative output — exact values vary by system and data.
Runbooks
Official sources