A router receives a route to 10.20.0.0/16 from OSPF with an administrative distance of 110 and from RIP with an administrative distance of 120. The RIP-learned path crosses fewer router hops than the OSPF-learned path. Which route does the router install in its routing table, and why?
- AThe RIP route, because its lower hop count is a better metric, which the router evaluates ahead of administrative distance.
- BBoth routes, because the router load-balances equally across two sources that advertise the same prefix to the destination.
- CThe OSPF route, because its administrative distance of 110 is lower than RIP's 120, and distance is compared before any metric. Correct
- DThe RIP route, because a distance-vector protocol is preferred over a link-state protocol when summarising a large prefix.
Why A is wrong: Hop count is only a RIP metric, and metrics are compared solely among routes from the same protocol, so it cannot decide between RIP and OSPF; administrative distance is checked first, and OSPF's 110 beats RIP's 120.
Why B is wrong: A router does not load-balance across two different protocols with unequal administrative distances; it selects the single most trusted source, so only the OSPF route is installed.
Why C is correct: Administrative distance ranks the trustworthiness of route sources and is evaluated before any metric; OSPF at 110 is lower than RIP at 120, so the router installs the OSPF route even though RIP offers fewer hops.
Why D is wrong: There is no rule preferring distance-vector over link-state protocols; source selection is governed by administrative distance, and OSPF's lower value wins here regardless of protocol category.