CN.III · CCNA practice question
A router has a static host route 'ip route 192.168.100.50 255.255.255.255 10.0.0.1' and an OSPF route for '192.168.100.0/24' via 10.0.0.2. Where is a packet to 192.168.100.50 sent?
Check answer and explanation
Correct answer: To 10.0.0.1 because /32 is a longer prefix match than /24
Explanation
The static host route has a /32 mask, which is more specific than the /24 OSPF route; longest prefix match selects the /32 route to 10.0.0.1.
Common trap
A common trap is choosing “Dropped because host routes cannot be configured statically” instead of the answer required by the cited rule.
Source: CCNA exam topics — IP Connectivity
Checked against the cited text on 2026-12-01.