Community discussions

MikroTik App
 
DiegoMax
just joined
Topic Author
Posts: 10
Joined: Mon May 23, 2016 5:54 am

RouterOS 7 OSPF filters question

Sat Oct 29, 2022 7:38 am

So i wrote this filter in order to filter out the dynamic PPPoE /32 routes in one of my concentrators running 7.6:
if (dst in 100.64.8.0/22 && dst-len == 32) { reject; }
The above filter applied to the ospf out chain simple removes EVERY single route from being advertised, however, being explicit about the else clause like this:
if (dst in 100.64.8.0/22 && dst-len == 32) { reject; } else {accept;}
just works as expected and only routes in the 100.64.8.0/22 stop being advertised.

Is this a bug on the filters or it works like this by design ?

// Diego
Last edited by DiegoMax on Sat Oct 29, 2022 2:23 pm, edited 1 time in total.
 
akakua
Frequent Visitor
Frequent Visitor
Posts: 50
Joined: Mon Apr 06, 2020 4:52 pm

Re: RouterOS 7 OSPF filters bug ?

Sat Oct 29, 2022 9:05 am

Be aware that the default action of the routing filter chain is "reject"

https://help.mikrotik.com/docs/display/ ... nd+Filters
 
DiegoMax
just joined
Topic Author
Posts: 10
Joined: Mon May 23, 2016 5:54 am

Re: RouterOS 7 OSPF filters bug ?

Sat Oct 29, 2022 2:25 pm

Be aware that the default action of the routing filter chain is "reject"

https://help.mikrotik.com/docs/display/ ... nd+Filters
Thanks a lot for pointing this out, i never saw that quote on the docs before.

I also updated the title on this post to remove the word "bug" from it to avoid confussion.

Cheers.
// Diego

Who is online

Users browsing this forum: Bing [Bot], loloski and 11 guests