Automatically announce new added routes to openbgpd without restart
-
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!
-
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
-
Yes this is what I was looking for! I tried it and it is working.
Thanks!