Prevent duplicate routes with OSPF

bauen1 j2468h at googlemail.com
Wed Jun 19 21:46:59 CEST 2019


Hello,

The duplicate routes can most likely be filtered by ignoring routes with
'source = RTS_DEVICE', for example:

> protocol kernel {
>
>     ipv4 {
>
>         export filter {
>
>             if source = RTS_DEVICE then {
>
>                 reject;
>
>             }
>
>             accept;
>
>         };
>
>     }
>
> }
>
The same would be needed for ipv6.

These "duplicate" routes are generated by the direct protocol for every
network attached to a device.

Naturally bird will export these routes, however they aren't needed in
your case, since linux will generate these routes.

> How can I prevent direct connected routes from showing up from OSPF as
> well ending up in duplicates?
If you also don't want these routes in OSPF you might want to actually
remove the direct protocol.


More information about the Bird-users mailing list