0Pricing
Network+ Academy · Lesson

Mapping the Path With Traceroute

Follow each hop your traffic takes to reach a destination.

Mapping the Path With Traceroute is a free Network+ Academy lesson on CoddyKit — lesson 2 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Network+ Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

What Traceroute Does

Traceroute (tracert on Windows) reveals the path packets take to a destination, listing each router (hop) along the way and the delay at each. Where ping answers "can I reach it?", traceroute answers "by what path, and where does it slow down or stop?" It is the go-to tool for locating where along a route a problem lives.

traceroute example.com

Hops and Routers

Each device that forwards your packet toward the destination is a hop. Traceroute lists hops in order, from your gateway outward across ISPs to the target. By showing the chain of routers, traceroute lets you see the actual journey of your traffic and pinpoint exactly which hop is failing or adding delay.

The TTL Trick

Traceroute cleverly uses TTL. It sends packets with TTL=1, so the first router discards them and replies with an error. Then TTL=2 to reach the second router, and so on. Each expiring packet reveals one more hop. By stepping TTL upward, traceroute maps the path one router at a time until it reaches the destination.

Reading Traceroute Output

Each line shows a hop number, the router's IP or name, and usually three timing samples in milliseconds. Times generally rise as hops get more distant. A reasonable, gradual increase is normal. The output lets you watch latency build hop by hop and identify exactly where it jumps unexpectedly.

Spotting Where It Breaks

If traceroute lists several hops and then stops or times out, the problem is likely at or just beyond the last responding hop. This localizes a routing or connectivity failure to a specific point in the path, often distinguishing your network from an ISP's. Knowing the failure is three hops out, in the ISP's core, changes who you call.

Latency Along the Path

Traceroute helps find latency sources. If times are low for several hops and then suddenly spike, that hop or link is adding delay. Remember that a long-distance link, like a transatlantic hop, naturally adds latency. The skill is distinguishing expected distance delay from an abnormal jump that signals congestion or a problem.

Asterisks and Timeouts

An asterisk (*) means a hop did not reply in time. This is common and not always a problem: many routers deprioritize or block the ICMP/UDP replies traceroute relies on, even while happily forwarding real traffic. A few stars mid-path, followed by later hops responding, usually means a quiet router, not a broken one.

Windows vs Unix Methods

Implementations differ. Windows tracert sends ICMP Echo Requests, while traditional Unix traceroute sends UDP packets to high ports; both rely on TTL-expired replies. Because firewalls treat ICMP and UDP differently, the same path can look different from a Windows versus a Linux box. Knowing the method explains some discrepancies.

Asymmetric Paths

Traceroute shows only the forward path. The return traffic may take a different route, called an asymmetric path. This means a delay you see could actually be on the way back, which traceroute cannot show directly. Keep this in mind when interpreting results, especially across the public internet where asymmetry is common.

Pathping and mtr

Two enhanced tools combine ping and traceroute. Windows pathping traces the route and then measures per-hop packet loss over time. The popular Unix tool mtr continuously updates a live traceroute with running loss and latency stats. Both are excellent for diagnosing intermittent problems that a single traceroute might miss.

Traceroute in Practice

Use traceroute after ping when connectivity to a remote host is poor or failing. It tells you whether the trouble is on your LAN, at your gateway, in your ISP, or far across the internet. Pinpointing the responsible segment lets you fix what you control and escalate what you do not, with evidence in hand.

Quick Check

Test your traceroute knowledge.

Recap

You learned traceroute. Key points:

  • Traceroute lists each hop and its delay to a destination.
  • It works by incrementing TTL so routers reply in turn.
  • Where output stops localizes a failure along the path.
  • Asterisks often mean a quiet router, not a broken one.
  • pathping and mtr add per-hop loss over time.

Frequently asked questions

Is the “Mapping the Path With Traceroute” lesson free?

Yes — the full text of “Mapping the Path With Traceroute” is free to read here on the web, and the Network+ Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Network+ Academy course, upgrade to CoddyKit PRO.

What will I learn in “Mapping the Path With Traceroute”?

Follow each hop your traffic takes to reach a destination. You practise Network+ Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Network+ Academy?

No prior experience is required. Network+ Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 2 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Mapping the Path With Traceroute” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Network+ Academy lesson?

Yes. Every Network+ Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Testing Reachability With Ping
  2. Mapping the Path With Traceroute
  3. Viewing Settings With Ipconfig
  4. Querying DNS With Nslookup
← Back to Network+ Academy