Community discussions

MikroTik App
 
DaneelOlivaw200
just joined
Topic Author
Posts: 1
Joined: Wed Sep 21, 2022 3:07 am

BGP Aggregate-Address alternative in Mikrotik

Wed Sep 21, 2022 3:14 am

Hi there, new Mikrotik user here. Haven't even made it to production yet, but seems to work well so far!

So, on a Cisco device, I might use something like the following:

router bgp 65001
aggregate-address 1.1.1.0 255.255.255.0
neighbor 192.168.1.1 remote-as 65001
neighbor <isp_address> remote-as 101
redistribute connected

interface GigabitEthernet0/0/1
ip address 1.1.1.1 255.255.255.128

interface GigabitEthernet0/0/2
ip address 1.1.1.128 255.255.255.128

interface GigabitEthernet0/0/3
ip address <isp_customer_address> 255.255.255.252

The 1.1.1.0/24 prefix is advertised to the ISP.

How do I specify the "aggregate-address" command in Mikrotik?

Is this something configured in the filter?

The older versions appear to have an obvious command in the documentation, but 7.x version doesn't seem to show this.

How do I go about applying something like this?
 
jmay
Member
Member
Posts: 335
Joined: Tue Jun 23, 2009 8:26 pm

Re: BGP Aggregate-Address alternative in Mikrotik

Mon Sep 26, 2022 6:33 pm

I would also like to know, I just found out the hard way that going from 6 to 7 has changed so I had to downgrade. I wasn't getting any aggregates advertised at all. What are we missing?
 
jmay
Member
Member
Posts: 335
Joined: Tue Jun 23, 2009 8:26 pm

Re: BGP Aggregate-Address alternative in Mikrotik

Mon Sep 26, 2022 7:09 pm

I just watched a turorial on youtube and it seems that now we create a firewalll list with the networks we want to advertise, then under our BGP filter we set that address list under Output Network.

Is this correct? Also the video made it sound like this is a temporary work around for v7. Can anyone confirm if this will be the way going forward or will it eventually change again?
 
jmay
Member
Member
Posts: 335
Joined: Tue Jun 23, 2009 8:26 pm

Re: BGP Aggregate-Address alternative in Mikrotik

Mon Sep 26, 2022 9:14 pm

Ok, I pieced together enough information to figure out that with v7 you have to create an address list for your bgp routes and create a blackhole route for anything less than a /24 and the advertises get sent out properly. What's the advantage to all this?

Who is online

Users browsing this forum: No registered users and 11 guests