Load balancing & failover with multiple WAN on MikroTik?

Hello everyone,

I’m seeking assistance with configuring load balancing and failover on my MikroTik router. I have multiple WAN connections from different ISPs and I want to distribute network traffic across them for efficient bandwidth utilization. Additionally, I need the router to automatically switch to a sassa connection if one goes down to ensure uninterrupted internet access. Any guidance on how to set up load balancing and failover would be greatly appreciated.

Thank you!

Use this video from Martins.
https://www.youtube.com/watch?v=nlb7XAv57tw

PS don’t enable subtitles, you will miss some important parts shown on the screen. Been there, done that :laughing:

Then post your complete config here.
/export file=anynameyouwish ( minus router serial number, any public WANIP information, keys etc..).

Ensure you discuss any port forwardings or VPNs in the mix.
Any subnets not involved in PCC ( if any ).
Other special traffic flows you need…
Did you plan on recursive routing or not..

As far as failover goes, is there a specific approach you were thinking of.
Assuming you have 3 wans, ( two is even easier ).
Normally on the main routing table you delineate the order there for failover
wan1 to wan2 to wan3 etc…
Since the router if a routing table is not available will go to the main table and find an alternate route if available…

In other words it can be that easy!! If wan1 fails all its traffic will go to WAN2, if WAN2 fails all its traffic will go to WAN1, if both WAN1 and WAN2 fail all traffic goes to WAN3 etc…
Are all ISPs different ??

OR it can get complex and you want if WAN1 fails to spread the remaining users over WAN2 and WAN3
WAN2 to WAN1+WAN3 and
WAN3 to WAN2+WAN2

Setting up load balancing and failover with multiple WANs on MikroTik is a smart way to ensure network stability and optimize bandwidth usage. You can use PCC (Per Connection Classifier) or ECMP routing methods to distribute traffic and set up scripts or routing rules for automatic failover. This setup helps maintain connectivity even if one ISP goes down. Similarly, just as load balancing ensures uptime for networks, tools like the SASSA Status Check help ensure continuous access to critical services by letting users monitor their SRD application status without disruption.