Forwarding Decisions: practice questions

How a router chooses a route by longest prefix match, administrative distance and metric, and tracing a packet's path with ping and traceroute.

CCNA 200-301 v1.1, exam topic 3.2 · part of 3. IP Connectivity, 25% of the exam

The same material in the CCNA 200-301 v2.0 exam: Connectivity Troubleshooting

The same material in the CCNA 200-301 v2.0 exam: Routing Table

What this topic covers

Longest-match rule
The most specific matching prefix wins.
Choosing among routing sources
When several protocols offer the same prefix, a preference decides.
What a metric measures
Hop count, cost or delay used to pick the best path.
Equal-cost multipath
Splitting traffic across paths with the same metric.
Convergence
Routers exchange information until tables are consistent.
Following a packet hop by hop
At each router the destination address picks the route, the TTL drops by one and the packet is re-framed for the next link.
What changes and what stays
MAC addresses change on every link; IP addresses stay the same end to end unless NAT rewrites them.
Locating where a path breaks
Comparing the expected path with what each hop shows narrows a failure to one link or device.
ICMP echo
Ping tests reachability with ICMP echo request and reply.
TTL-based path discovery
Increasing TTL values reveal each hop.
Extended ping and traceroute
Choosing the source interface, packet size, repeat count and don't-fragment bit to test a specific path.

Sample question

Try it, then open the answer. Our questions are written by AI and checked independently before they are published.

Easy Single choice

What happens to the Time-to-Live (TTL) field in an IP packet header as it passes through each router along a path?

  1. A. remains unchanged across each routing hop
  2. B. resets to its initial configured value
  3. C. increments by one at each routing hop
  4. D. decrements by one at each routing hop
Show the answer

Answer: D. decrements by one at each routing hop

As an IP packet traverses a network, each intermediate router examines the IP header and decrements the Time-to-Live (TTL) field by 1. If the TTL value drops to 0, the packet is discarded and an ICMP Time Exceeded message is returned to the source.

Further reading