CCNA Exam Preparation / Routing decisions
CCNA technique 104: Longest prefix match — practice and verify
An original CCNA exercise on longest prefix match with predictions, evidence, and a changed-condition check.
Environment and inputs: CCNA 200-301 v1.1 study; isolated Cisco IOS / IOS XE lab or paper exercise where applicable.
Practice task
For 10.1.2.7 compare installed /8, /16, and /24 routes and explain why the /24 wins regardless of their different distances.
Expected reasoning
Forwarding selects the most specific installed route that matches the destination.
Record your results
Use a simulator, an approved lab, or a diagram on paper. Record the network layout, what you expect and what you observe. Before changing a device, save the relevant interface, route, neighbor or service status. A successful ping alone may not prove the behavior you are studying.
Try a case where the answer changes
Change one condition in the longest prefix match exercise and predict the result before checking it. Explain which observation would disprove your hypothesis. Restore the baseline, repeat from blank notes and keep both results.
What this exercise covers
Independent CCNA 200-301 v1.1 exercise, checked against Cisco resources on 2 November 2026. It is not a recalled exam question. The collection’s 200 techniques do not represent exam question counts or weights. Check Cisco’s current exam rules and your simulator’s supported syntax.