Community discussions

MikroTik App
 
DiogoT
just joined
Topic Author
Posts: 19
Joined: Tue Feb 21, 2017 7:31 pm

Failover

Tue Mar 21, 2017 6:53 pm

Hello,

I have the following network topology, where there are two offices, and the traffic of the office 1 (R1) passes through VPN to the office 2 (R2).
In office 1 there are two WAN connections from different operators.
How to automatically move from the WAN to another, when the problem originates in the internet (cloud), without being through scripts?
topology.jpg
You do not have the required permissions to view the files attached to this post.
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: Failover

Tue Mar 21, 2017 9:18 pm

Create 2 tunnels one for each wan. Use OSPF to failover between the two tunnels.
 
DiogoT
just joined
Topic Author
Posts: 19
Joined: Tue Feb 21, 2017 7:31 pm

Re: Failover

Wed Mar 22, 2017 2:13 pm

Create 2 tunnels one for each wan. Use OSPF to failover between the two tunnels.

Thanks. However, it is not the most pleasant solution, since if there are more connections, it requires having twice IP's occupied for the VPN.

If it is possible to ping by choosing the interface, why can not I move to another WAN without a script?
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: Failover

Wed Mar 22, 2017 2:16 pm

There is no need for extra IP's you just creating tunnels between the two points and applying a lan ip most likely /30 to the tunnels. then OSPF does the rest. No need for scripts or anything.
 
LeonardoAssuncao
just joined
Posts: 2
Joined: Wed Mar 22, 2017 6:47 pm

Re: Failover

Wed Mar 29, 2017 1:29 pm

I have interest to view failover without script and ospf.
I see Routing Failover without Scripting in the mikrotik wiki.
https://wiki.mikrotik.com/wiki/Advanced ... _Scripting
But uses two ip's for different gateways and I have tested that it does not work very well
 
dcosta
just joined
Posts: 8
Joined: Mon Mar 28, 2016 7:42 pm

Re: Failover

Tue Apr 11, 2017 8:33 pm

Hello,

I think it would be a good enhancement if Mikrotik implement the following behavior:
- On Routes we can define a “Check Gateway”->”Ping” to check if route is UP or DOWN. [alredy Implemented]
- We are also able to set a ping through a specific interface. Ex “ping 8.8.8.8 interface=BVI329”. [alredy Implemented]
- It was very useful if we could merge this two functionalities and on routes be able to set an IP target, other than gateway, to check if route is UP or DOWN [good enhancement]

Note: The interface could be automaticaly set based on route gateway interface
Thanks,
David