Community discussions

MikroTik App
 
iw4eky
newbie
Topic Author
Posts: 25
Joined: Tue Jan 26, 2010 8:12 am
Location: Rimini, Italy

OSPF bug after v4 upgrade: problem and solution

Tue Jan 26, 2010 9:05 am

Hi everybody,
in the last days I tried a test configuration before roll-out v4 upgrade to all my Mikrotik based network.

Well, on every single Routerboard upgraded from 3.24 to 4.5 I found the same bug on OSPF: "authentication" parameter under Routing-->OSPF-->Interfaces-->Interface that was initially set to "MD5" changed automatically to "none". This happened on 532, 532A, 600 and 433AH both on ethernet and wireless interfaces with OSPF on them.

Doing that, OSPF link went down: no more neighbors and devices where reachable only via MAC address.

Solution: under Routing-->OSPF-->Interfaces-->Interface add a new interface with the very same parameters of the original one, but with authentication=MD5. Doing so, the original ones switch to MD5 and OSPF is up and running again.

Below you'll find attached images of before and after.

Bye,
mattia
You do not have the required permissions to view the files attached to this post.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7188
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: OSPF bug after v4 upgrade: problem and solution

Tue Jan 26, 2010 9:57 am

It is not a bug, In v4 and also in v3.x routing-test, authentication is configured for each ospf interface.
 
iw4eky
newbie
Topic Author
Posts: 25
Joined: Tue Jan 26, 2010 8:12 am
Location: Rimini, Italy

Re: OSPF bug after v4 upgrade: problem and solution

Tue Jan 26, 2010 10:00 am

Well, actually it is a bug, since authentication parameters change with no reason after upgrade, crashing all OSPF links that need authentication!!!
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: OSPF bug after v4 upgrade: problem and solution

Tue Jan 26, 2010 1:40 pm

Well, actually it is a bug, since authentication parameters change with no reason
actually, the reason is upgrade: v4's 'routing' package is v3's 'routing-test'. so, if you were using 'routing-test' in v3 - you'll upgrade smoothly
 
iw4eky
newbie
Topic Author
Posts: 25
Joined: Tue Jan 26, 2010 8:12 am
Location: Rimini, Italy

Re: OSPF bug after v4 upgrade: problem and solution

Tue Jan 26, 2010 2:39 pm

Ok, but I was upgrading from 3.24 to 4.5 using common "combined package" and are both stable versions of RouterOS and there is no advice on this "strange" behaviour, so a common user would never be aware of what is about to happen.

So if you don't agree on recognizing the arbitrary change of OSPF parameters as a bug (again: switching from "MD5" to "none" crashes your whole network and this is definitely a bug for me!!), at least you should agree on warning OSPF users on this behaviour before upgrading!!!

Cheers,
mattia
 
lallo
just joined
Posts: 2
Joined: Tue Jan 26, 2010 2:55 pm

Re: OSPF bug after v4 upgrade: problem and solution

Tue Jan 26, 2010 2:59 pm

iw4eky is right for sure. It' impossible to forecast this kind of behaviour and use in advance specific packages...
I believe iw4eky is a very good mikrotik expert and if i were you i would invite him in china for the MuM for free.
 
iw4eky
newbie
Topic Author
Posts: 25
Joined: Tue Jan 26, 2010 8:12 am
Location: Rimini, Italy

Re: OSPF bug after v4 upgrade: problem and solution

Tue Jan 26, 2010 3:05 pm

iw4eky is right for sure. It' impossible to forecast this kind of behaviour and use in advance specific packages...
I believe iw4eky is a very good mikrotik expert and if i were you i would invite him in china for the MuM for free.
Guys, you know I love you, but MuM in Poland would be closer to me! :D

And yet, no kidding, authentication on OSPF interfaces after upgrading from 3.24 to 4.5 is really a bug.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7188
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: OSPF bug after v4 upgrade: problem and solution

Tue Jan 26, 2010 3:24 pm

Use of md5 authentication makes sense only if you specify authentication-key.
In older routing package you could set authentication type also in area configuration, in that case dynamic interfaces will show authentication as md5, but there are no key and use of that configuration is useless. That is why this option was removed.

Proper OSPF authentication is configured per interface where authentication type and key is specified, which you don't have.

I would suggest to configure authentication on all OSPF routers the way it should be configured, then upgrade process will be smooth.
 
iw4eky
newbie
Topic Author
Posts: 25
Joined: Tue Jan 26, 2010 8:12 am
Location: Rimini, Italy

Re: OSPF bug after v4 upgrade: problem and solution

Tue Jan 26, 2010 3:29 pm

Proper OSPF authentication is configured per interface where authentication type and key is specified, which you don't have.

I would suggest to configure authentication on all OSPF routers the way it should be configured, then upgrade process will be smooth.
Right, this is a good observation.

But please, in next release of RouterOS, pay attention to fix the case of MD5 with no key (before the upgrade) that becomes "none" and crashes OSPF after the upgrade to 4.5!

Who is online

Users browsing this forum: chechito and 2 guests