snippetbashTip
tracepath — Trace the path to a network host discovering MTU along this path. More information: <https://manned.
Viewed 0 times
thecommandtracepathnetworkclihosttracepath
linux
Problem
How to use the
tracepath command: Trace the path to a network host discovering MTU along this path. More information: <https://manned.org/tracepath>.Solution
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}}Code Snippets
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}}Context
tldr-pages: linux/tracepath
Revisions (0)
No revisions yet.