So here, we have to create our route, so that we can access the internet via this two network using our created two groups. Similarly group1 and group2
One of the most important part of this configuration is creating the Mangle rules, so now that we have succeeded, we will proceed the configuration by configure routing so that, these different user groups can use different WAN connection to access these two ISP’s.
It is going to be easy and simple if we work together, though the parameters you need my not be the same but all you need, to configure load balancing routing, properly is right here.
So here we will start by clicking on IP > Routes menu option.
The Route configuration List window will appear now.
And then we will Click on add new button (PLUS Sign) from this window. This will in turn pop out New Route window for parameters to be input.
Here we are going to Put ISP1 gateway address (here, 192.168.88.1) in Gateway input field and choose your routing mark (here, GroupA) for this gateway from Routing Mark drop-down menu and then click Apply and OK button.
Similarly, click on add new button (+) and put ISP2 gateway address (here, 22.214.171.124) in Gateway input field and choose your routing mark (here, GroupB) for this gateway from Routing Mark drop-down menu and then click Apply and OK button.
Again, click on add new button (+) and put any ISP gateway (here, 172.22.15.1) and Apply and OK button. If you don’t apply this route, your MikroTik router will not be able to connect to the internet.
After this configuration, your GroupA users will access internet through ISP1 gateway and GroupB users will access internet through ISP2 gateway. So, you will get a perfect load balancing network with this configuration.
In my next post we will discus on how to put this link as a redundancy link, so that you will have a failover once one of the links go down
Now one more piece I want to add is that if you do the above load balancing configuration for your network, you have to disable Mangle rules as well as routing rules manually if any ISP link goes down suddenly and create a new route rule for passing all users traffic through the active ISP gateway. Or for me what I do sometime is to force the traffic to go through one link by unplugging the WAN link that is down, in this case it might not be efficient but you might need to try it.
Thanks for staying with us and please leave a comment with us if you have any challenge doing the above configuration.