AP Networking • CLI Evidence & Path Analysis

Tracert vs. Traceroute

Learn how TTL-based hop discovery works, why Windows and Unix-like tools can display different results, how to interpret asterisks and latency correctly, and what traceroute evidence can—and cannot—prove.

Independent AP Networking resource • Updated 2026-09-10 • Includes 24 free digital flashcards
Trace rule: read patterns across hops, not isolated lines. Later-hop persistence matters more than one asterisk or one high number.
Practice with Flashcards
Core model

tracert and traceroute are path-evidence tools, not complete network maps

Windows tracert and Unix-like traceroute both exploit the IP TTL or hop-limit field to expose responding routed hops toward a destination. They are excellent for showing where probes receive responses and where those responses stop, but their output must be interpreted carefully. A missing response is not automatically a failed router, and a high time on one line is not automatically the place where user traffic is delayed.

Path-analysis framework: Local Reachability → Probe Type → TTL Progression → First Response Change → Later-Hop Persistence → Route/Firewall Context → Evidence Boundary → Same-Destination Verification.
Same goal, different command

The names differ by platform, but the diagnostic objective is the same

Windows commonly provides tracert. Unix-like operating systems commonly provide traceroute. Both discover responding Layer 3 hops by sending probes with progressively larger TTL values. The important AP Networking distinction is not the spelling of the command—it is understanding what the resulting hop list actually proves.

Windows

tracert example.com
Commonly uses ICMP Echo Request probes.

Unix-like

traceroute example.com
Traditional implementations commonly use UDP by default.

Shared mechanism

Progressively increasing TTL values reveal responding routers.

TTL mechanism

Traceroute creates hop visibility by intentionally causing packets to expire

Routers decrement the IPv4 TTL field as they forward packets. When TTL reaches zero, the router discards the packet and may return an ICMP Time Exceeded message. Traceroute takes advantage of that behavior deliberately.

Probe with TTL 1 Client → Router 1 TTL expires Router 1 replies Probe with TTL 2 Client → Router 1 → Router 2 TTL expires Router 2 replies Probe with TTL 3 Client → Router 1 → Router 2 → Router 3 TTL expires Router 3 replies

The tool keeps increasing TTL until the destination produces the expected terminal response or the hop limit is reached.

Why switches disappear

Traceroute is a Layer 3 path view, not a switch-by-switch topology diagram

An ordinary Layer 2 switch forwards Ethernet frames without acting as an IP router for the transit packet. It does not become a TTL-expiration hop merely because the frame passed through it. This means a path containing five switches and three routers may display only the three routed hops.

Evidence boundary: traceroute cannot be used to count every physical or Layer 2 device between endpoints.
Protocol differences

Probe type can change the visible result even when the forwarding path stays the same

Traditional Unix-like traceroute commonly uses UDP probes, while Windows tracert commonly uses ICMP Echo Requests. Other implementations can use ICMP or TCP modes. Firewalls and routers may filter or rate-limit one probe type differently from another.

Probe behaviorPossible outcomeInterpretation
ICMP allowed, UDP filteredtracert shows more hops than UDP tracerouteVisibility difference, not necessarily path difference
UDP allowed, ICMP rate-limitedUnix traceroute looks cleanerControl-plane policy may differ
TCP/443 probe allowedTCP traceroute reaches destinationUseful when application path uses TCP/443

Swipe horizontally to see the probe comparison.

Reading a normal trace

Each row usually represents one TTL value and multiple probe responses

Tracing route to 203.0.113.80 1 1 ms 1 ms 1 ms 192.168.1.1 2 8 ms 7 ms 8 ms 198.51.100.1 3 14 ms 13 ms 15 ms 198.51.100.9 4 25 ms 24 ms 25 ms 203.0.113.80

The three times are separate probe-response round trips for that TTL value. The addresses are devices that responded to the probes, not a guarantee that every packet takes exactly that path forever.

Asterisks

An asterisk means “no expected response in time,” not “this router is dead”

A router can forward transit packets normally while choosing not to respond to TTL-expired probes, rate-limiting those responses, or having its replies filtered. The most important interpretation comes from what happens after the asterisk.

