A router learns 172.16.0.0/16 via OSPF and an administrator then configures ip route 172.16.0.0 255.255.0.0 Null0 250. Which route will the router prefer for forwarding?
Choose an answer
Tap an option to check your answer.
Correct answer: The OSPF route because OSPF's administrative distance is lower than 250.
Why this is the answer
The router will prefer the OSPF route. Route preference is determined by Administrative Distance (AD). OSPF has a default AD of 110. The configured static route has an AD of 250 (specified at the end of the ip route command). Since a lower AD indicates a more trustworthy route, the OSPF route (AD 110) will be preferred over the static Null0 route (AD 250). Static routes are not always preferred over dynamic routes; their preference depends on their configured AD. Null0 interfaces do not inherently have special forwarding priority; their AD determines their preference like any other route. Equal preference would only occur if both routes had the same AD, which is not the case here.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed