<html><head></head><body>You are also missing import all in the first kernel protocol, if I see correctly.<br>Maria<br><br><div class="gmail_quote">On May 5, 2020 1:04:37 AM GMT+02:00, Ondrej Zajicek <santiago@crfreenet.org> 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">On Mon, May 04, 2020 at 11:34:38AM -0700, David Haupt wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Hi<br><br>First time user of bird here so please be gentle. :)<br>I am trying to use bird for a project and I'd like to use it for creating<br>separate routing tables in linux.<br></blockquote><br>..<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">[root@host1 etc]# ip link add mylink type dummy<br>[root@host1 etc]# ip link set mylink up<br>[root@host1 etc]# ip route add 10.0.2.3/32 dev mylink<br>[root@host1 etc]# systemctl restart bird<br>[root@host1 etc]# ip r<br>default via 172.29.0.1 dev eth1<br>10.0.2.3 dev mylink scope link<br>172.29.0.0/25 dev eth1 proto kernel scope link src 172.29.0.20<br>172.30.2.0/25 dev eth0 proto kernel scope link src 172.30.2.20<br>[root@host1 etc]# ip r show table 100<br>default via 172.29.0.1 dev eth1 proto bird<br><br>Is there any way that I can have the 10.0.2.3/32 route show up in kernel<br>table 100?<br></blockquote><br>Hi<br><br>You should check 'birdc show route' and 'birdc show route table extra' to<br>see where on the path bird lost it. Also, you do not need restart bird<br>after adding the route.<br><br>But i think that in BIRD 1.6.x there is special exception for device<br>routes (i.e. routes without gateway address) so they are not exported to<br>kernel, you need to use 'device routes' option for the second kernel<br>protocol:<br><br><a href="https://bird.network.cz/?get_doc&v=16&f=bird-6.html#krt-device-routes">https://bird.network.cz/?get_doc&v=16&f=bird-6.html#krt-device-routes</a><br></pre></blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>