19 Jun
2019
19 Jun
'19
7:46 p.m.
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.