Page 1 of 1

failover rule

Posted: Tue Aug 30, 2011 9:25 am
by arthurmitch
can some one plz send me an example on how to do a script that changes the route cost when there is no wan connection avalible on a certain interface so the other one will take over and be used until the primary is back online

Re: failover rule

Posted: Tue Aug 30, 2011 10:59 am
by janisk
if you want to use other link only when first one is down you can simply add another route with higher cost. and on the first one set up check-gateway=ping (or arp)

Re: failover rule

Posted: Wed Aug 31, 2011 11:31 am
by arthurmitch
yes that would be the case but im running load balancing pcc with three wan connections and if the cost changes it keeps on working it only stops working when the route is disabled

Re: failover rule

Posted: Wed Aug 31, 2011 11:39 am
by peterd