V
V
Vegerad2020-06-05 09:57:19
Mikrotik
Vegerad, 2020-06-05 09:57:19

How to make two Wan on Mikrotik with two providers working at the same time with disabling the idle provider?

Kind everyone! There are two providers, 100 Mbps each. Now they are configured in Mikrotik so that they are distributed in half to all users randomly. However, if the Internet from one of the providers disappears, half of the users do not have the Internet, respectively.

How to do it right so that the fallen provider turns off and all users switch to a working one?

The network was raised by this article.

If you can paint in more detail - a housewife and with Mikrotiks are still on you.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
A
Alexey, 2020-06-07
@Vegerad

Everything is much. Much easier to do.
1. Do 2 routes.
8.8.8.8 per provider.
8.8.4.4 to another provider.
2. Make route 0.0.0.0 recursive through 8.8.8.8 with ping type check with distance 1.
3. Make route 0.0.0.0 recursive through 8.8.4.4 with ping type check with distance 2.
EVERYTHING!
No scripts needed, everything works great.

S
Stanislav Valsinats, 2020-06-05
@jesterOK

everything has been there for a long time

R
Ruslan-Strannik, 2020-06-05
@Ruslan-Strannik

google turned off?
first link. open, read, practice.

M
mniAlex, 2020-06-05
@mniAlex

If you want everything to be transparent to the user when one of the providers fails, the only option is to rent an autonomous network and configure EBGP. The rest of the options are workaround, and here, as already mentioned above, you really need to write a script that will rewrite routes when you lose ping. And in the last option, users will notice the transition to another provider (they will have to relogin in all services, there is a risk of losing unsaved data).

K
Korben5E, 2020-06-05
@Korben5E

We need to create a script that will run, say, every minute and, if there is no ping to the selected node, rewrite routes.

K
korsar182, 2020-06-05
@korsar182

In general, using dynamic routing and scripts is like shooting sparrows from a cannon, everything can be made simpler.
For example, according to this article. And no one will have to re-login.

S
Serkap, 2020-06-05
@Serkap

https://wiki.mikrotik.com/wiki/Manual:Interface/Bonding

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question