Community discussions

MikroTik App
just joined
Topic Author
Posts: 1
Joined: Fri Nov 21, 2014 6:41 pm

Dual wireless link failover

Fri Nov 21, 2014 6:55 pm

We currently have a network that spans over a river. We used to have a single link between the building but when a ship passes or berths inline the link drops. So we have put in a second link that goes further down river to a pole and then on again to building 2.

Currently we have to swap the link manually when the first link goes down.

The network is all on the same IP range,

We need something that can stop traffic going down link 2 unless the link 1 is down.

Is there anyway that with a mikrotik router we can automate this?
You do not have the required permissions to view the files attached to this post.
Member Candidate
Member Candidate
Posts: 149
Joined: Sat Oct 31, 2009 9:27 pm

Re: Dual wireless link failover

Tue Nov 25, 2014 11:03 pm

you can do this with spanning tree, on the current gear (if it's supported - it should be supported) or with STP (spanning tree protocol) on mikrotik routers, or even better, with OSPF and BFD with mikrotik routers. There are various tutorials on how to do that, including in the wiki.
User avatar
Posts: 489
Joined: Thu Mar 03, 2005 4:14 pm
Location: Suffolk, UK.

Re: Dual wireless link failover

Wed Nov 26, 2014 3:37 pm

You can do that using routes with different distances along with check-gateway enabled.

Nick Shore MTCNA MTCWE MTCRE MTCINE MTCTCE - MultiThread Consultants
Get your MikroTik RBs and Training:
Official UK MikroTik Distributor
IRC chan: #routerboard on (IPv4 and IPv6)
just joined
Posts: 1
Joined: Wed Dec 17, 2014 2:23 pm

Re: Dual wireless link failover

Wed Dec 17, 2014 2:39 pm


This will not work as Mikrotik does not implement NHRP protocol, as that is required for mGRE tunnels to work. You will have to use point-to-point GRE tunnels between Cisco and Mikrotik gear. Also, Mikrotik does not implement EIGRP protocol, so even if you would get mGRE running, you would still have no possibility to exchange routes with your peer. Just get a refurbished Cisco 1841 for around 100$ to do that for you.
Posts: 574
Joined: Mon Mar 03, 2008 1:03 pm
Location: London - UK

Re: Dual wireless link failover

Fri Dec 19, 2014 4:51 pm

faizan, get out of cisco schemes, there's no need of GRE tunnels or routing.

OP needs a L2 network with two links... rSTP will do the trick. Priorize the main link over the backup link and it will disable link2 unless link1 is down. STP and Rapid STP are standard protocols supported from every smart switch or router.
If you want to make it fancy, you can set OSPF between routers and VPLS/MPLS (or GRE/EoIP tunnel to make faizan happy) to ensure L2 link.
Renato Bernardi

skype: medtech5
Member Candidate
Member Candidate
Posts: 180
Joined: Fri Oct 08, 2010 5:11 am

Re: Dual wireless link failover

Sun Dec 21, 2014 7:41 pm

There are a number of ways to do this....
Depending on the preference of solution choice...

You could do this via OSPF.... (you will need to modify the setup to suit your needs)

You could do this via BGP.. (massive overkill)

You could do this via link bonding... (you will need to modify the setup to suit your needs_

You could do this via interface bonding...

My personal choice would be either interface bonding or link bonding...


Who is online

Users browsing this forum: No registered users and 6 guests