Question 170
For the identical prefix 172.29.97.0/24, a router evaluates these route candidates: OSPF (AD 110, via 192.0.2.176); connected (AD 0, directly attached interface); static (AD 1, via 192.0.2.172). Ignore differences in metric across protocols. Which available source takes precedence in the routing table?
Explanation
Correct Answer
connected (AD 0) is the eligible same-prefix candidate with the lowest administrative distance; it is preferred over OSPF (AD 110), static (AD 1). A directly connected prefix is attached to a local interface; it does not require a routed next-hop IP.
Incorrect Answers
This OSPF route has AD 110, higher than the eligible connected (AD 0); for the same prefix, Cisco chooses the lower administrative distance.
This static route has AD 1, higher than the eligible connected (AD 0); for the same prefix, Cisco chooses the lower administrative distance.
The connected (AD 0) candidate is still eligible for this exact prefix, so it is incorrect to say that no route remains.