BGP neighbor range (request)

Started by skacem, August 13, 2024, 08:48:11 PM

Previous topic - Next topic
hello

instead of having to configure bgp neighbor per neighbor, it is more interesting to configure a bgp neighbor range
FRRouting has already this functionality

https://docs.frrouting.org/en/stable-10.0/bgp.html#clicmd-bgp-listen-range-A.B.C.D-M-X-X-X-X-M-peer-group-PGNAME

the syntax is
bgp listen range <A.B.C.D/M|X:X::X:X/M> peer-group PGNAME

but it seems the FRR plugin for OPNsense doest include it yet
there is nowhere to enter the (listen range) in the Routing--BGP menu

Thanks


Thanks for this post! Exactly what I was looking for! I want to essentially accept any peers on a given internal interface, maybe limit the AS number but that can be done with filtering or whatnot. I might poke about the back end and see if it's configurable at system level, though ideally, yes have it in the plugin/GUI, if for no other reason than it doesn't get wiped on updates/reconfigurations

Hi - did you find a way to safely and consistently set `listen range` in `frr.conf` to get this to work?