Automatic Failover with Mikrotk
Configuring automatic failover with Mikrotik routers can be very easy and straightforward, yet most administrators find it difficult.
This is because with Mikrotik, what most people configure is actually not automatic failover. They configure two gateways with different administrative distances and they set the gateway check to ping. With this, the link will NEVER fail over unless the cable is physically disconnected.
To set up a complete automatic failover that does not require you to unplug the cable, do the following:
On Client Router, configure your two WAN interfaces to connect to your ISPs using the IP addresses given to you by your providers. For the automatic failover, do this:
/ip route
add dst-address=4.2.2.3 gateway=10.10.1.1 scope=10
add dst-address=8.8.8.8 gateway=100.50.1.1 scope=10
add distance=1 gateway=4.2.2.3 check-gateway=ping
add distance=2 gateway=8.8.8.8 check-gateway=ping
its a lie
Works well,except for the NAT that you have configured on one of your WAN interfaces.Remove the nat on the WAN interface and only specify your LAN IPs for natting.
What about roadblocking, if I have 2Mbps for each WAN, does it gives me 4Mbps ?
You can use per connection classifier to achieve load balancing on a dual WAN environment. However, connections are tied to the link they were establish and a speed test cannot give a combined capacity of both links as the connect to the speedtest server will be tied to a link. See link herehttps://www.timigate.com/2018/02/how-to-configure-load-balancing-of.html