On Wed, Jun 24, 2015 at 05:07:47PM +0200, HaTiM Chikhi wrote: > Hi, > > I'm adding a static route to the OpenBGPD process. The route is distributed > correctly. > But when I delete the route, OpenBGPD still distribute it, even it is no > longer in the routing (netstat -rn4) > > I have to restart the OpenBGPD process to delete the route. > > I'm using pfsense 2.2.2 (FreeBSD release 10.1) > > Is there any way to force OpenBGPD to delete the routes without restart? >
I double checked it on OpenBSD and here adding and removing is working just fine. Either by using "network inet static" or also "network X.Y.Z.0/24". Maybe bgpctl reload helps or bgpctl fib decouple && bgpctl fib couple (latter is a bit dangerous when logged in from remote). In the end it seems that the FreeBSD version of kroute.c is not up to speed. So better run OpenBGPD on OpenBSD. -- :wq Claudio

