Redistribute loopback in OSPF

Quentin Ritoul qritoul at gmail.com
Wed May 17 22:31:41 CEST 2017


Hello,

I'm starting to use Bird, and I try to redistribute loopback in ospf. (So
it seems easy...)

rt01 : interface ens18 > 10.0.4.5/24
interface loopback > 10.99.99.1/32 (and 127.0.0.1/8)

rt02 : interface ens18 > 10.0.4.6/24
interface loopback > 10.99.99.100/32 (and 127.0.0.1/8)

Below the configuration of rt01 and rt02 :

rt01 :

filter loopbacks {
        if (net = 10.99.99.1/32 ) then accept;
        else reject;
}

protocol ospf {
        import all;
        export filter loopbacks;

        area 0 {
                interface "ens18" {
                        cost 5;
                        type broadcast;
                        hello 5; retransmit 2; wait 10; dead 20;
                        authentication cryptographic; password "toto";
                };

        };
}

rt02 :

filter loopbacks {
        if (net = 10.99.99.100/32 ) then accept;
        else reject;
}

protocol ospf {
        import all;
        export filter loopbacks;

        area 0 {
                interface "ens18" {
                        cost 5;
                        type broadcast;
                        hello 5; retransmit 2; wait 10; dead 20;
                        authentication cryptographic; password "toto";
                };

        };
}

But it doesn't work. Each router don't receive the route 10.99.99.X

bird> sh route
0.0.0.0/0          via 10.0.4.1 on ens18 [kernel1 22:01:40] * (10)
10.0.4.0/24        dev ens18 [direct1 22:01:40] * (240)
                          dev ens18 [ospf1 22:01:48] I (150/5) [10.0.4.5]

Could you help me please ?

Regards,
Quentin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20170517/47cae7ad/attachment.html>


More information about the Bird-users mailing list