Stopping some connected routes advertisement in ospf.

I have kept setup and working well on 5 routers. I have two routers connected to two upstream providers with static IPs on them. Ospf is advertising them to all other routers and I don’t want that. I just want to advertise private IPs only not the public IPs. I have “redistribute connected routes” enabled on the routers.

Sent from my HTC Glacier using Tapatalk

You can use route filters.

http://wiki.mikrotik.com/wiki/Manual:Routing/Routing_filters

I will try it and report back.

Sent from my HTC Glacier using Tapatalk

Filters did the trick.

/routing filter add chain=ospf-out action=discard prefix=x.x.x.x/yy