fbpx

Community configurations in MikroTik RouterOS: Optimizing network management

Facebook
Twitter
LinkedIn
WhatsApp
Telegram

In the area of ​​network administration, Community configurations play a fundamental role in allowing the grouping and tagging of routes within an Autonomous System (AS) to facilitate its management and optimize routing.

At the end of the article you will find a small test that will allow you assess the knowledge acquired in this reading

In this article, we will explore what Community configurations are, how they are used, and provide practical examples of their implementation in the MikroTik RouterOS operating system.

1. What are Community?

In the context of network routing, a Community is a numerical or alphanumeric label attached to a specific route.

Community configurations allow network administrators to group and control the flow of traffic within an AS.

Each Community has a predefined meaning that indicates how a particular route should be handled. These labels are used by routers to make routing decisions.

2. Community Settings Utilities:

2.1. Routing control

Community configurations allow network administrators to control traffic flow using routing policies based on specific labels.

For example, you can set a policy that prioritizes certain types of traffic or avoids specific routes to optimize network performance.

2.2. Route filtering

By assigning Community settings to routes, administrators can filter and control which routes are advertised or accepted in different parts of the network.

This allows granular control over which traffic is allowed or denied based on specific criteria, such as geographic location, service provider, or performance requirements.

2.3. Implementation of traffic policies

Using Community settings, administrators can apply detailed and specific traffic policies on their network.

For example, they can establish preferential routing policies for certain types of traffic, such as voice over IP (VoIP) or real-time streaming services, ensuring better quality of service (QoS) for these critical applications.

Community settings in MikroTik RouterOS

3. Examples of creating Community in MikroTik RouterOS:

3.1. Route filtering

MikroTik RouterOS also allows you to filter routes using Community settings.

For example, to filter all routes with the Community “65000:200”, you can use the command

				
					/routing filter add chain=bgp-out prefix=0.0.0.0/0 set-bgp-communities=65000:200 action=discard
				
			

3.2. Routing policies

By manipulating Community configurations, routing policies can be applied.

For example, to set a preferential routing policy for a specific type of traffic, you can use the command

				
					/routing filter add chain=bgp-out prefix=192.168.0.0/24 set-bgp-communities=65000:300 action=accept
				
			

4. Format of a Community

Within an Autonomous System (AS), a community is represented as a numerical or alphanumeric value attached to a specific route. The format of a community within an SA is generally made up of two parts: the Autonomous System number and a specific value. Below is an example of a community format in the context of an SA:

Community format: ASX:YY

Where:

– ASX represents the number of the Autonomous System to which the community belongs.

– YY is a specific value that is assigned to the community to indicate its purpose or function.

 

It is important to note that the format and exact interpretation of communities may vary depending on the SA and routing protocol used. Additionally, specific values ​​assigned to communities can have predefined meanings or be defined by network administrators based on their needs.

Communities are used for a variety of purposes within an SA, such as routing control, route filtering, traffic policy enforcement, and route aggregation. The interpretation and use of communities depends on the router and the routing protocol implemented in the SA.

Conclusion

Community configurations are powerful tools for optimizing network management and traffic routing in an Autonomous System.

With MikroTik RouterOS, administrators can assign Community tags to routes, filter routes based on specific tags, and apply detailed routing policies.

By properly understanding and leveraging Community configurations, administrators can achieve greater efficiency, security, and control over their networks.

Brief knowledge quiz

What do you think of this article?
Do you dare to evaluate your learned knowledge?

QUIZ - Community Configurations in MikroTik RouterOS: Optimizing network management

Recommended book for this article

Do you want to suggest a topic?

Every week we post new content. Do you want us to talk about something specific?
Topic for the next blog

Leave a comment

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

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