1 1 ms 1 ms 1 ms 192.168.1.1 2 8 ms 8 ms 9 ms 198.51.100.1 3 * * * 4 21 ms 20 ms 21 ms 203.0.113.5 5 28 ms 27 ms 28 ms 203.0.113.80

Because hops 4 and 5 respond, packets clearly continued past hop 3. Hop 3 is not proven failed.

Persistent failure

Asterisks become more significant when loss of visibility continues to the destination

1 1 ms 1 ms 1 ms 192.168.1.1 2 9 ms 8 ms 9 ms 198.51.100.1 3 15 ms 15 ms 16 ms 198.51.100.9 4 * * * 5 * * * 6 * * *

This output supports the statement that probe responses stop after hop 3. It does not yet prove hop 4 is broken. The cause could be filtering, routing failure, destination policy, or nonresponsive intermediate devices. Pair the trace with routing, firewall, and destination evidence.

Latency columns

Per-hop response time is not the same as one-way transit delay through that router

Traceroute measures the round-trip time between the source and the response generated for each probe. Routers may prioritize forwarding data packets over generating control-plane diagnostic replies. A router can therefore appear “slow” to traceroute while forwarding normal traffic quickly.

Hop 4: 205 ms 210 ms 198 ms Hop 5: 31 ms 30 ms 32 ms Hop 6: 34 ms 33 ms 35 ms

If hop 4 truly added roughly 170 ms of forwarding delay to every packet, later hops could not suddenly return around 30 ms. The isolated spike is stronger evidence of response prioritization than a transit bottleneck.

Persistent latency rise

A delay increase matters more when it begins at one point and remains high afterward

Hop 2: 8 ms 8 ms 9 ms Hop 3: 12 ms 13 ms 12 ms Hop 4: 78 ms 80 ms 79 ms Hop 5: 82 ms 83 ms 81 ms Hop 6: 85 ms 84 ms 86 ms

This pattern is more consistent with a path segment where additional delay appears and remains part of the round trip. Even here, asymmetric return routing means you should avoid claiming the delay is definitely inside hop 4 itself.

Routing asymmetry

The forward hop list and the measured round-trip time can involve different return paths

Internet routing does not require packets from A to B to use the same route as packets from B to A. Traceroute's listed hop comes from forward-path discovery, but the response time includes whatever path the reply takes back.

Strong wording: “Latency begins to increase when probes reach this part of the forward path.” Avoid claiming “this router is definitely causing the delay” unless you have stronger bidirectional evidence.
Local-first troubleshooting

Traceroute becomes useful after local addressing and gateway reachability are established

If a client has an APIPA address, the wrong gateway, or cannot reach its local router, tracing a distant Internet host skips over an earlier failure. Start with source IP configuration and gateway reachability.

1. ipconfig / ifconfig / ip addr 2. Confirm IP + prefix 3. Confirm default gateway 4. Ping gateway 5. Then trace remote destination

This sequence preserves known-good evidence and keeps the trace focused on the remote path.

Traceroute vs. routing table

Path discovery and route selection answer different questions

Tool/artifactAnswersDoes not directly answer
Routing tableWhich next hop/interface the local device selectsEvery downstream hop across the network
Traceroute/tracertWhich routed devices respond as TTL increasesWhy the local router selected its route
PingWhether tested ICMP echo exchange succeedsComplete routed path

Swipe horizontally to see the comparison.

Hostname display

Reverse DNS names are presentation data, not proof of routing behavior

Traceroute may display a hostname beside a responding IP address by performing a reverse DNS lookup. That name can be useful for orientation, but it is separate from the forwarding decision. A missing hostname does not mean the hop failed, and a hostname does not prove ownership, physical location, or path function.

Worked case 1

One silent hop, destination still reachable

Hops 1 and 2 respond, hop 3 shows three asterisks, hops 4 through 7 respond, and the destination completes normally.

Inference: hop 3 did not provide expected diagnostic responses, but transit forwarding clearly continued. Investigating hop 3 as “down” would overstate the evidence.

Worked case 2

Latency spike disappears at the next hop

Hop 5 reports about 220 ms while hop 6 and the destination report 35 ms.

Inference: hop 5's control-plane response is likely deprioritized or delayed. The trace does not support saying hop 5 adds 185 ms to every transit packet.

Worked case 3

Latency rises and stays high through the destination

