Question 620
A junior networking engineer reports: A router has a static 10.0.0.0/8 and a dynamic route to 10.10.20.0/24, and a trainee expects the static /8 always to win because it has lower preference. Which validation result best demonstrates the intended correction worked?
Explanation
Correct Answer
This result validates longest prefix before preference: Longest-prefix matching selects the more-specific destination prefix before comparing preference among routes for the same prefix. The corresponding remediation is: Verify installation of the /24 and look up 10.10.20.5 using the forwarding table. Evidence from an unrelated feature is not sufficient.
Incorrect Answers
For otherwise eligible routes to the same prefix, lower Junos route preference wins; ordinary static routes have lower preference than BGP. “Inspect show route for the identical prefix and adjust authorized route preference or remove an unintended static route” would address that alternative cause, not the condition in this question: longest-prefix matching selects the more-specific destination prefix before comparing preference among routes for the same prefix.
“Configure an authorized static route 0.0.0.0/0 toward the reachable WAN next hop and verify return reachability” responds to this separate finding: without a matching more-specific route or default route, off-network destination lookups can fail. This question instead needs “Verify installation of the /24 and look up 10.10.20.5 using the forwarding table”, so the alternative does not meet the stated condition.
Qualified-next-hop can express different route preference for alternative static gateways rather than treating all as equivalent paths. “Configure primary and backup qualified next hops with approved relative preference values and monitor failure behavior” applies to that separate problem. The observed case is a router has a static 10.0.0.0/8 and a dynamic route to 10.10.20.0/24, and a trainee expects the static /8 always to win because it has lower preference; choosing this alternative would address the wrong failure mode.