I have two offices interconnected by two fiber circuits from two separate providers. Both offices are using Cisco 3560 layer 3 switches as endpoints for these circuits. I have configured static routes with different administrative distances to essentially make one circuit the primary and the other the second; however, when the primary link fails, the secondary route does not go into effect since the interface isn't actually going down. What I'd like to accomplish is load balancing/true failover. How can this be done?
On switch one I have
ip route 126.96.36.199 255.255.255.0 10.0.0.2
ip route 188.8.131.52 255.255.255.0 10.0.1.2 50
On switch two I have
ip route 184.108.40.206 255.255.255.0 10.0.0.1
ip route 220.127.116.11 255.255.255.0 10.0.1.1 50
18.104.22.168/24 is office 1 LAN. 22.214.171.124/24 is office 2 LAN. I inherited this ridiculous IP address scheme wherein the last admin was using public ip addresses for LAN ip addresses.