Linux 'local' table (255) import into BIRD?

Eric Vyncke (evyncke) evyncke at cisco.com
Fri Nov 25 12:39:32 CET 2016


Hello,

I am trying to import 'local' routes from the kernel into Bird without any success...

The route is installed as: "/sbin/ip -6 route add local 2001:db8:cafe:babe::/64 dev lo" (it allows the host to reply/answer to any address in this prefix :-))

My bird6.conf is:

protocol direct {
interface "lo";
}

# Table main is 254
# Table local is 255
protocol kernel {
        debug all;
        learn;
        persist;
        scan time 10;
        import all;
        export all;
        kernel table 255;
}

The log shows an attempt to import a connected route but not the 'local' one

2016-11-25 11:37:59 <TRACE> kernel1 < interface lo goes up
2016-11-25 11:37:59 <TRACE> kernel1 < interface eth0 goes up
2016-11-25 11:37:59 <TRACE> kernel1 < interface eth1 goes up
2016-11-25 11:37:59 <TRACE> kernel1: State changed to up
2016-11-25 11:37:59 <TRACE> kernel1: Scanning routing table
2016-11-25 11:37:59 <TRACE> kernel1: Pruning table master
2016-11-25 11:37:59 <TRACE> kernel1: Pruning inherited routes
2016-11-25 11:38:00 <TRACE> kernel1 < rejected by protocol 2001:db8:f00:beef::/64 dev eth1
2016-11-25 11:38:05 <TRACE> kernel1 < rejected by protocol 2001:db8:f00:beef::/64 dev eth1
2016-11-25 11:38:09 <TRACE> kernel1: Scanning routing table
2016-11-25 11:38:09 <TRACE> kernel1: Pruning table master
2016-11-25 11:38:09 <TRACE> kernel1: Pruning inherited routes

Assistance will be welcome (and I did google a lot)

-éric


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20161125/1b894b10/attachment.html>


More information about the Bird-users mailing list