Skip to content

net/pfSense-pkg-frr: add BGP listen range for peer groups. Implement #17074 - #1460

Open
djlongy wants to merge 1 commit into
pfsense:develfrom
djlongy:feat/frr-bgp-listen-range
Open

djlongy wants to merge 1 commit into
pfsense:develfrom
djlongy:feat/frr-bgp-listen-range

Conversation

@djlongy

@djlongy djlongy commented Sep 5, 2026

Copy link
Copy Markdown

The FRR package has no way to set bgp listen range, so dynamic BGP neighbors (MetalLB speakers on a Kubernetes cluster, in my case) can only be configured from the raw config page.

This adds a Listen Range field to the peer group entry on the BGP Neighbors form, since a range is only meaningful for a group. The non-obvious bit: the group also gets neighbor <group> activate in the address family of each range, because bgpd will not create dynamic neighbors for a group with no active address family. Without it an IPv6 range, or any range under no bgp default ipv4-unicast, is silently ignored.

Tested on 2.7.2 CE with pkg-frr 2.0.2_1, where the patch applies as is. Setting 192.168.120.16/28 on a group through the form put the listen range in the generated frr.conf and the four speakers in that range came up as dynamic members. Bad subnets, and a range on an IP neighbor, are rejected on save.

Redmine: https://redmine.pfsense.org/issues/17074

…#17074

The GUI has no way to set "bgp listen range", so dynamic BGP neighbors
(MetalLB speakers, for example) can only be configured from the raw
config page. The field lives on the peer group entry because a range is
bound to a group. The group is also activated in the address family of
each range, since bgpd ignores a listen range for a group that has no
active address family.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant