A router learns 172.16.40.0/24 from OSPF with AD 110 and metric 20. It also learns the same prefix from EIGRP with AD 90 and feasible distance 30720. Which route is installed?
Trap 1: The OSPF route because metric 20 is lower than 30720
Comparing OSPF's metric of 20 to EIGRP's feasible distance of 30720 is invalid because each routing protocol uses a completely different metric calculation. OSPF calculates cost from interface bandwidth, whereas EIGRP uses a composite formula based on bandwidth and delay, so these numbers are not directly comparable. The router does not attempt to compare metrics across protocols; it first selects the route with the lowest administrative distance. Since EIGRP's AD of 90 is lower than OSPF's 110, the metric values are irrelevant to the final decision.
Trap 2: Both routes because ECMP is automatic across different protocols
Equal-cost multipath (ECMP) only applies when multiple routes have the same metric and are learned from the same routing protocol. Here, OSPF and EIGRP are different protocols with different administrative distances, so the router will not consider them for load balancing. Only the single route with the lowest AD is installed in the routing table, and traffic is forwarded along that one path. ECMP cannot occur across different protocols because they are not evaluated on an equal footing.
Trap 3: Neither route until one is redistributed into the other protocol
Redistribution is not required for a router to install a route learned via OSPF or EIGRP; each protocol independently builds its IP routing table and selects its best route. Redistribution is only used when injecting routes from one routing protocol into another for downstream routers, but it has no bearing on which of the two current routes is chosen for this router. The router simply compares the administrative distance of the two protocols and installs the one with the lower AD. Therefore, route installation and redistribution are separate processes.
- A
The OSPF route because metric 20 is lower than 30720
Why wrong: Comparing OSPF's metric of 20 to EIGRP's feasible distance of 30720 is invalid because each routing protocol uses a completely different metric calculation. OSPF calculates cost from interface bandwidth, whereas EIGRP uses a composite formula based on bandwidth and delay, so these numbers are not directly comparable. The router does not attempt to compare metrics across protocols; it first selects the route with the lowest administrative distance. Since EIGRP's AD of 90 is lower than OSPF's 110, the metric values are irrelevant to the final decision.
- B
The EIGRP route because its administrative distance is lower
The EIGRP route is installed because Cisco routers compare administrative distance (AD) before any metric when two different routing protocols advertise the same prefix. OSPF has a default AD of 110, while EIGRP's default AD is 90, making EIGRP more trustworthy. Since the router selects the route with the lowest AD, the EIGRP route wins regardless of its metric value. Metrics are only compared among routes from the same protocol.
- C
Both routes because ECMP is automatic across different protocols
Why wrong: Equal-cost multipath (ECMP) only applies when multiple routes have the same metric and are learned from the same routing protocol. Here, OSPF and EIGRP are different protocols with different administrative distances, so the router will not consider them for load balancing. Only the single route with the lowest AD is installed in the routing table, and traffic is forwarded along that one path. ECMP cannot occur across different protocols because they are not evaluated on an equal footing.
- D
Neither route until one is redistributed into the other protocol
Why wrong: Redistribution is not required for a router to install a route learned via OSPF or EIGRP; each protocol independently builds its IP routing table and selects its best route. Redistribution is only used when injecting routes from one routing protocol into another for downstream routers, but it has no bearing on which of the two current routes is chosen for this router. The router simply compares the administrative distance of the two protocols and installs the one with the lower AD. Therefore, route installation and redistribution are separate processes.