Default Static Route Redundancy

In network configurations, using multiple static routes with different next hop IP addresses can provide redundancy. For instance, defining default routes to 0.0.0.0/0 with primary and secondary next hop IPs such as 192.168.1.1 and 192.168.2.1, with a higher administrative distance for the secondary like so, allows failover if the primary path goes down.

ip route 0.0.0.0 0.0.0.0 192.168.1.1 ip route 0.0.0.0 0.0.0.0 192.168.2.1 10

The router will route default traffic to 192.168.1.1, and if that route fails, it will use 192.168.2.1. But something must happen in order to trigger this change.

A static route will be removed from the Routing Information Base (RIB) if the exit interface that is used to reach that next hop IP goes down. The route will be removed from the RIB even though it remains in the configuration.

To allow the router to take a more active role in detecting the failure of the first static route, it would be preferrable to use an IP SLA to track the next hop IP.

https://networklessons.com/cisco/ccna-routing-switching-icnd1-100-105/floating-static-route/

https://networklessons.com/ip-services/ip-sla-service-level-agreement-on-cisco-ios

https://networklessons.com/cisco/ccnp-route/reliable-static-routing-with-ip-sla