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

    Issue with OpenBGPD

    Scheduled Pinned Locked Moved Routing and Multi WAN
    9 Posts 4 Posters 2.6k 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.
    • H Offline
      hatimux
      last edited by

      Hello,

      I'm adding a static route to the OpenBGPD process. The route is distributed correctly.
      When I delete the route, OpenBGPD still distribute it, even it is no longer in the routing table (netstat -rn4),
      I have to restart the OpenBGPD process to delete the route.

      Is there any way to force OpenBGPD to delete the routes without restart?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • H Offline
        hatimux
        last edited by

        I really need help on this. Any one to help?

        1 Reply Last reply Reply Quote 0
        • S Offline
          stegbth
          last edited by

          Hi,

          tried also openbgpd and had also several troubles with it.

          when a gre interface got disconnected it took sometime very long until forever? until the openbgpd recognized the working connection again (even a ping over the gre0 was already possible)

          also i internal bgp session, then it could happen, openbgp overwrites direct connected routes, which lead in routing/firewall issues.
          I am thinking about testing ospfd (but i will ask in the forum)

          greeting
          Thomas

          1 Reply Last reply Reply Quote 0
          • H Offline
            hatimux
            last edited by

            Hi Thomas,

            I'm not sure that using OSPFD is a good idea with pfsense. It's not available in the pfsense packages (2.2.2 version).
            You'll have to install it yourself if you want to use it.

            Concerning my issue, it wasn't really an OpenBGPD problem:
            I was trying to add /30 routes which are the IP addresses of the connecting clients to my VPN server.
            So I was adding routes using a script that reads the adress of the connecting user and add it to the kernel table.

            For example, for a user with an IP = 10.0.88.6, I was adding 10.0.88.6/30 to the kernel table. This is not the address of the network, so the actual route added to kernel table was 10.0.88.4/30.

            Now when the user disconnects, I was trying to remove its route 10.0.88.6/30 which actually doesn't exist in the OpenBGP process. Somehow the route is deleted from the kernel routing table.

            So I started announcing /32 routes and it's working correctly.

            1 Reply Last reply Reply Quote 0
            • H Offline
              heper
              last edited by

              @hatimux:

              Hi Thomas,

              I'm not sure that using OSPFD is a good idea with pfsense. It's not available in the pfsense packages (2.2.2 version).
              You'll have to install it yourself if you want to use it.

              ospf is availabe by using the quagga-ospf package.

              1 Reply Last reply Reply Quote 0
              • S Offline
                stegbth
                last edited by

                Hi heper,

                yes, i saw. The reason i first tried OpenBGPD was it's stable and Quagga OSPF is Beta.
                But with the trouble's i have with OpenBGP it would be a try worth.

                best regards
                Thomas

                1 Reply Last reply Reply Quote 0
                • H Offline
                  heper
                  last edited by

                  the openbgpd package is more 'stale' then stable ;)

                  quagga is new and is somewhat actively maintained by one of the devs

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    Reiner030
                    last edited by

                    @heper:

                    the openbgpd package is more 'stale' then stable ;)

                    quagga is new and is somewhat actively maintained by one of the devs

                    yes… and it has sooo many BGP options to be configured in pfSense Webinterface...
                    Yesterday just installed, checked, deinstalled and got OpenBGP "as usual" ... ;)

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      Reiner030
                      last edited by

                      @hatimux:

                      Hello,

                      I'm adding a static route to the OpenBGPD process. The route is distributed correctly.
                      When I delete the route, OpenBGPD still distribute it, even it is no longer in the routing table (netstat -rn4),
                      I have to restart the OpenBGPD process to delete the route.

                      Is there any way to force OpenBGPD to delete the routes without restart?

                      Thanks!

                      http://www.openbgp.org/manual.html

                      You can trigger a realod of config in CLI:

                      [2.2.4-RELEASE][root@pfSense.test]/root: bgpctl reload
                      reload request sent.
                      request processed
                      
                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.