Direct routes and OSPF
I've got a question about importing direct routes and interaction with BGP & OSPF. We have an issue with BIRD (1.6.3) when we do a 'configure soft' we end up with linknet routes being learned via indirect paths over OSPF which breaks BFD and BGP. It only happens with IPv6, not IPv4. Given routers A, B, C and D: A----B | | C----D Doing a 'birdc6 configure soft' on router A will sometimes end up with the linknet for A-C being put in the kernel table by OSPF learned from B. Not all interfaces are part of OSPF and I'm wondering if importing direct routes into BIRD for all interfaces would stop OSPF from trying to insert the routes into the kernel table? Any ideas would be greatly appreciated. Thanks. -- Alasdair Muckart (he/him) Network Engineer Catalyst IT - Expert Open Source Solutions Mobile: +64 22 638 5141 | DDI: +64 4 897 7794 | www.catalyst.net.nz CONFIDENTIALITY NOTICE: This email is intended for the named recipients only. It may contain privileged, confidential or copyright information. If you are not the named recipient, any use, reliance upon, disclosure or copying of this email or its attachments is unauthorised. If you have received this email in error, please reply via email or call +64 4 499 2267.
On Fri, Nov 27, 2020 at 09:17:31AM +1300, Alasdair Muckart wrote:
I've got a question about importing direct routes and interaction with BGP & OSPF.
We have an issue with BIRD (1.6.3) when we do a 'configure soft' we end up with linknet routes being learned via indirect paths over OSPF which breaks BFD and BGP.
Hi I would suggest to upgrade to latest version (either 1.6.8 or from BIRD 2.0). There were some changes w.r.t. propagation of direct routes to kernel. It is also dependent on platform (Linux or BSD), and it is generally a bit fragile part. In BIRD 2.0 on Linux we fixed most theser issues by using (by default) kernel metric 32 for BIRD routes, so they do not collide/overwrite with existing kernel routes. IMHO it is possible do the same even in BIRD 1.6 by manually configure 'metric' option in kernel protocol. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Alasdair Muckart -
Ondrej Zajicek