tldr/pages/linux/tracepath.md
Peter Babič 4d0dc77896
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>
2021-04-16 20:48:09 +02:00

689 B

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}}