OpenBGPd not able to use prefix-set
-
I have pfSense 2.4.4-p2 in use and I want to be able to use the
prefix-set
config feature (https://man.openbsd.org/bgpd.conf#prefix-set)I add a simple
prefix-set bogons { 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fc00::/7 }
in my
/var/etc/openbgpd/bgpd.conf
file (as per docs)But when restarting bgpd it fails on that line as if there is an issue with the syntax:
bgpd -n -f /var/etc/openbgpd/bgpd.conf /var/etc/openbgpd/bgpd.conf:11: syntax error
Yes, line 11 is the
prefix-set
lineHow do I get
prefix-set
to work ? -
prefix-set may not be in the FreeBSD implementation of OpenBGPD.
From what I can find prefix-set was introduced with OpenBSD 6.3 (released in April 2018). The FreeBSD version is old compared to the one in OpenBSD.
-
I can't remember if support for that is in FRR, but OpenBGPD is pretty much a dead end these days on FreeBSD (and especially pfSense). More than likely what you want to do can be done without much more effort on FRR.
-
@jimp said in OpenBGPd not able to use prefix-set:
I can't remember if support for that is in FRR, but OpenBGPD is pretty much a dead end these days on FreeBSD (and especially pfSense). More than likely what you want to do can be done without much more effort on FRR.
Thanks for the suggestions, I am new to FRR and looks really interesting, will for sure explore this in testing and see if we can make the transition.
@biggsy said in OpenBGPd not able to use prefix-set:
From what I can find prefix-set was introduced with OpenBSD 6.3 (released in April 2018). The FreeBSD version is old compared to the one in OpenBSD.
Seem you are correct and that OpenBGPd on freebsd is far outdated and without the new prefix-set features :(