fbpx

Is it possible to sum up the bandwidth of the ISPs, that is, if I have an ISP at 10m and another ISP at 10m, have a single sum of 20mb for all my users?

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

  1. Preparation: Make sure your MikroTik router has multiple WAN interfaces connected to your different ISPs and that each one has its own IP address.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
Did this content help you?
Facebook
Twitter
LinkedIn
WhatsApp
Telegram

Other documents in this category

Leave your comment

Your email address will not be published. Required fields are marked with *

Tutorials available at MikroLABs

No Courses Found!

DISCOUNT CODE

AN24-LIB

applies to MikroTik books and book packs

Days
Hours
Minutes
Seconds

Introduction to
OSPF - BGP - MPLS

Sign up for this Free course

MAE-RAV-ROS-240118
Days
Hours
Minutes
Seconds

Sign up for this Free course

MAS-ROS-240111

Promo for Three Kings Day!

KINGS24

15%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the Three Kings Day discount code!

* promotion valid until Sunday January 7, 2024
** the code (KINGS24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

New Year's Eve Promo!

NY24

20%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the New Year's Eve discount code!

* promotion valid until Monday, January 1, 2024
** the code (NY24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

Christmas discounts!

XMAS23

30%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the discount code for Christmas!!!

**codes are applied in the shopping cart
Promo valid until Monday December 25, 2023

CYBER WEEK DISCOUNTS

CW23-MK

17%

all MikroTik OnLine courses

CW23-AX

30%

all Academy courses

CW23-LIB

25%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Cyber ​​Week!!!

**codes are applied in the shopping cart
Promo valid until Sunday December 3, 2023

BLACK FRIDAY DISCOUNTS

BF23-MX

22%

all MikroTik OnLine courses

BF23-AX

35%

all Academy courses

BF23-LIB

30%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Black Friday!!!

**Codes are applied in the shopping cart

codes are applied in the shopping cart
valid until Sunday November 26, 2023

Days
Hours
Minutes
Seconds

Sign up for this Free course

MAE-VPN-SET-231115

Halloween promo

Take advantage of discount codes for Halloween.

Codes are applied in the shopping cart

HW23-MK

11% discount on all MikroTik OnLine courses

11%

HW23-AX

30% discount on all Academy courses

30%

HW23-LIB

25% discount on all MikroTik Books and Book Packs

25%

Register and participate in the free course Introduction to Advanced Routing with MikroTik (MAE-RAV-ROS)

Today (Wednesday) October 11, 2023
7pm to 11pm (Colombia, Ecuador, Peru)

MAE-RAV-ROS-231011