Community discussions

MikroTik App
 
bney
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Sun Jun 03, 2007 9:56 pm

OSPF Will not form full adjacency

Thu Feb 21, 2013 6:33 am

I have three routers. Router A is the gateway to the internet. Routers B and C are remote connected through a wireless link.
OSPF has been running fine on this network segment for years.

Today, suddenly, the ospf falls apart.
Router A says routers B and C are neighbors.
Routers B and C do not show A as a neighbor and no routes are exchanged. I have torn the entire ospf config apart and re-entered it and still no go.
Anyone seen this before?
 
cdemers
Member Candidate
Member Candidate
Posts: 224
Joined: Sun Feb 26, 2006 3:32 pm
Location: Canada
Contact:

Re: OSPF Will not form full adjacency

Thu Feb 21, 2013 6:48 am

Can you ping the other routers reliably? I have been using OSPF also for years in my network and have not seen a problem exactly like that. But sounds like your getting one way communication though one of your links.
 
bney
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Sun Jun 03, 2007 9:56 pm

Re: OSPF Will not form full adjacency

Thu Feb 21, 2013 10:07 am

My links are running well both ways.
When I turn on debugging in the logs, I see hellos going out from routers B and C towards A, A receives the hello's
but never responds to them and doesnt log any errors. It's obviously hearing them since A is inserting B and C as neighbors.

This started happening in two locations in my network, 50 miles apart, at about the same time today after a major link went down causing a great big route flap system wide. I have rebooted and even upgraded the firmware on one router set to the latest version 6 candidate. Still no adjacency.
 
bney
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Sun Jun 03, 2007 9:56 pm

Re: OSPF Will not form full adjacency

Thu Feb 21, 2013 7:41 pm

While I still cannot say why these ospf links decided to go sideways, I have found a solution so I post it here for others to use.

I went and configured the links in question as nbma links. That cleaned it up immediately. Why they would work in the default multicast mode for several years
and suddenly go off, I have no idea. But this solves it.
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: OSPF Will not form full adjacency

Sat Feb 23, 2013 5:18 pm

Other multicast streams in the environment (especially if they use the same address) or blocking of multicast inadvertently can tear down OSPF. I've seen both happen numerous times.

Are you using switches that are capable of IGMP snooping?
 
bney
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Sun Jun 03, 2007 9:56 pm

Re: OSPF Will not form full adjacency

Sun Mar 17, 2013 2:52 am

No switches at all. Routers are linked with Ubiquiti Rocket wireless links. Its highly weird.
I am racing throughout my network changing links in order to kwwp things working.
 
lambert
Long time Member
Long time Member
Posts: 548
Joined: Fri Jul 23, 2010 1:09 am

Re: OSPF Will not form full adjacency

Sun Mar 17, 2013 8:29 am

Which firmware are you running on the Rockets? Do you have administrative control of the Rockets? Or is that another department? There is a setting for multicast on the Advanced tab. If someone changed the setting, it could have blocked the OSPF multicast traffic. Older AirOS firmwares had issues passing OSPF. Sometimes it worked, sometimes not. StarOS had the same issues. As I understand it MikroTik has had similar issues.

The work around is to run NBMA or Point-to-Point OSPF network type on wireless links. My network uses OSPF point-to-point across all wireless backhauls. Works well. With older versions of AirOS, we still had occasions of one end getting out of sync, but it would reconnect.

AirOS 5.5.2 and up is much better. I'm seeing neighbor associations last until something actually happens to the link. I have no idea if OSPF multicast traffic behaves better with the newer firmware. I'm perfectly happy running non-multicast OSPF across my wireless links. Point-to-point requires less link specific configuration than NBMA which means the OSPF configs are simpler. So I use that where I only have two devices on the segment.
 
bney
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Sun Jun 03, 2007 9:56 pm

Re: OSPF Will not form full adjacency

Thu Mar 21, 2013 1:14 am

We are now suspecting that it may be a firmware bug in the Ubiquiti that they say is fixed in 5.5.4, we have been running 5.5.2 and 5.5.3. I agree that nbma is the preferred fix, but thats a big project as we have 140+ tower locations and some of the feeds are point to multipoint which makes switching to nbma a challenge, but its one we are going to have to deal with.
 
User avatar
ScottReed
Member Candidate
Member Candidate
Posts: 114
Joined: Thu Sep 24, 2009 9:47 pm
Location: Montana / Western Massachusetts

Re: OSPF Will not form full adjacency

Fri Jun 14, 2013 1:58 am

bney -

You may have just solved the SAME issue for me.

I could not get OSPF to run over a PtP link with RocketM5's running v5.5.6 with multicast enabled in Advanced.

Also have another PtP link with the same issue, RocketM5's running v5.5.4 - multicast enabled in Advanced.

Changed to NBMA and right up they came.

Thanks!
 
Ivoshiee
Member
Member
Posts: 483
Joined: Sat May 06, 2006 4:11 pm

Re: OSPF Will not form full adjacency

Fri Jun 14, 2013 6:57 am

That wireless link as NBMA definition is nothing new. When I set OSPF up for my network then I recall as having read some advice to do just that. The main WIKI is silent, but examples do state it: http://wiki.mikrotik.com/wiki/Manual:OS ... A_networks

Who is online

Users browsing this forum: No registered users and 26 guests