Community discussions

MikroTik App
 
exa
newbie
Topic Author
Posts: 37
Joined: Sat Jul 04, 2009 2:07 pm

[routing filter] disable OSPF distribution of certain routes

Mon Mar 14, 2011 5:26 pm

Hi,

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:
/routing filter add chain=ospf-out prefix=a.b.c.d/24 prefix-length=24 action=discard
(route appears in routes as 'DAC a.b.c.d/24 reachable, pref.source a.b.c.1' )

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?

Thanks
-mk
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 6043
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: [routing filter] disable OSPF distribution of certain ro

Mon Mar 14, 2011 11:26 pm

only external routes can be filtered
 
exa
newbie
Topic Author
Posts: 37
Joined: Sat Jul 04, 2009 2:07 pm

Re: [routing filter] disable OSPF distribution of certain ro

Tue Mar 15, 2011 9:59 am

only external routes can be filtered
Uh, okay. Any other method how to achieve this?

thx
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 6043
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: [routing filter] disable OSPF distribution of certain ro

Tue Mar 15, 2011 11:00 am

simply do not distribute routes as inter/intra-area that you want to filter out.

Who is online

Users browsing this forum: No registered users and 8 guests