<html><head></head><body>Hello!<br>BIRD reads the routes from kernel anyway, the import clause applies only on learned external routes. Do you have any export filter on that kernel protocol? Don't you have any suspicious warnings in log?<br>Maria<br><br><div class="gmail_quote">On August 2, 2020 7:08:11 PM GMT+02:00, Alarig Le Lay <alarig@swordarmor.fr> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hi Sasha,<br><br>On Sun 02 Aug 2020 17:36:13 GMT, Sasha Romijn wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">protocol kernel {<br>    scan time 20;<br>    ipv4 {<br>        export all;<br>        import none;<br>    };<br>}<br></blockquote><br>I think that the issue is there, you’re not importing routes from the<br>kernel, so bird doesn’t know that they exist, but you export all routes<br>to it. So it ends up by resending an already existing route.<br><br>And for example, on my of my routers :<br>bird> show route all 80.213.72.0/22<br>Table master4:<br>80.213.72.0/22       unicast [direct1 2020-07-24] * (240)<br>        dev enp2s0<br>    Type: device univ<br>                     unicast [kernel_grt_ipv4 2020-07-24] (10)<br>     dev enp2s0<br>    Type: inherit univ<br>    Kernel.source: 16<br>     Kernel.metric: 3<br>      Kernel.prefsrc: 80.213.74.176<br> Kernel.scope: 253<br><br>This route is learned from both direct1 and kernel_grt_ipv4, so it would<br>be re-sent to the kernel if I remove the "import all".<br><br>Regards,</pre></blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>