RTT is 12–15 ms through hop 4, jumps to approximately 90 ms at hop 5, and remains near 90–100 ms through the destination.

★ Routing Practice • Tracert vs. Traceroute

A five-minute warm-up for Tracert vs. Traceroute

Tomorrow’s opening question can pick up where this page leaves off: ask students to explain the idea in their own words and apply it to a real network. The 300 Bell Ringers give you short questions and teacher answers you can use without preparing a new starter each morning.

300 AP Networking Bell Ringers
$74.99
BUY TEACHER PACK → See what is included in the 300 Bell Ringers →
Instant Access • Full-Year Teacher Resource

Inference: additional delay appears around that portion of the measured path. Because replies may return asymmetrically, collect more evidence before assigning blame to one router.

Worked case 4

tracert succeeds but UDP traceroute is sparse

Windows tracert using ICMP displays eight hops. A Unix-like UDP traceroute from a comparable location shows many asterisks.

Inference: probe-protocol treatment differs somewhere along the path. Do not assume the underlying route changed merely because visibility changed.

Worked case 5

The local gateway is unreachable before the trace starts

A client cannot ping its gateway and traceroute fails immediately.

Inference: the first unresolved dependency is local. Check addressing, subnet mask, wireless/cable state, VLAN attachment, and gateway reachability before interpreting remote path behavior.

Routing Lab • 120 Missions

Let students try Tracert vs. Traceroute for themselves

Reading the explanation is a start. In the browser simulator, students work through a broken network, choose what to test and see whether their fix worked. It gives them another chance to use what they learned about Tracert vs. Traceroute.

AP Networking Browser Troubleshooting Simulator
$29.99
120 Missions • 60 Failure Patterns • Offline Copy
GET THE SIMULATOR → See all 120 missions & features
Firewall interaction

A firewall can filter diagnostic probes while allowing the application itself

A site may allow TCP/443 to a web server while blocking ICMP Echo or high-numbered UDP probes used by traceroute. The web application can therefore work even if traceroute appears incomplete.

Exam trap: incomplete traceroute does not automatically mean the application path is broken.
Application verification

The destination application is the final requirement, not a perfect-looking trace

If the troubleshooting requirement is “Can the user reach the HTTPS service?”, verify HTTPS. Traceroute is supporting evidence. A clean trace with a failed application still leaves DNS, firewall, server-listener, TLS, and application-layer dependencies unresolved.

This is the same evidence discipline used throughout AP Networking troubleshooting: test the requirement you are actually trying to restore.

Routing Exam Practice • Tracert Vs Traceroute

Check whether Tracert vs. Traceroute has really stuck

Once students have worked through this topic, give them questions mixed in with the rest of the course. The Exam Prep Vault includes practice exams, multiple-choice questions and artifact labs so they cannot rely on a chapter heading to tell them what to do.

AP Networking Complete Exam Prep Vault
$39.99
GET THE EXAM PREP VAULT → See the Exam Prep Vault contents →
4 Practice Exams • 320 MCQs • 60 Artifact Labs
Route change over time

Two traces taken at different times can legitimately show different paths

Dynamic routing, load balancing, provider policy, maintenance, and path changes can alter which routers respond. A different trace later does not automatically indicate a problem. Compare whether the user-visible requirement, destination reachability, latency, and loss also changed.

Equal-cost paths

Multiple probes can encounter different next hops in load-balanced networks

Some networks distribute flows across multiple equal-cost paths. Depending on how the network hashes probe traffic, traceroute may display different addresses across repeated runs or even within a hop position.

Treat this as a reminder that traceroute is a sampled observation of routed behavior, not a permanent physical diagram.

Evidence boundaries

Know exactly what each traceroute observation proves

ObservationSupportsDoes not prove
Hop repliesThat device returned the expected responseAll traffic always uses that hop
* * *No expected replies for those probesRouter is down
Single high RTTSlow response from that hopTransit packets incur same delay
Later hops respondProbes progressed beyond earlier hopEarlier hop is healthy in every way
Destination respondsTrace probe reached destinationTarget application is functioning

Swipe horizontally to see the evidence-boundary table.

Premium Routing Feedback

Spend less time marking explanations about Tracert vs. Traceroute

