Removing device-bound routes when interface is going down

Alexander Demenshin aldem-bird.2014 at nk7.net
Mon Aug 18 20:32:37 CEST 2014


On 2014-08-18 19:54, Sergey Popovich wrote:

> Summary is that if you have ~500k routes in the BIRD and interface
> where nexthop of such routes changes its operstate kernel should
> sent notification about each of them (~500k).

I see... thank you - this didn't cross my mind :)

But nevertheless, what about handling this in bird directly, by watching
for "interface deleted" (not "operstate down"!) event and cleaning up
[kernel linked] routes that use this device? Kernel deletes them anyway.

/Al




More information about the Bird-users mailing list