1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 20:46:00 +02:00

tracepath: add page (#5744)

* tracepath: add page

* Apply suggestions from code review

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>

* specify the preferred initial port

* explain initial destination port better

* include IPv6 usage use case

* Update pages/linux/tracepath.md

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
This commit is contained in:
Peter Babič 2021-04-16 20:48:09 +02:00 committed by GitHub
parent 01c4497b4f
commit 4d0dc77896
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

28
pages/linux/tracepath.md Normal file
View file

@ -0,0 +1,28 @@
# tracepath
> Trace the path to a network host discovering MTU along this path.
> More information: <https://manned.org/tracepath>.
- A preferred way to trace the path to a host:
`tracepath -p {{33434}} {{host}}`
- Specify the initial destination port, useful with non-standard firewall settings:
`tracepath -p {{destination_port}} {{host}} `
- Print both hostnames and numerical IP addresses:
`tracepath -b {{host}}`
- Specify a maximum TTL (number of hops):
`tracepath -m {{max_hops}} {{host}}`
- Specify the initial packet length (defaults to 65535 for IPv4 and 128000 for IPv6):
`tracepath -l {{packet_length}} {{host}}`
- Use only IPv6 addresses:
`tracepath -6 {{host}}`