opnsense / plugins

OPNsense plugin collection
https://opnsense.org/
BSD 2-Clause "Simplified" License
810 stars 593 forks source link

net/frr FEATURE add listen range to peer-groups to allow dynamic neighbors #4015

Open lonk95 opened 4 weeks ago

lonk95 commented 4 weeks ago

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe. It is possible to specify an IP range for valid neighbors using FRR. This is particularly useful when you have many neighbors to manage. I'm wondering if we could add a way to configure this from the UI.

Describe the solution you'd like I'm proposing a setup where you link some range of neighbors to a peer-group. This allows you to manage multiple possibly dynamic BGP neighbors. Example config snippet below.

 neighbor MyGroup peer-group
 neighbor MyGroup remote-as xxxxx
 neighbor MyGroup update-source eno1
 bgp listen range x.x.x.x/x peer-group MyGroup

This could be added as a new entry under peer-group: name: bgp listen range summary: An optional IP range that defines valid neighbor IPs for the peer-group