IP Connectivity

R1 learns 10.20.0.0/16 through OSPF and also has a static route to 10.20.0.0/16 through a backup link with administrative distance 200. While OSPF is operational, which route forwards traffic to 10.20.5.10, and why?

Show the answer

Correct answerB. The OSPF route, because its administrative distance of 110 is lower than 200

AWhy not this: Static routes win by default only because of their distance of 1; at 200 this static route loses to OSPF's 110.

BWhy this is right: With identical prefixes the lower administrative distance wins, so the static route waits as a backup.

CWhy not this: A lower administrative distance is preferred; a higher one marks the less trusted route source.

DWhy not this: Routes from different sources do not share traffic; only the lowest administrative distance is installed.

For the same prefix, the router installs the route with the lowest administrative distance, so OSPF (110) beats the static route (200). The static route floats as a backup and is installed only if the OSPF route is lost. A floating static must match the prefix length: a more specific static route would win by longest match whatever its distance.