Answer the question
In order to leave comments, you need to log in
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
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.
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).
We need to create a script that will run, say, every minute and, if there is no ping to the selected node, rewrite routes.
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question