An enterprise router receives two dynamic route updates for the destination network 172.16.40.0/24. The first update is received from OSPF with a metric cost of 45. The second update is received from RIPv2 with a hop count metric of 2. Default administrative distance values are configured across all protocols on the router. Which path will be installed into the active IP routing table?
- The OSPF route, because OSPF has a lower default administrative distance than RIPv2.Answer
- BThe RIPv2 route, because a lower metric value takes precedence over administrative distance across different routing protocols.
- CThe RIPv2 route, because RIPv2 processes network Layer 3 headers directly without requiring transport protocol encapsulation.
- DBoth routes will be installed to perform load balancing between the OSPF and RIPv2 paths.
Answer
The OSPF route will be selected and installed into the routing table because OSPF has a lower default administrative distance (110) than RIPv2 (120).
When a router receives candidate routes to the exact same prefix length from two different dynamic routing protocols, it evaluates Administrative Distance (AD) first. By default, OSPF has an AD of 110 and RIPv2 has an AD of 120. The lower AD value indicates a more reliable route source, so the OSPF path is chosen for installation in the routing table.
Step-by-Step Solution
Key Concept
Administrative Distance in Multi-Protocol Routing Selection