1TRACEPATH(8) System Manager's Manual: iputils TRACEPATH(8)
2
3
4
6 tracepath, tracepath6 - traces path to a network host discovering MTU
7 along this path
8
10 tracepath [-n] [-b] [-l pktlen] [-m max_hops] [-p port] destination
11
12
14 It traces path to destination discovering MTU along this path. It uses
15 UDP port port or some random port. It is similar to traceroute, only
16 does not require superuser privileges and has no fancy options.
17
18 tracepath6 is good replacement for traceroute6 and classic example of
19 application of Linux error queues. The situation with IPv4 is worse,
20 because commercial IP routers do not return enough information in ICMP
21 error messages. Probably, it will change, when they will be updated.
22 For now it uses Van Jacobson's trick, sweeping a range of UDP ports to
23 maintain trace history.
24
26 -n Print primarily IP addresses numerically.
27
28 -b Print both of host names and IP addresses.
29
30 -l Sets the initial packet length to pktlen instead of 65535 for
31 tracepath or 128000 for tracepath6.
32
33 -m Set maximum hops (or maximum TTLs) to max_hops instead of 30.
34
35 -p Sets the initial destination port to use.
36
38 root@mops:~ # tracepath6 3ffe:2400:0:109::2
39 1?: [LOCALHOST] pmtu 1500
40 1: dust.inr.ac.ru 0.411ms
41 2: dust.inr.ac.ru asymm 1 0.390ms pmtu 1480
42 2: 3ffe:2400:0:109::2 463.514ms reached
43 Resume: pmtu 1480 hops 2 back 2
44
45 The first column shows TTL of the probe, followed by colon. Usually
46 value of TTL is obtained from reply from network, but sometimes reply
47 does not contain necessary information and we have to guess it. In this
48 case the number is followed by ?.
49
50 The second column shows the network hop, which replied to the probe.
51 It is either address of router or word [LOCALHOST], if the probe was
52 not sent to the network.
53
54 The rest of line shows miscellaneous information about path to the cor‐
55 respinding network hop. As rule it contains value of RTT. Addition‐
56 ally, it can show Path MTU, when it changes. If the path is asymmetric
57 or the probe finishes before it reach prescribed hop, difference
58 between number of hops in forward and backward direction is shown fol‐
59 lowing keyword async. This information is not reliable. F.e. the third
60 line shows asymmetry of 1, it is because the first probe with TTL of 2
61 was rejected at the first hop due to Path MTU Discovery.
62
63 The last line summarizes information about all the path to the destina‐
64 tion, it shows detected Path MTU, amount of hops to the destination and
65 our guess about amount of hops from the destination to us, which can be
66 different when the path is asymmetric.
67
69 traceroute(8), traceroute6(8), ping(8).
70
72 tracepath was written by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>.
73
75 No security issues.
76
77 This lapidary deserves to be elaborated. tracepath is not a privileged
78 program, unlike traceroute, ping and other beasts of this kind. tra‐
79 cepath may be executed by everyone who has some access to network,
80 enough to send UDP datagrams to investigated destination using given
81 port.
82
84 tracepath is part of iputils package and the latest versions are
85 available in source form at http://www.skbuff.net/iputils/iputils-cur‐
86 rent.tar.bz2.
87
88
89
90iputils-160308 TRACEPATH(8)