fbpx

When working with a balancer, should the administrative distances on the default routes be different?

Table of contents

When configuring a load balancer on a MikroTik device, using administrative distances (AD) on default routes can be a crucial tool in determining how the router handles multiple routes to the same destination.

Administrative distance is a metric used to prefer one route over another when there are several possible routes to the same destination. A lower administrative distance has higher priority over a higher one.

In a load balancing scenario, you can have multiple egress routes (for example, through different Internet connections) configured on the MikroTik device. This is where administrative distances play an important role:

  • No need for different distances for basic balancing: For basic load balancing configurations where you want traffic to be distributed equally across multiple WAN connections, it is not strictly necessary to assign different administrative distances to each route by default. MikroTik can handle load balancing using other methods, such as PCC (Per Connection Classifier), without the need to modify administrative distances.
  • Using different distances for redundancy or failover: Administrative distances become relevant in scenarios where you want to implement redundancy or failover in addition to load balancing. In these cases, assigning different administrative distances to the default routes allows the router to decide which route to use preferably and which to use in case the primary route fails. For example, you could configure a primary WAN connection with a lower administrative distance (for example, AD=1) and a backup connection with a higher distance (for example, AD=2). This way, under normal conditions, all traffic would be directed through the main connection, but if it fails, the router would automatically start using the backup connection.

Conclusion

The decision to use different administrative distances in the default routes within a load balancing context in MikroTik depends on the specific objectives of your network:

  • For pure load balancing (equitable traffic distribution), it is not necessary to assign different administrative distances to the default routes.
  • To implement redundancy or failover Along with load balancing, assigning different administrative distances to default routes is a recommended practice to ensure that traffic is automatically rerouted via the alternate route in the event of a primary connection failure.

In any case, load balancing and route management configuration must be carefully planned and tested to ensure that the network operates as expected under various conditions.

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