Birdc OSPF propagate connected networks from VLANs

viker viker at viker.cz
Wed Jan 6 09:26:43 CET 2016


Hello everybody,
i have a strange problem with propagation of subnets to OSPF area.
scheme:

---------------     Area 0          -----------------
-- Router1 -- ------------------ -- Router 2 --
---------------                         -----------------
      | LAGG iface                        | LAGG iface

On both routers are bonded ifaces in LAGG. When i create vlan on LAGG
trunk (i'm on FreeBSD 10.2. bird 1.5.0), i have in route export only
ip/32 on vlan iface, not whole subnet.
Configuration of bird:


#### Main ####
log "/var/log/bird.log" all;
router id XXX.XXX.XXX.XXX;
debug protocols all;

protocol static {
    route YYY.YYY.YYY.YYY/NN via "vlanXX";
    export all;
    import all;
}

protocol device {
    scan time 120;
    export all;
}

protocol kernel
{
        learn;
        persist;
        scan time 30;
        import all;
    export all;
}

protocol ospf
{
        import filter {
                accept;
        };
        export all;
        area 0.0.0.0 {
                interface "ix0" {
                        cost 10;
                        type broadcast;
                        hello 10;
                        retransmit 5;
                        wait 15;
                        dead 30;
                };

                networks {
                        10.0.0.0/8;
                        172.16.0.0/12;
                        192.168.0.0/16;
                };
        };
};


Interesting thing is , when i import subnet to main table via :route
XXX.XXX.XXX.XXX via "vlanXXX"; in static protocol and do birdc
configure, propagation is working.
So it seems to me that protocol device (or kernel) is not correctly
importing created subnet into main table.
Any ideas ?
Thank You All
 Viker

-- 


S pozdravem Vilem Kebrt
email: viker at viker.cz
tel: +420 604 550 132



More information about the Bird-users mailing list