Question 40
A router learns identical `198.51.100.0/24` prefixes through OSPF with administrative distance 110 and a manually configured static route with administrative distance 5. Both next hops are reachable and no more-specific route exists. Which route is installed?
Explanation
Correct Answer
When multiple route sources offer the same destination prefix, IOS generally prefers the source with lower administrative distance for installation, provided the route is valid. The /24 matches in both cases, so the source trust ranking is relevant; OSPF cost is not used to compare against a static AD 5 candidate.
Incorrect Answers
OSPF metric and administrative distance serve different decisions. Metrics compare eligible paths within a routing protocol, while AD compares route sources to an identical prefix. A reachable static route with AD 5 is preferred to the OSPF source AD 110.
Same-prefix candidates are not necessarily equal-cost installed next hops. The significant AD difference normally causes one source to win rather than mixing static and OSPF forwarding by default. ECMP requires multiple eligible next hops under applicable selection rules.
Default AD values may make connected or static entries preferable to OSPF, but administrators can override the static distance as this scenario does. IOS uses the configured AD for comparing the same prefix, not an unchangeable preference for dynamic protocols.





Cisco Certified Network Associate (CCNA) (200-301) Practice Tests