Feature #10665
closedManual OSPF neighbor definitions
100%
Description
OSPF interface modes "non-broadcast" and "point-to-miltipoint" rely on being able to manually define specific OSPF neighbors, but the FRR GUI does not currently have this ability.
Add support for this to the FRR GUI, either on its own tab under OSPF or a rowhelper somewhere since there are so few options (neighbor IP address, and optional poll interval and priority)
pfsense# conf t pfsense(config)# router ospf pfsense(config-router)# neighbor ? A.B.C.D Neighbor IP address pfsense(config-router)# neighbor 10.3.0.222 ? <cr> poll-interval Dead Neighbor Polling interval priority Neighbor Priority pfsense(config-router)# neighbor 10.3.0.222 poll-interval ? (1-65535) Seconds pfsense(config-router)# neighbor 10.3.0.222 priority ? (0-255) Priority
This setting doesn't appear to be in OSPF6, so only OSPF needs changed at the moment.
Files
Updated by Viktor Gurov almost 5 years ago
Updated by Jim Pingle over 4 years ago
- Status changed from New to Pull Request Review
Updated by Renato Botelho over 4 years ago
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Azamat Khakimyanov over 4 years ago
- File Error_when_you_open_Neighbors_menu.png Error_when_you_open_Neighbors_menu.png added
- File FRR_OSPF_menu_with_Neighbors.png FRR_OSPF_menu_with_Neighbors.png added
- File Active_Neighbors_menu.png Active_Neighbors_menu.png added
- Status changed from Feedback to Assigned
Tested on:
2.5.0-DEVELOPMENT (amd64)
built on Mon Sep 21 01:04:35 EDT 2020
FreeBSD 12.2-PRERELEASE
I didn't find any new features which allows to define OSPF neighbors when Interface mode is "non-broadcast" or "point-to-miltipoint".
When I tried to use path: pkg.php?xml=frr/frr_ospf_neighbors.xml I got error:
"Package path /usr/local/pkg//frr/frr_ospf_neighbors.xml not found.
Try reinstalling the package."
So I reinstalled FRR package. After that I saw "Neighbors" menu in FRR OSPF (attached file "FRR_OSPF_menu_with_Neighbors.png") but when I tried to open it I got the same error:
"Package path /usr/local/pkg//frr/frr_ospf_neighbors.xml not found.
Try reinstalling the package."
(attached file "Error_when_you_open_Neighbors_menu.png")
And there was no "frr_ospf_neighbors.xml" file in /usr/local/pkg/frr/ folder.
So I created 'frr_ospf_neighbors.xml' and added content according to this guide: https://github.com/pfsense/FreeBSD-ports/pull/916/commits/d320a5951cd35c86cefcd85b981a47ab1ab13024
and rebooted pfSense. After reboot I see now active "Neighbors" menu and I can add neighbors (attached file "Active_Neighbors_menu.png")
Ticket was not resolved, "Neighbors" menu was added but "frr_ospf_neighbors.xml" file was not created.
Updated by Jim Pingle over 4 years ago
Looks like it's missing entries in pkg-plist and Makefile to install that file.
Updated by Jim Pingle over 4 years ago
- Status changed from Assigned to Feedback
I committed fixes which should fix this. Will be available shortly.
Updated by Azamat Khakimyanov over 4 years ago
Tested on:
2.5.0-DEVELOPMENT (amd64)
built on Tue Sep 29 01:01:39 EDT 2020
FreeBSD 12.2-PRERELEASE
Issue with absence of 'frr_ospf_neighbors.xml' file is fixed now.
But I wasn't able to get working setup with 'Non-broadcast' on both Hub and Spoke (both were 2.5.0-DEV).
I created:
HUB
- Router Priority 255:
- WAN (192.168.122.78) area 0 (NBMA)
- LAN (192.168.78.1) area 0 (Passive)
- 'Redistribute a Default route to neighbors' checked
- Neighbor: 192.168.122.53 (Neighbor Priority: 0)
Spoke
- Router Priority 0:
- WAN (192.168.122.53) area 0 (NBMA)
- LAN (192.168.53.1) area 0 (Passive)
- Neighbor: 192.168.122.78 (Neighbor Priority: 255)
On both Hub and Spoke 'show ip ospf neighbor' were empty.
On HUB: show ip ospf interface
vtnet0 is up
ifindex 1, MTU 1500 bytes, BW 10000 Mbit
Internet Address 192.168.122.78/24, Broadcast 192.168.122.255, Area 0.0.0.0
MTU mismatch detection: enabled
Router ID 192.168.122.78, Network Type NBMA, Cost: 10
Transmit Delay is 1 sec, State DR, Priority 255
No backup designated router on this network
Multicast group memberships: OSPFAllRouters
Timer intervals configured, Hello 30s, Dead 120s, Wait 120s, Retransmit 5
Hello due in 9.160s
Neighbor Count is 0, Adjacent neighbor count is 0
BFD: Detect Multiplier: 3, Min Rx interval: 300, Min Tx interval: 300
On Spoke: show ip ospf interface
vtnet0 is up
ifindex 1, MTU 1500 bytes, BW 10000 Mbit
Internet Address 192.168.122.53/24, Broadcast 192.168.122.255, Area 0.0.0.0
MTU mismatch detection: enabled
Router ID 192.168.122.53, Network Type NBMA, Cost: 10
Transmit Delay is 1 sec, State DROther, Priority 0
No backup designated router on this network
Multicast group memberships: OSPFAllRouters
Timer intervals configured, Hello 30s, Dead 120s, Wait 120s, Retransmit 5
Hello due in 8.935s
Neighbor Count is 0, Adjacent neighbor count is 0
BFD: Detect Multiplier: 3, Min Rx interval: 300, Min Tx interval: 300
so Hub is DR when Spoke is DRother but Neighbor counts are zero on both. So even when we added neighbors manually FRR/OSPF doesn't see it.
I got working setup with 'Point-to-multipoint' on Hub and 'Point-to-point' on Spoke - no problem (the same settings as I tried for NBMA, just changed Network type)
Updated by Azamat Khakimyanov over 4 years ago
- Status changed from Feedback to Assigned
Updated by Jim Pingle over 4 years ago
- Status changed from Assigned to Feedback
There was an issue introduced recently which was not including the neighbor settings in the FRR configuration, I pushed a fix for it now.
It works for me when set to 'non-broadcast' mode.
Updated by Azamat Khakimyanov over 4 years ago
- Status changed from Feedback to Resolved
Retested on 2.5-DEVELOPMENT (built on Thu Jan 07 21:49:58 EST 2021)
'Non-broadcast' mode works for me too now.
This feature request can be marked Resolved.