ignorance09
10/24/2017 - 1:56 PM

school ospf bird

school ospf bird

router id 33.44.0.1;

protocol device {
scan time 10;
}

protocol kernel {
        metric 64;      # Use explicit kernel route metric to avoid collisions
                        # with non-BIRD routes in the kernel routing table
        import none;
#       export all;     # Actually insert routes into the kernel routing table
}


protocol static {
        import all;
        route 33.44.0.0/16 via 33.44.0.1;
}


protocol ospf {
        import all;
        export filter {
                ospf_metric1 = 1000;
                if source = RTS_STATIC then accept; else reject;
        };

        area 0 {
                interface "eno2" {
                        cost 5;
                        type broadcast;
#                        hello 10; retransmit 2; wait 10; dead 20;
                };
         interface "*" {
                        cost 1000;
                        stub;
                };
        };
}