Bird linux "proto bird" field
Dear bird gurus: I've got Bird 1.5 compiled on an Arista 7150S24 multi-layer switch platform. I'm trying to inject a route learned by BGP into the kernel routing table and then into the switch FIB. I've got the following export filter configured: protocol kernel { persist; scan time 20; seconds import none; export filter bgp_xxx_in; } If I do an #ip route, I can see my entry into the switch routing table xxx.xxx.xxx.0/22 via xxx.xxx.xxx.1 dev vlan201 proto bird
From the Arista Linux bash shell, this route is correctly used if I source a packet from here.
But this route is not installed into the switch FIB. It looks like Arista only inject routes that are tagged as "proto kernel" or "proto static" from the RIB to the FIB and this one is tagged "proto bird". I've seen some interesting options in the manual like "int krt_source" but it's a read-only variable. Is there another way to achieve that ? Thanks for your help, Romain Romain Aviolat Senior System Administrator R&D and Ops Infrastructure Kudelski Security - Kudelski Group Rte de Genève 22-24, 1033 Cheseaux SWITZERLAND +41 21 732 03 79
On Wed, Dec 09, 2015 at 07:20:23AM +0000, Aviolat Romain wrote:
Dear bird gurus:
I've got Bird 1.5 compiled on an Arista 7150S24 multi-layer switch platform. I'm trying to inject a route learned by BGP into the kernel routing table and then into the switch FIB.
From the Arista Linux bash shell, this route is correctly used if I source a packet from here.
But this route is not installed into the switch FIB. It looks like Arista only inject routes that are tagged as "proto kernel" or "proto static" from the RIB to the FIB and this one is tagged "proto bird".
Is there another way to achieve that ?
Hi No, there is no configurable option for that, you could change that in the source, replacing RTPROT_BIRD for RTPROT_STATIC in sysdep/linux/netlink.c (2 occurences) Or urge Arista to fix that in their software. -- 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."
Hi Ondrej, Thanks for the tip ! I also notified Arista and the fix should be available on the next EOS release (4.16) during Q1 2016. +++ Romain -----Original Message----- From: Ondrej Zajicek [mailto:santiago@crfreenet.org] Sent: mercredi 9 décembre 2015 14:01 To: Aviolat Romain Cc: bird-users@network.cz Subject: Re: Bird linux "proto bird" field On Wed, Dec 09, 2015 at 07:20:23AM +0000, Aviolat Romain wrote:
Dear bird gurus:
I've got Bird 1.5 compiled on an Arista 7150S24 multi-layer switch platform. I'm trying to inject a route learned by BGP into the kernel routing table and then into the switch FIB.
From the Arista Linux bash shell, this route is correctly used if I source a packet from here.
But this route is not installed into the switch FIB. It looks like Arista only inject routes that are tagged as "proto kernel" or "proto static" from the RIB to the FIB and this one is tagged "proto bird".
Is there another way to achieve that ?
Hi No, there is no configurable option for that, you could change that in the source, replacing RTPROT_BIRD for RTPROT_STATIC in sysdep/linux/netlink.c (2 occurences) Or urge Arista to fix that in their software. -- Elen sila lumenn' omentielvo
participants (2)
-
Aviolat Romain -
Ondrej Zajicek