tracepath Command on Linux: Trace Network Paths
The tracepath command on Linux traces a path between the host and a network address and tries to discover what the MTU (Maximum Transmission Unit) is. Tracepath is a good substitute for traceroute.
It also has a similar command for IPv6: tracepath6.
Example:
$ tracepath www.kernel.org 1: ns1.certificacaolinux.com.br (72.26.225.74) 0.306ms pmtu 1500 1: 72-26-224-1.meganetserve.net (72.26.224.1) 134.005ms 2: no reply 3: no reply 4: no reply 5: isc.sjc06.atlas.cogentco.com (154.54.13.218) 5.693ms 6: int-0-2-0.r1.pao1.isc.org (149.20.65.18) asymm 4 5.010ms 7: pub2.kernel.org (204.152.191.37) asymm 5 3.635ms reached Resume: pmtu 1500 hops 7 back 5
It tries to find the average response time of each step in the path and returns the final MTU, the number of hosts for packets to go from the host to the destination and tries to predict the number of hosts from the destination to the host if the route is asymmetric (there is more than one path).
Learn much more about Linux in our online course. You can enroll here. If you already have an account, or want to create one, just log in or create your user here.
Liked it? Share
That was just one piece. The course teaches the whole path — from your first command to exam day.