Community discussions

MikroTik App
 
Abdock
Member Candidate
Member Candidate
Topic Author
Posts: 261
Joined: Sun Sep 25, 2005 10:50 pm

BGP Filter

Mon Nov 19, 2018 5:55 pm

Hello,

I am trying to set BGP filters so i only pick a range, 1.1.1.0/24 and nothing else, but no matter how i put the filters I still get full routing info.

/routing filter
add action=allow chain=INET-IN prefix=1.1.1.0/24 protocol=bgp
add action=discard chain=INET-IN protocol=bgp

I don;t know where I am going wrong.

Thank you.
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: BGP Filter

Mon Nov 19, 2018 6:35 pm

Have you applied that as the in-filter in the properties for the BGP peer?
 
Abdock
Member Candidate
Member Candidate
Topic Author
Posts: 261
Joined: Sun Sep 25, 2005 10:50 pm

Re: BGP Filter

Mon Nov 19, 2018 8:56 pm

yes its in in filter. out filter has my IP list.
 
Abdock
Member Candidate
Member Candidate
Topic Author
Posts: 261
Joined: Sun Sep 25, 2005 10:50 pm

Re: BGP Filter

Tue Nov 20, 2018 10:06 am

found out the issue, the protocol tab was open, had to close that and the rules work well.

Who is online

Users browsing this forum: No registered users and 20 guests