Linux "tracepath" Command Line Options and Examples
traces path to a network host discovering MTU along this path

It traces path to destination discovering MTU along this path. It uses UDP port port or some random port. It is similar to traceroute, only does not require superuser privileges and has no fancy options.


Usage:

tracepath [-n] [-b] [-l pktlen] [-m max_hops] [-p port] destination






Command Line Options:

-n
Print primarily IP addresses numerically.
tracepath -n ...
-b
Print both of host names and IP addresses.
tracepath -b ...
-l
Sets the initial packet length to pktlen instead of 65535 for tracepath or 128000 for tracepath6.
tracepath -l ...
-m
Set maximum hops (or maximum TTLs) to max_hops instead of 30.
tracepath -m ...
-p
OUTPUTroot@mops:~ # tracepath6 3ffe:2400:0:109::21?: [LOCALHOST] pmtu 15001: dust.inr.ac.ru 0.411ms2: dust.inr.ac.ru asymm 1 0.390ms pmtu 14802: 3ffe:2400:0:109::2 463.514ms reachedResume: pmtu 1480 hops 2 back 2The first column shows TTL of the probe, followed by colon. Usually value of TTL is obtained from reply fromnetwork, but sometimes reply does not contain necessary information and we have to guess it. In this case thenumber is followed by ?.The second column shows the network hop, which replied to the probe. It is either address of router or word[LOCALHOST], if the probe was not sent to the network.The rest of line shows miscellaneous information about path to the correspinding network hop. As rule it con‐tains value of RTT. Additionally, it can show Path MTU, when it changes. If the path is asymmetric or theprobe finishes before it reach prescribed hop, difference between number of hops in forward and backwarddirection is shown following keyword async. This information is not reliable. F.e. the third line shows asym‐metry of 1, it is because the first probe with TTL of 2 was rejected at the first hop due to Path MTU Discov‐ery.The last line summarizes information about all the path to the destination, it shows detected Path MTU, amountof hops to the destination and our guess about amount of hops from the destination to us, which can be differ‐ent when the path is asymmetric.
tracepath -p ...