0

I have pfSense (FreeBSD 11.2-p6) 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 line

How do I get prefix-set to work ?

Yif Swery
  • 179
  • 1
  • 12
  • The FreeBSD version of [the manual](https://www.freebsd.org/cgi/man.cgi?query=bgpd.conf) has no mention of prefix sets. – Richard Smith Mar 13 '19 at 22:35
  • Oh my, I was looking at https://man.openbsd.org/bgpd.conf the whole time thinking its the exact same, thank you for the clarifications – Yif Swery Mar 13 '19 at 22:43

1 Answers1

0

Turns out I was looking at https://man.openbsd.org/bgpd.conf while I should have been looking at the docs from https://www.freebsd.org/cgi/man.cgi?query=bgpd.conf as per Richard Smith's reply.

prefix-set is not a thing in FreeBSD bgpd

Yif Swery
  • 179
  • 1
  • 12