I have two wireless backhauls that I would like to set up, using the faster of the two as the primary link and allow the RB450 to failover to the slower link if/when the primary link fails. I do not want to load balance across the two links. I envision an active/standby relationship between the two WAN links. I’ve seen a few topics that are close to this but would appreciate specific examples.
By default, OSPF interfaces get a cost value of 10. Therefore if we choose a higher cost when adding the backup interface, the traffic will to go over the other one by default, as it has a lower cost of 10.
Assuming the router at each side has the slower (backup) link on wan2 and the faster link on wan1 add
One thing about using OSPF is the the hello timers and the router dead interval. The hello timer is set for 10 and the router dead timer is set for 40 sec. All parameters must be set the same on all routers. The router dead timer declares a neighbor dead at said interval (40 sec). You can lower this time or even the the hello timers if you want a fast trigger for real time applications such as voip. Another approach is to use the netwatch utility (see manual version 2.9) and have a trigger which activates a script which changes the default route.