Can someone explain why this filter doesn’t work? (RouterOS 5.6)
/routing filter
add action=accept chain=ospf-out disabled=no invert-match=no prefix=
1.2.3.0/29 prefix-length=29
add action=discard chain=ospf-out disabled=no invert-match=no prefix=0.0.0.0/0
prefix-length=0-32
add action=accept chain=ospf-in disabled=no invert-match=no prefix=0.0.0.0/0
prefix-length=0
add action=discard chain=ospf-in disabled=no invert-match=no prefix=0.0.0.0/0
prefix-length=1-32
The configuration is:
Main (Wireless) Connection – (Cost 20) – Customer Router – (Cost 67) Backup (T-1) Connection
The inbound filter (on the Customer Router) appears to work, since the routing table only shows a default route learned by OSPF. However, the router on the end of the backup connection is receiving a bunch of routes that the customer router is receiving from the “Main Connection”. “Redistribute Other OSPF Routes” is set to “no”. Is this a bug or am I doing something wrong?
-Matt