fbpx

Can dynamic routes in MikroTik have distance 2 or 3?

Each dynamic routing protocol has administrative distances already defined.

In MikroTik RouterOS, the “distance” of a dynamic route is a concept that represents the priority of the route; that is, a metric that helps determine which route to use when there are multiple routes to the same destination. This distance is commonly known as “administrative distance” in the networking world.

The lower the distance number, the higher the priority of that route in the routing system.

Distance Settings on Dynamic Routes

In MikroTik RouterOS, it is possible to assign or change the distance of dynamic routes. By default, each routing protocol has its own predefined distance, but you can configure it manually to fit the specific needs of your network. For example:

  • RIP It has a default distance of 120.
  • OSPF It has a default distance of 110.
  • BGP has a default distance of 20 for external routes (eBGP) and 200 for internal routes (iBGP).

For routes learned through dynamic methods like OSPF or BGP, you can set the distance to values ​​such as 2 or 3 if you want these routes to have a higher priority compared to other routes learned through different protocols or static methods. This is useful in scenarios where you need to fine-tune route selection based on specific network policies or redundancy requirements.

How to Change the Distance in MikroTik

To change the distance of a dynamic route in MikroTik, you can do so through the specific routing protocol settings. Here's a generic example of how you could do it for OSPF:

  1. Access MikroTik RouterOS via WinBox, WebFig, or SSH.
  2. Navigate to the OSPF section (or whatever other routing protocol you're configuring):

    /routing ospf instance
  3. Edit the OSPF instance to change the distance:

    set [find default=yes] distance=3

This setting will change the administrative distance of all routes learned by OSPF to 3. It is important to note that changing the administrative distance can have a significant impact on the routing behavior of your network, and should be done carefully and considering the entire network topology.

In short, yes, it is possible to configure dynamic routes in MikroTik to have a distance of 2 or 3, allowing you to manipulate and prioritize network traffic according to your operational and strategic needs.

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

Present in several = 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

Present in several = 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

Present in several = 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

Present in several = 17%

all MikroTik OnLine courses

CW23-AX

Present in several = 30%

all Academy courses

CW23-LIB

Present in several = 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

Present in several = 22%

all MikroTik OnLine courses

BF23-AX

Present in several = 35%

all Academy courses

BF23-LIB

Present in several = 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