EVPN static IMET route on Bird 3.3.0
Maria Matejka
maria.matejka at nic.cz
Thu May 28 13:19:44 CEST 2026
Dear André,
On Thu, May 28, 2026 at 12:00:50PM +0200, André Grüneberg wrote:
> Before starting bird:
> ip link add name vx7 type vxlan id $VNI local $ROUTER dstport 4789
> ip link set vx7 up
That means you indeed have the vxlan interface which you wanted to not
have, but whatever, yes, this works.
> bird.conf:
> eth table t_eth;
> evpn table t_evpn;
> protocol evpn p_ixpect01 {
> evpn { table t_evpn; };
> eth { table t_eth; };
> rd my_ip:100;
> route target (rt, 10, 100);
> encapsulation vxlan {
> tunnel device "vx7";
> };
> }
>
> So it takes a whole protocol to inject a static entry -- with the
> limitation of one IMET route per VNI.
That looks like a viable yet kinda cursed solution. We'll definitely
look into possibilities on how to make it less cursed.
> BTW: In case the vxlan Interface does not exist, Bird 3.3.0 on Ubuntu 26.04
> does crash with a segfault in libc:
>
> kernel: bird[236863]: segfault at 10 ip 00007963a6b9a1af sp
> 00007ffe6a8cda38 error 4 in libc.so.6[19a1af,7963a6a28000+198000] likely on
> CPU 1 (core 2, socket 0)
> kernel: Code: 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa c4 41 01 ef ff
> 89 f8 09 f0 c1 e0 14 3d 00 00 00 f8 0f 87 25 03 00 00 c5 fe 6f 07 <c5> fd
> 74 0e c5 85 74 d0 c5 ed df c9 c5 fd d7 c9 ff c1 74 5d f3 0f
>
> Is this considered a bug? ;)
Congratulations, you have found a bug! We'll let you know as soon as we
know more about that. Internal reference: #423
Happy routing!
Maria
--
Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20260528/f606e239/attachment.htm>
More information about the Bird-users
mailing list