OSPF Route Summarization on MikroTik

Managing large-scale networks with dynamic routing protocols like OSPF requires careful optimization to balance scalability, efficiency, and resource utilization. One of the most effective techniques to achieve this is route aggregation (or route summarization). In this tutorial, I will dive into the details of OSPF Multi-Area Route Aggregation using MikroTik RouterOS.

 

Why OSPF Route Aggregation?

In OSPF, every router maintains a detailed database of all routes within its area. While this level of detail ensures precise routing, it also leads to challenges as networks grow:

  • Increased Routing Table Size: Large numbers of individual routes can overwhelm router resources.
  • Longer Convergence Times: As the network grows, OSPF requires more time to calculate and propagate changes.
  • Complexity: Managing and troubleshooting numerous routes can be time-consuming.

 

What Is Route Aggregation?

Route aggregation simplifies OSPF routing by combining multiple contiguous networks into a single summary route. This reduces the number of entries in the routing table and the amount of OSPF traffic. Aggregation is typically performed on an Area Border Router (ABR), which connects OSPF areas and redistributes summarized routes between them.

Lab Scenario

This tutorial uses a three-router lab to demonstrate OSPF route aggregation:

  1. Router 1 (Area 0): Part of the backbone area. This router represents the core of the network.
  2. Router 2 (ABR): The Area Border Router, connecting Area 0 and Area 1. Router 2 will aggregate routes advertised from Area 1 and share the summary with Area 0.
  3. Router 3 (Area 1): Advertises multiple networks (172.16.1.0/24 to 172.16.4.0/24) to the ABR (Router 2).

Lab Objectives:

  1. Configure four networks (172.16.1.0/24, 172.16.2.0/24, 172.16.3.0/24, 172.16.4.0/24) on Router 3 in Area 1.
  2. Verify that Router 1 (in Area 0) learns the four networks individually.
  3. Configure a summary address on Router 2 (the ABR) to aggregate the four networks.
  4. Ensure Router 1 sees only the summary address and verify connectivity to all the original networks.

 

 

Step 1: Configuring Bridge Interfaces and IP Addresses on Router 3

Router 3 represents Area 1, which contains the networks to be summarized. We begin by creating four bridge interfaces on Router 3, assigning each one an IP address.

Configuration:

[admin@Router3] > /interface/bridge/add name=bridge2

[admin@Router3] > /interface/bridge/add name=bridge3

[admin@Router3] > /interface/bridge/add name=bridge4

[admin@Router3] > /interface/bridge/add name=bridge5

 

[admin@Router3] > /ip/address/add address=172.16.1.1/24 interface=bridge2

[admin@Router3] > /ip/address/add address=172.16.2.1/24 interface=bridge3

[admin@Router3] > /ip/address/add address=172.16.3.1/24 interface=bridge4

[admin@Router3] > /ip/address/add address=172.16.4.1/24 interface=bridge5

 

[admin@Router3] > /ip/address/print

Flags: D – dynamic, X – disabled, I – invalid

# ADDRESS NETWORK INTERFACE

0 172.16.1.1/24 172.16.1.0 bridge2

1 172.16.2.1/24 172.16.2.0 bridge3

2 172.16.3.1/24 172.16.3.0 bridge4

3 172.16.4.1/24 172.16.4.0 bridge5

Step 2: Advertising Networks in OSPF on Router 3

To include the four networks in OSPF, we add them to Area 1.

Apologies, the Full Lesson Access is Only for Members....

\

Get Access to all Lessons from different Vendors

\

Affordable Price to Enhance your IT Skills!

\

Always Accessing all Lessons including the New Added Ones

100% Satisfaction Guaranteed!

You can cancel your membership at anytime.
No Questions Asked Whatsover!

0 Comments

Submit a Comment

About