Huawei Certified Network Associate – Routing and Switching (HCNA-RS, legacy) — Question 47
A router has learned two routes for the same network with the same prefix. One route has been learned via OSPF with a metric of 4882, while the other route has been learned via RIPv2 with a metric of 4.
Which route (s) will be found in the routing table?
Answer options
- A. The RIPv2 route.
- B. The OSPF and RIPv2 routes.
- C. The OSPF route.
- D. Neither of these routes will be found in the routing table.
Correct answer: C
Explanation
The OSPF route will be selected because OSPF has a higher administrative distance than RIPv2, making it the preferred route despite its higher metric. RIPv2, while having a lower metric, is less preferred due to its administrative distance, which is why it will not be in the routing table.