fbpx

What is the minimum prefix advertised by bgp as an ISP for both IPv4 and IPv6 on MikroTik?

It is worth mentioning that neither in IPv4 nor in IPv6 is there a limitation on announcing prefixes. We could say that in IPv4 they do it this way to avoid overpopulation of routing tables and to not allow prefixes from internal networks to be seen on the Internet, in this way operators usually filter prefixes greater than /24 in IPv4.

Similarly, in IPv6 the RIRs do not usually assign greater than /48, although this prefix length is not fixed, it has varied over time and may vary in the future.

In the context of BGP (Border Gateway Protocol) and common ISP (Internet Service Provider) practices, the advertised prefix size may vary depending on ISP policies and recommendations from regional Internet registries (RIRs such as ARIN, RIPE, APNIC, etc.).

However, there are de facto industry standards for the minimum prefix size that is advertised over BGP to optimize the scalability of routing tables on the Internet.

For IPv4

The minimum prefix commonly accepted and advertised by ISPs in BGP is final match.. This is the smallest block that most ISPs will advertise or accept due to filtering policies designed to keep the size of the global routing table manageable. Advertising smaller blocks (such as /25 or /26) could result in these ads being filtered and not propagated across the global internet.

For IPv6

In the case of IPv6, the minimum prefix typically advertised by ISPs is final match., although /32 prefixes are common for assignments to clients. Internet registries often allocate /32 blocks to ISPs, which then subdivide these blocks to allocate to their customers.

Some ISPs may choose to advertise larger blocks (such as /32 or /36) depending on their address allocation policy and the structure of their network, but /48 is generally the minimum accepted prefix size for most IPv6 routes in Internet.

Implementation in MikroTik

On MikroTik routers, the BGP configuration allows you to specify the size of the prefix to advertise. The decision on the size of the prefix to advertise should be based on industry best practices and the policies of upstream providers and peers.

To advertise a prefix on MikroTik via BGP, you will need to configure the appropriate parameters in the RouterOS BGP menu, including defining your BGP networks and peers.

It is important to note that although you can technically configure your MikroTik router to advertise any prefix size, following the best practices and acceptance policies of your peers is crucial to ensuring that your advertisements are accepted and propagated effectively across the Internet.

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