An mtr report reads 55.0% loss at hop 2 and 0.0% at hops 3 and 4. It came from a test network built for the purpose, and the router at hop 2 forwarded every single packet it was given. What it refused to do was answer mtr’s questions about itself quickly. That distinction, between a router that drops traffic and a router that just won’t talk, is easy to miss on a screen full of percentages, and a support ticket built on the hop 2 number is a complaint about a problem that doesn’t exist.
The TTL trick, captured on the wire
Each probe is built to die one router further away
Every IP packet carries a Time to Live field, a counter that each router decrements. RFC 792, from September 1981, says that if a gateway “finds the time to live field is zero it must discard the datagram,” and the ICMP message it sends back has code 0, “time to live exceeded in transit.” The counter exists to keep looping packets from circling forever. Traceroute turned it into a measuring tape.
Van Jacobson’s original source file, dated “Tue Dec 20 03:50:13 PST 1988” and still mirrored at MIT, explains the idea in one line: “We find out intermediate hops by launching probe packets with a small ttl.” The modern Linux traceroute manual says the same thing at more length: it uses the TTL field and “attempts to elicit an ICMP TIME_EXCEEDED response from each gateway along the path to the host.”
To see it rather than take it on faith, a four-hop path was built on an Ubuntu 24.04 test container out of Linux network namespaces: a source, three routers (r1, r2, r3) with forwarding turned on, and a destination at 10.47.4.2. A packet capture on the source’s link during traceroute -n -q 1 -N 1 10.47.4.2 shows the whole conversation (timestamps trimmed):
IP 10.47.1.1.39804 > 10.47.4.2.33434: UDP, length 32
IP 10.47.1.2 > 10.47.1.1: ICMP time exceeded in-transit, length 68
IP 10.47.1.1.40427 > 10.47.4.2.33435: UDP, length 32
IP 10.47.2.2 > 10.47.1.1: ICMP time exceeded in-transit, length 68
IP 10.47.1.1.35484 > 10.47.4.2.33436: UDP, length 32
IP 10.47.3.2 > 10.47.1.1: ICMP time exceeded in-transit, length 68
IP 10.47.1.1.49789 > 10.47.4.2.33437: UDP, length 32
IP 10.47.4.2 > 10.47.1.1: ICMP 10.47.4.2 udp port 33437 unreachable, length 68
A verbose capture of an earlier run with two probes per hop shows the TTL climbing in pairs: two probes left with ttl 1, two with ttl 2, and so on up to 4. Each probe goes to a UDP port that nothing listens on; the manual calls 33434 the “unlikely” port of the first probe, “then for each next probe it is incremented by one.” Routers along the way answer “time exceeded.” The destination, which has no router job to do, answers “port unreachable” instead, and that different reply is how traceroute knows it has arrived.
One detail in that capture matters later. The address that answers for hop 2 is 10.47.2.2, the interface on r2 facing back toward the source. Traceroute learns which door of each building the reply came out of, not the building’s whole floor plan.

Traceroute vs mtr: same probes, different patience
One snapshot against a running tally
Traceroute sends three probes per hop by default (the manual: “The default is 3”), prints what came back, and exits. A missing reply prints as *. Annotations such as “!H, !N, or !P (host, network or protocol unreachable)” and “!X (communication administratively prohibited)” mark hard refusals.
The mtr manual describes its tool in one sentence: “mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.” It keeps probing every hop and keeps a running count. In report mode, it “will run for the number of cycles specified by the -c option, and then print statistics and exit.” The default interval is one second, and “The root user may choose values between zero and one.”
| traceroute | mtr | |
|---|---|---|
| Default probe | UDP to port 33434 and up (“Used by default”) | ICMP ECHO |
| Other probe types | -I ICMP ECHO, -T TCP SYN |
-u UDP, -T TCP SYN |
| Probes per hop | 3 by default, then exits | continuous; -c cycles in report mode |
| Output | one line per hop, per-probe times | loss %, sent, last, average, best, worst, standard deviation |
| Good for | a quick path snapshot | intermittent loss, latency over time |
Sources: traceroute(8), mtr(8).
Patience is what separates them in practice. A single traceroute can catch a router at a bad moment and print three stars. An mtr report built from a few hundred probes makes those moments into a percentage, which is better evidence and also easier to misread.
Why a middle hop shows loss that isn’t real
Routers forward in hardware and answer questions when they get around to it
Generating an ICMP error is extra work for a router, and the standards let routers ration it. RFC 1812, the 1995 router requirements document, says “A router SHOULD also be able to limit the rate at which it sends other sorts of ICMP error messages” and leaves the method open: “How the limits are applied (e.g., per router or per interface) is left to the implementor’s discretion.” Richard Steenbergen’s NANOG traceroute guide, last updated October 12, 2020, puts it more bluntly: “ICMP Generation is NOT a priority for the router.”
Linux routers do it too. The kernel’s ip-sysctl documentation defines icmp_ratelimit as the “minimal space between responses in milliseconds,” with a default of 1000, applied to the message types in icmp_ratemask. The default mask covers Destination Unreachable, Source Quench, Time Exceeded and Parameter Problem. Time Exceeded is on that list, while Echo Reply, the answer to mtr’s default probe at the destination, is left off.
That gives a clean experiment. On the test path, rate limiting was switched off on r1 and r3 and set to 250 ms on r2. Then mtr ran 100 cycles at a tenth of a second each, as root:
$ mtr -n -r -c 100 -i 0.1 10.47.4.2
HOST: vm Loss% Snt Last Avg Best Wrst StDev
1.|-- 10.47.1.2 0.0% 100 0.1 0.1 0.0 1.5 0.1
2.|-- 10.47.2.2 55.0% 100 0.1 0.1 0.0 0.1 0.0
3.|-- 10.47.3.2 0.0% 100 0.1 0.1 0.1 1.0 0.1
4.|-- 10.47.4.2 0.0% 100 0.1 0.1 0.0 0.2 0.0
Hop 2 shows 55 percent loss. Hops 3 and 4 sit behind hop 2 and show none, which is only possible if r2 forwarded every probe sent through it. The “loss” at hop 2 is r2 declining to write Time Exceeded replies faster than four per second. Steenbergen’s rule for reading this: “If there is an actual forwarding issues, the loss/latency will persist across ALL future hops as well.” The mtr manual, in its BUGS section, concedes the same thing about routers that deprioritize its probes: “the reliability of these routers reported by mtr will be significantly lower than the actual reliability.”

