<div dir="ltr">Hello,<br><br>You need to use "kernel table" option in the kernel protocol to tell bird which table it should look into.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 25, 2018 at 5:03 AM, Grant Taylor <span dir="ltr"><<a href="mailto:gtaylor@tnetconsulting.net" target="_blank">gtaylor@tnetconsulting.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Pre Script: I'm a BIRD n00b<br>
<br>
How do I configure BIRD to support multiple Linux kernel routing tables?<br>
<br>
I have found and tried a few different things on the web, but none seem to be doing what I want.<br>
<br>
I want to export routes from my "main" routing table (254) and an additional routing table "default" (253).<br>
<br>
Aside: I have multiple ip rules to cascade across multiple routing tables (local, main, reject, bogons, …, and finally default) looking for a match. I do this so that I can have Linux's routing stack handle various filtering for me.<br>
<br>
BIRD is successfully exporting routes from the main (254) routing table. I'd like to also export route(s) from the default (253) routing table.<br>
<br>
# cat /etc/bird.conf<br>
protocol kernel main {<br>
learn;<br>
export all;<br>
import all;<br>
persist no;<br>
}<br>
<br>
protocol device {<br>
}<br>
<br>
protocol direct {<br>
interface "*";<br>
}<br>
<br>
protocol rip {<br>
export all;<br>
import all;<br>
interface "eth0", "eth1", "eth2", "eth3" {<br>
version 2;<br>
};<br>
}<br>
<br>
I have tried adding additional kernel protocols, including various incarnations of (kernel) table # entries and have had: syntax errors, references to required additional lines, and other unhappy things.<br>
<br>
So, will someone point me at a document that talks about how to work with multiple Linux routing tables?<br>
<br>
Thank you in advance.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
-- <br>
Grant. . . .<br>
unix || die<br>
<br>
</font></span></blockquote></div><br></div>