Community discussions

MikroTik App
 
User avatar
davides
just joined
Topic Author
Posts: 14
Joined: Thu Jun 29, 2006 4:47 pm
Location: Milan, Italy
Contact:

OSPF external routes bug

Tue Apr 01, 2014 5:16 pm

I have an ospf default area with several routers.
I have two ASBR router both injecting external default route into OSPF: ASBR1 and ASBR2.
ASBR1 redistribute default if installed as type1
ASBR2 redistribute default if installed as type2
The local default route cost on ASBR2 is higher then the cost received by ospf from ASBR1: so when everything is working ASBR2 has active default route the default received by ospf from the ASBR1.
When ASBR2 looses the ospf peer from which is receiving the default route injected by ASBR1 this happens on ASBR2:
-the 0.0.0.0 route listed in ospf routes tab gets "unknown" interface (STRANGE :-(
-the local default route in routing table becomes active (OK)
When the lost ospf peer cames back the 0.0.0.0 route is not correctly recoverd and the local default route remains active instead of the default router from ASBR1.

If on the ASBR2 I restart the ospf instance all comes back as it was supposed to be.

If the ASBR2 has only one neighbor the problem does not happen, when the peer goes down the ospf stops running completely, when the pees goes back ospf start from scratch. But if ASBR2 has more than one peer the extenal routes in ospf tab always hangs until ospf is restared.
The same apply when the external routes injected by the two ASBRs are external subnet.

Mikrotik OSPF implementation bugs?
 
jaykay2342
Member
Member
Posts: 336
Joined: Tue Dec 04, 2012 2:49 pm
Location: /Vigor/LocalGroup/Milky Way/Earth/Europe/Germany

Re: OSPF external routes bug

Thu Apr 03, 2014 7:02 pm

which version of ROS are you running? i had similar issues with default routes not getting deleted/changed after a route(r) with lower costs comes back. ended with routing loops as this only happened on devices with an older version ( something 5.x ). after upgrading those devices to 6.10 the issues was gone.
 
User avatar
davides
just joined
Topic Author
Posts: 14
Joined: Thu Jun 29, 2006 4:47 pm
Location: Milan, Italy
Contact:

Re: OSPF external routes bug

Fri Apr 04, 2014 6:38 pm

I've test all the version (5.X up to 6.11)
It is very easy to reproduce the problem.
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: OSPF external routes bug

Sat Apr 05, 2014 6:20 am

ive ran into this many times, i wish they would fix it. its hard to capture because the whole network is down and im frantically trying to bring it back up rather than taking screenshots and supouts. Ive seen this from version 4.x thru 6.7 at least.
 
User avatar
nz_monkey
Forum Guru
Forum Guru
Posts: 2182
Joined: Mon Jan 14, 2008 1:53 pm
Location: Over the Rainbow
Contact:

Re: OSPF external routes bug

Sat Apr 05, 2014 11:19 pm

We too have had this one :(

The fix we have been using is to change redistribution from type2 to type1 apply, then change back to type2. This will fix the problem without taking out working prefixes.
This will work perfectly if you have a single area. If you have multiple be aware of the effect of changing to type1.
Last edited by nz_monkey on Mon Apr 07, 2014 12:38 pm, edited 1 time in total.
 
jaykay2342
Member
Member
Posts: 336
Joined: Tue Dec 04, 2012 2:49 pm
Location: /Vigor/LocalGroup/Milky Way/Earth/Europe/Germany

Re: OSPF external routes bug

Sun Apr 06, 2014 2:20 pm

@mikrotik are you guys aware of that bug?
 
User avatar
Aveyer
Frequent Visitor
Frequent Visitor
Posts: 66
Joined: Thu Jun 24, 2010 11:17 pm

Re: OSPF external routes bug

Fri Sep 05, 2014 7:12 am

I also just ran into this bug, this will prevent me from doing automatic failover now...
I'm on ROS v6.18

Who is online

Users browsing this forum: No registered users and 7 guests