Community discussions

 
lambert
Long time Member
Long time Member
Topic Author
Posts: 526
Joined: Fri Jul 23, 2010 1:09 am

OSPF bug? with multiple IPs on interface sending hellos with wrong IP

Fri May 25, 2018 10:41 pm

I had an issue with a 6.40.8 HAP ac lite talking to a Ubiquiti EdgeRouter Pro 1.8.5 via a Netonix switch. The mikrotik was seeing hellos from the ER-Pro. The ER-Pro was not seeing the hellos from the Mikrotik. OSPF logging wasn't helping on the Mikrotik. I enabled "debug ospf" on the ER-Pro. Nothing useful in the logs. I upgraded the HAP AC lite to 6.42.3, same symptoms. I downgraded to 3.93.3, same symptoms. So, I went back to the bugfix channel. I was about to kick the Netonix in the head, but I could ping perfectly from the HAP to the ER-Pro and vice versa.

I eventually ran "sudo tcpdump -i eth3 proto 89 " on the ER-Pro. That clearly showed that the HAP-lite was sending hellos using the 10.115.0.1 src IP on that interface rather than the 204.x.x.x/30 globally routeable IP which Routing OSPF Interfaces showed was selected for that interface. The 10.115.0.1 IP is not covered by either of the two Routing OSPF Networks subnets.

I disabled the 10.115.0.1/24 IP address and my neighbor adjacency came up immediately. Re-enabling the the IP address seemed to continue to work. I've seen other devices where the router uses the "primary IP" on an interface. Since I can't set primary/secondary on a MikroTIk, I just deleted the 10.115.0.1/24 IP. I then added it again, hoping that would leave a first added/primary status on the 204.x.x.x/30 address. After a test reboot, it was back in the broken state.

We use a 10.x.x.x/29 to talk to radio bridge devices on links between towers. We run OSPF on routable.x.x.x/30 addresses to keep traceroute working from out of network. In this particular case, I don't have radio bridges on this interface. I'm just using the 10.115.0.1/24 as src address for managing devices that shouldn't be accessible from off network. I moved it to the loopback bridge for now. This problem is going to bite me somewhere as I convince mangement to allow me to use MikroTiks.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5891
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: OSPF bug? with multiple IPs on interface sending hellos with wrong IP

Mon May 28, 2018 10:47 am

Do not run OSPF on 10.115.0.0/24 network, instead redistribute it as connected and problem will be solved.
 
lambert
Long time Member
Long time Member
Topic Author
Posts: 526
Joined: Fri Jul 23, 2010 1:09 am

Re: OSPF bug? with multiple IPs on interface sending hellos with wrong IP

Mon May 28, 2018 3:57 pm

Thank you for taking the time to respond, mrz.

However, that was my point. The router is not configured to run OSPF on 10.115.0.1/24. I apologize if that was not clear enough in my original post.
The 10.115.0.1 IP is not covered by either of the two Routing OSPF Networks subnets.
No subnet of 10.0.0.0/8 is a configured OSPF network. Only 204.x.x.0/24 and 16y.y.y.0/24 are ospf networks.
 
User avatar
sri2007
Member Candidate
Member Candidate
Posts: 179
Joined: Wed May 20, 2015 10:14 pm
Location: Quito

Re: OSPF bug? with multiple IPs on interface sending hellos with wrong IP

Tue May 29, 2018 4:14 pm

Hi, I'll double check if this router has any NAT rule configured... and check if this NAT rule is not masquerading the OSPF hello packets.
MikroTik Soporte y Consultoría - Español / English +593 98 709 3502
https://www.safenet.ec/consultoria.html/ soporte@safenet.ec

Who is online

Users browsing this forum: No registered users and 3 guests