Bird does not export routes with different proto

Kevin Schmitz kevin at ffeu.de
Sun Aug 26 09:54:19 CEST 2018


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180826/c8a868a8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180826/c8a868a8/attachment.sig>


More information about the Bird-users mailing list