Community discussions

MikroTik App
 
StephenJ
just joined
Topic Author
Posts: 3
Joined: Wed Feb 24, 2010 12:27 am

Newbie Question about automatic failover

Wed Feb 24, 2010 12:38 am

I am running a small, private business wireless network that links several geographical locations and about 15-20 clients to our main office and thus the internet. We are getting setup with a backup ISP and I am trying to figure out how to set it up for automatic failover if our primary ISP goes down. Now, I know that RouterOS allows for this between two RouterOS routers with bonding. But I am trying to setup a system that monitors both connections to the internet routes the traffic over backup link if the primary link fails. Now, I am assuming that it would be easiest if the router pinged each ISP's internet facing gateway and then re-routes if one goes down, I can't tell whether the RouterOS can do this. Direction would be appreciated.

Stephen
 
thermant
Frequent Visitor
Frequent Visitor
Posts: 93
Joined: Sat Apr 21, 2007 6:17 am

Re: Newbie Question about automatic failover

Fri Feb 26, 2010 4:17 am

Hi Stephen,

I don't have lots of expertise with this auto failover thing, but this is how I setup my 2 ISP network, and the failover seems to work just fine.
/ip route
add check-gateway=ping comment="ISP1" disabled=no distance=1 \
    dst-address=0.0.0.0/0 gateway=aaa.bbb.ccc.ddd scope=30 target-scope=10
add comment="Failover/ISP2" disabled=no distance=11 \
    dst-address=0.0.0.0/0 gateway=eee.fff.ggg.hhh scope=30 target-scope=10
Hope this helps.

-Z-

Who is online

Users browsing this forum: alexunderboots, yeahunter and 27 guests