Question 230
For the identical prefix 172.18.170.0/24, a router evaluates these route candidates: static (AD 1, via 192.0.2.232); RIP (AD 120, via 192.0.2.151); connected (AD 0, directly attached interface); static route was withdrawn. 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 RIP (AD 120). A directly connected prefix is attached to a local interface; it does not require a routed next-hop IP.
Incorrect Answers
The connected (AD 0) candidate is still eligible for this exact prefix, so it is incorrect to say that no route remains.
This RIP route has AD 120, higher than the eligible connected (AD 0); for the same prefix, Cisco chooses the lower administrative distance.
The static route was explicitly withdrawn; its former AD 1 does not make it an eligible candidate for this decision.