<div dir="ltr"><span style="white-space:nowrap">Hello,</span><br><div class="gmail_quote"><div dir="ltr">
<br>
I use BIRD 2.0.2 and want the OSPF daemon to announce the Linux kernel
routing metric. For instance, if I run "ip route add table 44 to
<a href="http://10.2.3.0/24">10.2.3.0/24</a> metric 1234 dev eth0", I want this route to propagate into
BIRD. Therefore I use the kernel protocol configured like this:<br>
<br>
<span style="white-space:nowrap">protocol kernel {</span><br>
<span style="white-space:nowrap"> ipv4 {</span><br>
<span style="white-space:nowrap"> export all;</span><br>
<span style="white-space:nowrap"> import all;</span><br>
<span style="white-space:nowrap"> };</span><br>
<span style="white-space:nowrap"> learn;</span><br>
<span style="white-space:nowrap"> kernel table 44;</span><br>
<span style="white-space:nowrap"> scan time 10;</span><br>
<span style="white-space:nowrap">}</span><br>
<br>
My OSPF instance reads data from table master4. "show ospf state" displays
my kernel route as "external", but with "metric2 10000". According to the
documentation <a rel="noreferrer" href="https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.6" target="_blank">https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.6</a> I tried to use metric 0; but without any effect. Do I overlook something essential?<br>
<br>
<span style="white-space:nowrap">Best regards</span><br>
<span style="white-space:nowrap">Lukas Liebig</span></div>
</div></div>