Import directly connected routes

Ondrej Zajicek santiago at crfreenet.org
Mon May 8 21:16:52 CEST 2017


On Mon, May 08, 2017 at 02:51:55PM -0400, Damien Clabaut wrote:
> 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

...

> 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 ?

Hello

Kernel protocol in 'learn' mode does not learn 'native' kernel routes,
just routes added by other daemons/tools (like the default route). 

But 'device' protocol could do what you want.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20170508/96caf412/attachment.asc>


More information about the Bird-users mailing list