Issue with OpenBGPD



  • 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!



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



  • 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



  • 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.



  • @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.



  • 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



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

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



  • @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" ... ;)



  • @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