Hi Eric, have you tried "device routes yes" ? http://bird.network.cz/?get_doc&f=bird-6.html#ss6.6 On 11/25/2016 01:39 PM, Eric Vyncke (evyncke) wrote:
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