2025-03-14 21:59:59 -06:00
|
|
|
# traceroute
|
|
|
|
|
|
|
|
|
|
> Print the route packets trace to network host.
|
|
|
|
|
> More information: <https://manned.org/traceroute>.
|
|
|
|
|
|
|
|
|
|
- Traceroute to a host:
|
|
|
|
|
|
|
|
|
|
`traceroute {{example.com}}`
|
|
|
|
|
|
|
|
|
|
- Disable IP address and host name mapping:
|
|
|
|
|
|
|
|
|
|
`traceroute -n {{example.com}}`
|
|
|
|
|
|
|
|
|
|
- Specify wait time in seconds for response:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`traceroute {{[-w|--wait]}} {{0.5}} {{example.com}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Specify number of queries per hop:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`traceroute {{[-q|--queries]}} {{5}} {{example.com}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Specify size in bytes of probing packet:
|
|
|
|
|
|
|
|
|
|
`traceroute {{example.com}} {{42}}`
|
|
|
|
|
|
|
|
|
|
- Determine the MTU to the destination:
|
|
|
|
|
|
|
|
|
|
`traceroute --mtu {{example.com}}`
|
|
|
|
|
|
|
|
|
|
- Use ICMP instead of UDP for tracerouting:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`traceroute {{[-I|--icmp]}} {{example.com}}`
|