So there I have a network where one of the routers is connected to some littly different network, unfortunately with pretty similar IP address range. I was wondering if there's an easy way to block this IP range from being routed to other machines (the connected route distributes self via OSPF, which I don't want). So I assumed I need routing filters, and tried the most dead simple approach:
(route appears in routes as 'DAC a.b.c.d/24 reachable, pref.source a.b.c.1' )
Code: Select all
/routing filter add chain=ospf-out prefix=a.b.c.d/24 prefix-length=24 action=discard
But actually nothing happened. I have also tried several combinations of possible chains, matches and actions, but nothing has helped.
Q: Am I doing something wrong, or is this a completely wrong approach and something better exists?