tldr/pages/common/traceroute.md

33 lines
664 B
Markdown
Raw Normal View History

2014-02-24 16:36:37 +00:00
# traceroute
> Print the route packets trace to network host.
> More information: <https://manned.org/traceroute>.
2014-02-24 16:36:37 +00:00
- Traceroute to a host:
2014-02-24 16:36:37 +00:00
`traceroute {{example.com}}`
2014-02-24 16:36:37 +00:00
- Disable IP address and host name mapping:
2014-02-24 16:36:37 +00:00
`traceroute -n {{example.com}}`
2014-02-24 16:36:37 +00:00
- Specify wait time in seconds for response:
2014-02-24 16:36:37 +00:00
`traceroute --wait={{0.5}} {{example.com}}`
2014-02-24 16:36:37 +00:00
- Specify number of queries per hop:
2014-02-24 16:36:37 +00:00
`traceroute --queries={{5}} {{example.com}}`
- 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:
`traceroute --icmp {{example.com}}`