fbpx

If you have a mesh type network in mikrotik with ospf and with two internet channels at different ends, and each router in the mesh has its respective lan. How should the default route of the lan users be generated and how will roaming between lans be ensured for the users?

In this case, two devices that function as ASBR should be configured to generate the redistribution of the default route in the ASBR, this will allow the necessary redundancy to be had so that when one of these ASBR does not work, the traffic can pass through the ASBR. second ASBR that generated the default route redistributions.

Having two routers configured as ASBRs (Autonomous System Boundary Routers) allows for more effective routing management and provides high availability for Internet connections. Let's see how to implement it step by step:

Configuring ASBRs for Default Route Redistribution

  1. ASBR Selection: Choose two routers in strategic locations, preferably at the ends where Internet accesses connect, to act as ASBRs. These routers will be responsible for redistributing the default routes within the OSPF domain.
  2. Default Route Redistribution:
    • On each ASBR, first make sure you have a static default route configured to its respective Internet access.
    • Then, in the OSPF configuration of each ASBR, enable redistribution of this route by default in OSPF. This can be done through the command line interface or graphical configuration tools, specifically indicating that you want to redistribute the default routes.
  3. Cost Adjustments (Optional): To manage how one default route is preferred over another (for example, whether one of the Internet accesses should be preferred over the other under normal conditions), you can adjust the cost of the redistributed route in each ASBR. This will affect the routing decision within OSPF to select the primary and secondary default route.

Guaranteeing Redundancy

  • Monitoring and Automatic Failover: OSPF will automatically adjust routes within the network if one of the ASBRs stops advertising its default route, for example, due to a failure in the Internet access it is connected to. This provides an automatic failover mechanism so that traffic can be rerouted through the other ASBR without manual intervention.
  • Load Balancing Considerations: If both Internet accesses are active and you want to load balance between them, be sure to correctly configure costs on the redistributed paths and consider using ECMP (Equal-Cost Multi-Path) to allow OSPF to send traffic through both ASBRs equitably.

Testing and Validation

  • Test to ensure that default route redistribution is working as expected. You can do this by checking the routing tables on the other OSPF routers to see if they are learning the default route over OSPF.
  • Test failure scenarios by manually disconnecting one of the Internet accesses to verify that traffic is automatically rerouted through the other ASBR.

Configuring two ASBRs for default route redistribution in an OSPF network provides a robust redundancy solution, ensuring that the network can continue to operate efficiently even if one of the Internet accesses fails.

This configuration improves network resiliency and availability, critical elements for any modern network infrastructure.

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