1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/traceroute.md

33 lines
664 B
Markdown
Raw Normal View History

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