← back to /blog← powrót do /blog

→ czytaj po polsku

How to read a traceroute (and when MTR is the better tool)

Traceroute is one of the first tools people reach for when “the site is slow” or “it works from here but not from there”. It is also one of the easiest to misread. Most of the scary-looking things in its output are completely normal, and the one thing that actually matters is easy to miss.

This is how I read it. You can follow along with the visual traceroute on ip.syschecks.com, which plots every hop on a map with its network (ASN) and latency, or run traceroute / tracert locally.

What a hop is

Every row is one router between the source and the target. Traceroute finds them by sending packets with an increasing TTL: the first router drops the packet with TTL 1 and replies, the second drops TTL 2, and so on until the target itself answers.

For each hop you get the address, usually a reverse DNS name, and the round-trip time: how long a probe took to reach that router and come back.

Read the latency as a staircase

Latency should grow roughly step by step along the path. Two kinds of step are worth noticing:

  • A small, steady climb inside one city or one provider. Normal.
  • One big jump, often 60 to 150 ms. That is usually physical distance: a crossing between continents, often through a submarine cable. It is not a problem, it is the speed of light in glass.

The ASN column tells you where your traffic leaves one network and enters another. A path that stays inside one or two ASNs usually means the two networks meet directly at an internet exchange. A path that wanders through several transit providers before reaching a nearby target is worth a second look.

Things that look broken but are not

Silent hops (* or no reply). Many routers do not answer traceroute probes at all, or rate-limit the answers. A silent hop in the middle is fine as long as later hops and the target respond.

One slow hop in the middle. Routers forward traffic in hardware but answer traceroute probes in software, at low priority. A single hop that shows 200 ms while the next hops are back at 30 ms is that router being busy answering, not a slow path. The rule: a real problem stays. If latency jumps at hop 7 and every hop after it, including the target, stays high, the problem starts at hop 7.

A different path than you expected. Routes are often asymmetric. The traceroute shows the way from the source to the target; the replies, and your real traffic back, can take another way. A traceroute from a remote server (like the one on ip.syschecks.com) and one from your own laptop can differ, and comparing the two is often the fastest way to find which side the problem is on.

When to switch to MTR

A traceroute is a single snapshot. If the problem is intermittent (a video call that stutters, an API that times out once a minute), one snapshot will usually look clean.

MTR combines traceroute and ping: it probes every hop many times and shows packet loss and latency statistics (best, average, worst, standard deviation) per hop. Read it with the same rule:

  • Loss on one middle hop, 0% on everything after it: rate limiting, ignore it.
  • Loss that starts at a hop and continues to the target: real loss, and that hop is where to start looking.
  • A normal average but a high worst time or standard deviation: jitter. It hurts voice, video and games even when the average looks fine.

From one-off checks to monitoring

Traceroute and MTR answer “what is happening right now from here”. The question that usually follows is “is it happening from everywhere, and since when”. That is the part I built Syschecks for: it checks the same target from several locations and keeps the history, so a regional routing problem shows up as one red location instead of a vague “it is slow sometimes”.


← back to /blog← powrót do /blog

→ czytaj po polsku