BIRDv2 OSPF: Stub for loopback potentially broken: Invalid Prefix in LSA

bauen1 j2468h at googlemail.com
Thu Apr 11 20:38:44 CEST 2019


Hello,

I've been playing around with BIRD and OSPF for a while now and ran
across an error I don't quite understand, while trying to get BIRD to
advertise ip addresses on the loopback interface on a debian 10 server.

# bird.conf:

debug protocoll all;

protocol device {

    scan time 10;

};

protocol ospf v3 ospf_ip4 {

    ipv4 {

        export filter accept;

        import filter accept;

        import keep filtered;

    };

    area 0.0.0.0 {

        interface "lo", "dummy*" {

            stub yes;

        };

    };

};


# ip addr show dev lo

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet 10.50.0.1/32 scope global lo
       valid_lft forever preferred_lft forever
    inet6 fe80::1/128 scope link
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever

Please note that loopback has a ipv6 link local address to get bird to
recognize the interface.

In theory, this should advertise 10.50.0.1/32 to other ospf routers, yet
it doesn't and BIRD complains about LSAs with an invalid prefix

This should advertise 10.50.0.1/32 to other routers and add the
respective entries to the  LSADB, yet bird starts complaing about an
invalid LSA: "ospf_ip4: Invalid prefix in LSA (Type: 2001, Id: 0.0.0.0,
Rt: 10.50.0.1)", I have attached the debug output of bird.

Any help would be appreciated.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: bird_error.log
Type: text/x-log
Size: 4882 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20190411/27502424/attachment.bin>
-------------- 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/20190411/27502424/attachment.sig>


More information about the Bird-users mailing list