OSPF Filter help needed

Hi Guys

Please see below diagram.

How do I get router A to advertise with OSPF 10.0.0.1 only via wlan1 and 10.0.0.2 only via wlan2?

So when wlan2 goes down, then I do not want to access Lobridge2:10.0.0.2 via wlan1.

I want to use this to monitor OSPF between links. So if Lobridge2:10.0.0.2 is unreachable from router D, then I know that OSPF has dropped between Router A and Router B

PS, Assume OSPF is properly configured between all the routers and router D can ping Router A and vice versa
filter.jpg

Bump

OSPF is not designed for such setups.
If the purpose is only for monitoring links, then you can set up static routes to reach loopback1 and loopbac2.

Or you can modify by routing filters “distance” of the route.

The problem that I am experiencing is that OSPF drops between certain links even though the link is up. This causes traffic to get rerouted even though the link is up

Is there a way to monitor that OSPF is working between 2x routers?

You can find if link is active by looking at the routing table on router D.
For example if you see route to 10.0.0.1 with gateway “router C” and “router B” then both links are active. If you see only one gateway, then one link is down.

I would suggest to look for the cause why ospf link is dropping between two routers. If OSPF is running on wireless links ten NBMA neighbors must be configured. See the example and explanation why:
http://wiki.mikrotik.com/wiki/Manual:OSPF-examples

Hi mrz

I have NBMA neighbours configued. I have about 50+ sites in the field and generally the OSPF does not drop.

However, I cannot log into each mikrotik every hour to double check that OSPF is operational on all of the 50+ links

I’m sure I could write a script, will see what I can figure out