We're having a hard time getting floating static routes to work. We use the floating static route technique to utilize a VPN connection as a backup connection to our branch sites. When all that was involved was OSPF we didn't have a problem. Recently though we started using a different MPLS provider that required us to use BGP on their MPLS links. To accomodate this we added a new router at the Corp HQ (2811) to handle the new MPLS connections. BGP is configured on this router only for the WAN circuit, OSPF on the LAN side. We redistribute BGP into OSPF and vice versa.
Under normal conditions this works well. When the MPLS connection fails at one of our branch locations it (the remote branch) switches to the VPN connection immediately and the network re-converges in less than 2 seconds. The problem we're having is when the MPLS connection comes back online the MPLS router at the HQ (the trunk router) never re-inserts the remote branch's subnet into OSPF. OSPF seems to override what's in BGP on that router. To force the connection back to the MPLS connection we have to remove the static route to the remote branch on the VPN router.
Here's the redistribute commands on the MPLS router at HQ;
router ospf 1
redistribute bgp 65016 subnets
router bgp 65016
redistribute ospf 1 match internal external 1 external 2
Any thoughts? Thanks.