What real loss looks like
It starts at one hop and follows the path all the way home
For contrast, the rate limit came off r2 and a firewall rule went on instead: drop a random 10 percent of every packet r2 forwards, using iptables’ statistic match. Same test, 300 cycles:
HOST: vm Loss% Snt Last Avg Best Wrst StDev
1.|-- 10.47.1.2 0.0% 300 0.1 0.0 0.0 0.4 0.0
2.|-- 10.47.2.2 0.0% 300 0.1 0.0 0.0 0.7 0.0
3.|-- 10.47.3.2 18.3% 300 0.1 0.1 0.0 2.1 0.2
4.|-- 10.47.4.2 17.0% 300 0.1 0.0 0.0 0.3 0.0
Hop 2 looks perfect, because probes that die at r2 are answered by r2 itself and never pass through its forwarding path. Everything beyond it carries the loss. The size of the number checks out too: a probe to hop 3 or 4 crosses r2’s forwarding path twice, once out and once back, so the expected round-trip loss is 1 − 0.9² = 19 percent. Measured: 18.3 and 17.0.
Real loss appears at the first hop past the broken link and stays all the way to the end of the report, while the rate-limited kind sits on one line and is gone by the next.
Where people get burned
Five misreadings that waste an afternoon
Reporting a middle hop’s loss to an ISP. The test above is the whole argument. Loss that doesn’t continue to the destination is a router’s control plane being busy or rate-limited, not a broken path.
Reading latency spikes the same way. Steenbergen: “Latency spikes in the middle of a traceroute mean absolutely nothing if they do not continue forward.” The same slow ICMP generation that drops replies also delays them.
Forgetting the return path. The guide again: “Traceroute shows you the forward path only.” Replies can come back by a different route, and that route’s delay lands in the number printed for the forward hop.
Trusting hop counts inside a carrier network. With MPLS tunneling, Steenbergen notes, the setup “makes every hop in the LSP appear to have the same RTT as the final hop.” A run of identical times across several hops is worth reading as a possible tunnel before reading it as a coincidence.
Using the wrong probe type through a firewall. A firewall that drops UDP to high ports makes the default traceroute print stars at the edge of a network that is working fine. Switching to -T (TCP SYN) or -I (ICMP ECHO), both listed in the traceroute manual, may get through where the UDP probes die, depending on what the firewall allows.

The honest limit of both tools
A measurement that depends on the cooperation of the thing being measured
Both tools carry a weakness no flag can fix. Traceroute and mtr only measure what routers agree to say, and routers have every reason to say less. A router or firewall at the edge of a network can be set to drop its outgoing Time Exceeded messages and stay invisible, while still forwarding traffic perfectly. A trace through it prints stars and proves nothing about the path.
That makes the destination column the only line in an mtr report that measures the thing users actually care about. The hops in between are a map drawn by the buildings on the route, each one choosing what to put on it. Readers of the x9m8 history of how the internet evolved from ARPANET to today will recognize the design: the network was built to carry packets, and reporting on itself was always the side job.
Jacobson saw the cost in 1988. His comment in the source warns against making the program setuid, because “casual use could result in a lot of unnecessary traffic on our poor, congested nets.” Thirty-eight years later, the routers are still rationing their answers, and the people on the other end of the trace are still reading the rationing as a fault. The home-network side of the same question, from Wi-Fi channels to DHCP address conflicts, at least has the advantage that the owner controls every hop. Out past the modem, the only question that counts is whether the last line of the report agrees with the complaint.
Sources
- RFC 792, Internet Control Message Protocol (September 1981): https://www.rfc-editor.org/rfc/rfc792
- Van Jacobson, traceroute.c (December 1988), MIT mirror: https://stuff.mit.edu/afs/net.mit.edu/tools/src/traceroute/traceroute.c
- traceroute(8) manual page: https://man7.org/linux/man-pages/man8/traceroute.8.html
- mtr(8) manual page, Ubuntu Noble: https://manpages.ubuntu.com/manpages/noble/man8/mtr.8.html
- RFC 1812, Requirements for IP Version 4 Routers (June 1995): https://www.rfc-editor.org/rfc/rfc1812.txt
- Richard A Steenbergen, A Practical Guide to (Correctly) Troubleshooting with Traceroute, NANOG 80 (updated October 12, 2020): https://storage.googleapis.com/site-media-prod/meetings/NANOG80/2259/20201020_Steenbergen_Troubleshooting_With_Traceroute_v1.pdf
- Linux kernel, IP Sysctl documentation: https://www.kernel.org/doc/html/latest/networking/ip-sysctl.html
