Yes, it is possible to summarize or aggregate the bandwidth of multiple Internet connections (ISPs) on a MikroTik device to increase the total bandwidth available to your users.
This technique is commonly known as load balancing.
Although technically not “sums” speeds into a single 20 Mbps flow rate that acts as such, you can manage multiple connections so that traffic is distributed between them, maximizing the use of the combined bandwidth available.
How to Configure Load Balancing in MikroTik
- Preparation: Make sure your MikroTik router has multiple WAN interfaces connected to your different ISPs and that each one has its own IP address.
- Route Configuration:
- In RouterOS, you can configure routes to distribute traffic between the two ISPs. Use the advanced routing tool to establish multiple default routes with different gateways, corresponding to each ISP connection.
- Configure route metrics or weight to manage how traffic will be distributed. Routes can be configured so that traffic is divided equally or according to any other desired proportion.
- Mangrove and Route Marking:
- It uses mangle rules to mark packets based on certain criteria, such as source or destination addresses, ports, or connection types.
- Set route marking rules that direct marked packets through a specific ISP interface.
- NAT (Network Address Translation):
- Be sure to configure NAT for each of the WAN interfaces so that outgoing traffic is correctly translated through the appropriate IP address of each ISP.
- Verification and Monitoring:
- Once configured, monitor traffic and routes to ensure load balancing is working as expected. MikroTik provides tools to view traffic in real time, which is useful for adjusting and optimizing settings.
Additional considerations
- Session Persistence: For session-sensitive applications such as online banking or VPN sessions, it is important to ensure that sessions do not change from one ISP connection to another, as this can cause disconnections or errors. Mangrove rules can be configured to properly handle these connections.
- Reliability and Failover: In addition to load balancing, consider setting up automatic failover so that if a connection fails, traffic can be automatically rerouted through the other ISP without service interruption.
Setting up load balancing on a MikroTik device can be complex, but it offers an effective way to maximize the use of available bandwidth and improve Internet connection redundancy.
There are no tags for this post.