Community discussions

MikroTik App
 
dingsingo
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Sun Jul 24, 2005 9:47 pm
Location: Germany

BGP-Prefix anncouning problem

Sun Feb 07, 2021 4:16 pm

Hello,

have a problem here with anncouning a prefix via BGP.
Another AS is attached to my public AS. From there I am currently receiving a /24 prefix. But it can also be a different one on the total of /22 large. So I set a filter with

action=accept chain=bgp-out prefix=1.2.3.0/22 \
prefix-length=22-24


to inconning on the BGP session to the AS behind it. The same on he outgoing since from my AS in the public internet. Unfortunately, the "Lookingglass" on the Internet always show that I propagate the full /22, which is never the case.

Does anyone have a solution as to how the filter on the BGP Out must look that I do not care whether /24 or /22, which is always passed on exactly that way?

THx
 
joegoldman
Long time Member
Long time Member
Posts: 568
Joined: Mon May 27, 2013 2:05 am

Re: BGP-Prefix anncouning problem

Mon Feb 08, 2021 12:09 am

We would need to see an export of your /routing bgp and /routing filters to start to help.

Are you using summary routes?
BGP Networks tab?

Does the /22 exist in your route table?
Does the /24 exist in your route table?

If the /24 is learned by other BGP, does your instance have redistribute other BGP enabled?

Who is online

Users browsing this forum: No registered users and 13 guests