When students explain their answer, it takes more than a right-or-wrong check to see what they understand. The Grading Copilot helps you review how they used the clues, where their explanation falls short and what feedback to give next. You make the final grading decision.

AP Networking Artifact Analysis Grading Copilot
$49.99
8 Criteria • 5 Task Modes • Offline Premium Copy
GET THE GRADING COPILOT → See the free Copilot preview
Differential diagnosis

The same trace symptom can come from multiple mechanisms

Trace symptomPlausible causeNext discriminating evidence
One silent hopICMP filtering/rate limitingCheck later hops and destination
Silence from one point onwardFiltering, route failure, destination policyRouting table, firewall log, reverse test
Persistent RTT increaseAdded path delay or congestionPing/load tests, interface utilization
Different paths across runsDynamic routing/load balancingRepeat under controlled conditions

Swipe horizontally to see the differential table.

Trace-analysis lab

Find the first meaningful change without overclaiming the cause

1 1 ms 1 ms 1 ms 192.168.1.1 2 8 ms 9 ms 8 ms 198.51.100.1 3 14 ms 15 ms 14 ms 198.51.100.9 4 * * * 5 79 ms 82 ms 80 ms 203.0.113.12 6 84 ms 85 ms 83 ms 203.0.113.80

A strong analysis says: hop 4 does not return expected responses; probes continue beyond it; round-trip time is substantially higher beginning with hop 5 and remains high to the destination. That supports a change in measured path conditions around that region but does not uniquely identify one failed router.

Exam response model

State observation, mechanism, boundary, and next evidence

Observation: identify exactly where output changes.

Mechanism: explain TTL expiration, probe type, or routing behavior.

Persistence: check whether loss or latency continues to later hops.

Boundary: say what the trace does not prove.

Next evidence: choose routing, firewall, interface, or application evidence.

Verification: retest the actual destination or application requirement.

NEW • COMPLETE 180-DAY TEACHER CURRICULUM

Teach Tracert vs. Traceroute as part of a planned school year

This page gives you one topic. The 180-Day Teacher Curriculum puts it into a full course plan, with daily teaching notes, student activities and checks for understanding. Use it when you need to know what comes before this lesson and what to teach next.

AP Networking Complete 180-Day Teacher Curriculum
$199.99
180 Lessons • 180 Daily Simulators • 36 Teaching Weeks
GET THE 180-DAY CURRICULUM → See 3 free curriculum examples
Common exam traps

A strong answer avoids reading traceroute too literally

  • An asterisk does not automatically mean a router is down.
  • A high time on one hop does not automatically identify a bottleneck.
  • Layer 2 switches do not normally appear as routed hops.
  • Different probe protocols can produce different visible traces.
  • Forward and return paths can be asymmetric.
  • A successful trace does not prove the application itself works.
Baseline and comparison

One trace is a snapshot; repeated traces under controlled conditions reveal much more

Traceroute becomes more useful when you compare it against a known-good baseline or repeat it during both healthy and degraded periods. A single path may show a temporary routing change, one rate-limited hop, or a momentary latency spike that disappears immediately. Repeated observations help separate stable path characteristics from transient behavior.

For a useful comparison, keep the source, destination, probe method, and general test conditions as consistent as possible. Then compare hop count, where response loss begins, whether latency changes persist to later hops, and whether the destination application is also affected.

Healthy period: Hop 3: 14 ms Hop 4: 22 ms Hop 5: 29 ms Destination: 31 ms Problem period: Hop 3: 15 ms Hop 4: 91 ms Hop 5: 96 ms Destination: 99 ms

That comparison is stronger than saying “hop 4 is slow.” It shows that the measured round-trip time increases around the same point and remains elevated to the destination during the problem period. The next discriminating evidence could be interface utilization, queue drops, provider status, or a reverse-path test.

Free digital flashcards

24 Tracert vs. Traceroute digital flashcards

Practice TTL behavior, Windows vs. Unix-like probe types, asterisks, latency interpretation, asymmetry, route-table differences, firewall effects, evidence boundaries, and exam traps.

All traceroute cards
Click or press Enter/Space to reveal.
State what the trace proves—and what it does not.
0 seen•24 cards
Continue studying

Connect path discovery to routing, CLI evidence, latency, and firewall analysis