Import directly connected routes

Damien Clabaut damien.clabaut at corp.ovh.com
Mon May 8 20:51:55 CEST 2017


Hello,

I have an issue with latest stable Bird (1.6.3) on Debian8.

I have a bunch of directly connected networks, with route in main 
routing table:

# ip route show
default via 10.21.136.126 dev eth0
10.21.136.0/25 dev eth0  proto kernel  scope link  src 10.21.136.19
192.168.1.0/31 dev eth4.800  proto kernel  scope link  src 192.168.1.1
192.168.1.2/31 dev eth4.801  proto kernel  scope link  src 192.168.1.3
192.168.1.4/31 dev eth4.802  proto kernel  scope link  src 192.168.1.5
192.168.1.6/31 dev eth4.803  proto kernel  scope link  src 192.168.1.7

I am trying to import them to bird, using the following configuration:

table default1;

protocol kernel kernel_default {
   table default1;
   learn;
   device routes yes;
   persist no;
   scan time 10;
   import all;
   export none;
}

But only the default (static) route is imported:

bird> show route table default1
0.0.0.0/0          via 10.21.136.126 on eth0 [kernel_default 20:32:40] * 
(10)

Is there any way I can import them ?

Regards,

-- 
Damien Clabaut
R&D vRouter
ovh.qc.ca



More information about the Bird-users mailing list