<html>bird version: 2.0.12-7 (Debian stable)<br /><br />Hi,<br /><br />I use this config to install BGP routes into the linux kernel:<br /><br />protocol kernel {<br /> kernel table 300;<br /> scan time 10;<br /> learn on;<br /> graceful restart;<br /> metric 0; # needed to override in filter<br /><br /> ipv6 {<br /> import none; # kernel->bgp - nothing needed<br /> export filter { # bgp->kernel<br /> if ( proto = "xxx" ) then { krt_metric = 20; accept; } # lower is choosed first by kernel<br /> if ( proto = "yyy" ) then { krt_metric = 30; accept; }<br /> reject;<br /> };<br /> };<br />}<br /><br />This works fine. But when the route is removed (protocol gets down) it's still in the linux kernel.<br /><br />If I remove the krt_metric in the config it all works fine.<br /><br />Thanks<br />Leif</html>