• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

OpenBGPd not able to use prefix-set

Scheduled Pinned Locked Moved pfSense Packages
4 Posts 3 Posters 498 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y
    yswery
    last edited by Mar 13, 2019, 10:00 PM

    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 line

    How do I get prefix-set to work ?

    1 Reply Last reply Reply Quote 0
    • B
      biggsy
      last edited by Mar 13, 2019, 11:24 PM

      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.

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Mar 15, 2019, 8:48 PM

        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.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • Y
          yswery
          last edited by Mar 16, 2019, 12:22 AM

          @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 :(

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received