Hello, I don't know if I'll give you the best option. To do a dynamically failover between two sites I would recommend you to set up GRE+IPSec tunnels. Using this you will be able to let the OSPF take care of your routes. But if you do not use OSPF, have you tried use "check-ping" option ...