From 4d0dc77896ac630e4388a3e874d30864cac36a95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Babi=C4=8D?= Date: Fri, 16 Apr 2021 20:48:09 +0200 Subject: [PATCH] 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> --- pages/linux/tracepath.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/tracepath.md diff --git a/pages/linux/tracepath.md b/pages/linux/tracepath.md new file mode 100644 index 0000000000..b397935ffb --- /dev/null +++ b/pages/linux/tracepath.md @@ -0,0 +1,28 @@ +# tracepath + +> Trace the path to a network host discovering MTU along this path. +> More information: . + +- 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}}`