Answer the question
In order to leave comments, you need to log in
What is the best way to implement a scheme with two providers?
Greetings to everyone, tell me there is the following scheme, I will try to describe it in more detail:
There is a single local network spaced apart in 3 different buildings (highlighted in green), somewhere launched between each other via optics, somewhere via copper, and 2 providers are connected at different ends of this local networks. The task is the following:
1) It is desirable to run that the client/s physically plugged into the CRS-125 use ISP1.
2) Users plugged in D-Link 808HV and RB-951 used ISP2.
it happens that communication is rare, but it can be lost between Mikrotik CRS-125 and RB-951, so they need to work independently on different ISPs. But!
3) Most importantly, you also need to consider that if all parts of the local network are working, but one of the ISPs falls, everyone automatically switches to the second ISP that is available.
How to implement this scheme more correctly (I hope I could describe it more or less normally)?
It seems to me, and as I depicted it in the diagram, organize a VLAN between two Mikrotiks so that ISP1 is good to RB951, in which 2 ISPs will already meet, and on it already make a Failover version. But now I don’t really like it because if the connection between two Mikrotiks is lost, then the client on the CRS-125 will be left without the Internet at all.
How to do everything more intelligently? Tell...
Maybe this is somehow solved by dynamic routing or, for example, the DHCP server will monitor and replace the gateway if part of the network falls off, or something else?
Answer the question
In order to leave comments, you need to log in
Good day.
1) Physically, I would not, better at customer addresses:
/ip firewall mangle
add action=mark-routing chain=prerouting disabled=no dst-address-list new-routing-mark=via_crs125 passthrough=no src-address='адреса клиентов которых выпускаем через crs125'
/ip route
add disabled=no distance=1 gateway='шлюз ISP1' routing-mark=via_crs125
/ip firewall mangle
add action=mark-routing chain=prerouting disabled=yes dst-address-list new-routing-mark=via_crs125 passthrough=no src-address='все подсеть'
add action=mark-routing chain=prerouting disabled=yes dst-address-list new-routing-mark=via_rb951 passthrough=no src-address='все подсеть'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question