Community discussions

MikroTik App
 
andreacoppini
Trainer
Trainer
Topic Author
Posts: 498
Joined: Wed Apr 13, 2005 11:51 pm
Location: Malta, Europe

OSPF bug with IPs containing 255

Thu Mar 25, 2021 12:39 pm

Setup:
6 CCRs connected over an ISP-provided L2 WAN link.
Interfaces facing the WAN link assigned a 10.255.255.x/24 IP
OSPF Router ID = WAN IP (I'm using OSPF only for this link so no need for a bridge/loopback).
OSPF Area 0

I just spent 3 days tackling weird OSPF behaviour (some neighbors not appearing, neighbors appearing and receiving LSAs but routes not being loaded, etc). Everything else was fine. Pings, manually adding routes, all good there. Using static NBMA Neigbors helped a little bit, but it was still misbehaving.

After trying everything I tried changing the IP addresses and the Router ID from 10.255.255.x/24 to 10.250.250.x/24, and everything started worked immediately.
I know that, in this subnet, 255 is not considered a broadcast, but I'm suspecting a bug within MikroTik's OSPF engine is throwing a fit if it sees 255 in the Router ID or in the LSAs.

Did anyone else experience this?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7038
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: OSPF bug with IPs containing 255

Thu Mar 25, 2021 12:43 pm

The key here is "connected over an ISP-provided L2 WAN link."
 
andreacoppini
Trainer
Trainer
Topic Author
Posts: 498
Joined: Wed Apr 13, 2005 11:51 pm
Location: Malta, Europe

Re: OSPF bug with IPs containing 255

Thu Mar 25, 2021 1:01 pm

Indeed, and I have also escalated this with the ISP, but if it was an ISP issue, why would some of the CCRs work while others don't? (They're all on the same ISP).
Also, why would some CCRs see the OSPF neighbors, receive the LSAs, but don't install the routes? If the ISP was blocking traffic with that IP, there would be no neighbors.
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: OSPF bug with IPs containing 255

Thu Mar 25, 2021 7:33 pm

Indeed, and I have also escalated this with the ISP, but if it was an ISP issue, why would some of the CCRs work while others don't? (They're all on the same ISP).
Also, why would some CCRs see the OSPF neighbors, receive the LSAs, but don't install the routes? If the ISP was blocking traffic with that IP, there would be no neighbors.
Were you previously using that subnet for anything else on those devices? Perhaps subdivided in a different way (ex. with /29's inside or something like that?)
 
passw0rd
just joined
Posts: 5
Joined: Fri Feb 22, 2019 12:31 pm

Re: OSPF bug with IPs containing 255

Thu Sep 09, 2021 10:38 pm

any update?

Who is online

Users browsing this forum: No registered users and 19 guests