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

    Automatically announce new added routes to openbgpd without restart

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 618 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 using pfsense 2.2. I have a script that adds new routes to my openbgpd process.
      I want the new added routes to be forwarded to other routers without restarting the the openbgpd process or clicking the save button in the GUI.

      Any idea how to do that??

      Thank you!

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

        probably by rehashing the process instead of killing it ….

        when browsing github i find something like this in the code:

        
        {$pkg_bin}/bgpctl reload
        
        

        i'm guessing you should be able to find the 'bgpctl' command somewhere on the system (wherever the $pkg_bin variable leads to, i assume somewhere in the pbi subdirs)

        i won't be able to try it quickly because all my systems are running quagga and it doesnt play nicely with openbgpd

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

          Yes this is what I was looking for! I tried it and it is working.
          Thanks!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.