Bird does not export routes with different proto
Hi guys, i tried to announce routes via ospf first time. Till now i use babel to get my routes in my table. Now i want to announce the babel routes trough my ospf as well. But here i see, even if import and export filters are set on all that bird ist not collecting this routes from my kernel table. Is there a reason for it or can i configure this? My Config: router1: #/etc/bird/bird.conf log syslog all; router id 163.172.107.146; protocol direct { interface "lo"; interface "bb-a-ak-ber"; interface "bb-b-ak-ber"; interface "bb-a-ix-dus"; interface "bb-b-ix-dus"; interface "bb-a-fra"; interface "bb-b-fra"; interface "ens18"; }; protocol kernel { device routes; import all; export all; kernel table 200; }; protocol device { scan time 10; }; protocol ospf IGP { import all; export all; area 0 { interface "lo" { stub yes; }; interface "ens18"; }; Routing Table on router1 default via 100.64.2.34 dev bb-a-fra proto bird 10.5.0.1 via 192.168.68.19 dev exit proto babel onlink 10.5.0.2 via 192.168.68.20 dev exit proto babel onlink 10.10.96.0/21 via 192.168.70.2 dev exit-kevin proto babel onlink 10.19.48.0/21 via 192.168.68.4 dev exit proto babel onlink 10.19.96.0/21 via 192.168.68.18 dev exit proto babel onlink 10.158.0.0/18 via 192.168.90.8 dev vpn3 proto babel onlink 10.158.128.0/18 via 192.168.90.8 dev vpn3 proto babel onlink 100.64.2.26 dev bb-a-ak-ber proto bird scope link 100.64.2.28 dev bb-b-ak-ber proto bird scope link 100.64.2.30 dev bb-a-ix-dus proto bird scope link 100.64.2.32 dev bb-b-ix-dus proto bird scope link 100.64.2.34 dev bb-a-fra proto bird scope link 100.64.2.36 dev bb-b-fra proto bird scope link 185.66.193.20 dev lo proto bird scope link 192.168.48.0/24 dev ens18 proto bird scope link 192.168.68.0/24 dev exit proto static scope link 192.168.70.0/24 dev exit-kevin proto static scope link router2 #/etc/bird/bird.conf log syslog all; router id 192.168.47.1; protocol direct { interface "lo"; interface "ens18"; }; protocol kernel { device routes; import all; export all; kernel table 200; }; protocol device { scan time 8; }; protocol ospf IGP { import all; export all; area 0 { interface "lo" { stub yes; }; interface "ens18"; }; } routing table router 2 default via 192.168.48.45 dev ens18 proto bird 10.66.0.0/24 dev lo proto bird scope link 100.64.2.26 via 192.168.48.45 dev ens18 proto bird 100.64.2.28 via 192.168.48.45 dev ens18 proto bird 100.64.2.30 via 192.168.48.45 dev ens18 proto bird 100.64.2.32 via 192.168.48.45 dev ens18 proto bird 100.64.2.34 via 192.168.48.45 dev ens18 proto bird 100.64.2.36 via 192.168.48.45 dev ens18 proto bird 185.66.193.20 via 192.168.48.45 dev ens18 proto bird 192.168.47.1 dev lo proto bird scope link 192.168.48.0/24 dev ens18 proto bird scope link As you can see, there are not all the routes from router1. Thanks in advance! Br, Kevin
On Sun, Aug 26, 2018 at 09:54:19AM +0200, Kevin Schmitz wrote:
Hi guys,
i tried to announce routes via ospf first time. Till now i use babel to get my routes in my table. Now i want to announce the babel routes trough my ospf as well.
But here i see, even if import and export filters are set on all that bird ist not collecting this routes from my kernel table.
Hi You have to add 'learn' option to the kernel protocol. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@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."
Hi, thank you! That was the problem!!!! :-) Br, Kevin Am 26.08.2018 um 14:55 schrieb Ondrej Zajicek:
On Sun, Aug 26, 2018 at 09:54:19AM +0200, Kevin Schmitz wrote:
Hi guys,
i tried to announce routes via ospf first time. Till now i use babel to get my routes in my table. Now i want to announce the babel routes trough my ospf as well.
But here i see, even if import and export filters are set on all that bird ist not collecting this routes from my kernel table. Hi
You have to add 'learn' option to the kernel protocol.
-- Freifunk-Euskirchen.de info@ffeu.de roots at eifel e.V. Vorstand roots at eifel e.V. Heerstr. 103 53894 Mechernich Mail: vorstand@roots-at-eifel.net Web: www.roots-at-eifel.net Register: Amtsgericht Bonn Registernummer: VR 10177 Vorstände: Kevin Schmitz, Wilfried Gierden, Manuel Schmidt
participants (2)
-
Kevin Schmitz -
Ondrej Zajicek