Configuring Floating Static Routes for Backup
A floating static route is configured with a higher administrative distance than the primary route so it only appears in the routing table if the primary route fails.
What is a Floating Static Route?
It is a backup static route that remains hidden from the active routing table as long as a better (lower AD) route exists.
Configuration Syntax
You configure it just like a normal static route, but add an AD value at the end. Example: 'ip route 10.0.0.0 255.0.0.0 192.168.1.2 130'.
Failover Mechanism
If the primary dynamic route (e.g., OSPF AD 110) drops from the routing table, the router evaluates backups and installs the floating static route (AD 130).
❓ Frequently Asked Questions
Can a floating static route back up another static route?
Yes, just configure the primary static route with AD 1 (default) and the floating static route with AD 5 (or any higher number).
How can I verify a floating static route?
Use the 'show run | include ip route' command to see it in the config, as it won't appear in 'show ip route' while inactive.
Is failback automatic?
Yes, when the primary route becomes available again, it preempts the floating static route due to its lower AD.