A router learns a remote network through OSPF. An administrator adds a static route to that network over a backup link, to be used only if the OSPF route disappears. What should be configured?
Show the answer
Correct answerC. A static route with an administrative distance higher than OSPF's
AWhy not this: A longer prefix is more specific, so it wins over the OSPF route even while that route is still valid.
BWhy not this: Subinterfaces carry VLAN traffic on one link; they have no effect on route preference.
CWhy this is right: A higher distance keeps OSPF preferred; the static route is installed only when the OSPF route is lost.
DWhy not this: A lower distance makes the static route preferred over OSPF, so it would never act as a backup.
A floating static route has an administrative distance higher than the dynamic protocol's, so the router prefers OSPF and installs the static route only when the OSPF route is withdrawn. A lower distance or longer prefix would make the static route win immediately.