Trex bird integration does not support evpn route type 5
40 views
Skip to first unread message
Haresh Khandelwal
unread,
May 5, 2025, 6:42:53 AMMay 5
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TRex Traffic Generator, Spoorthi K
Hi,
I am trying to use BIRD to advertise and receive EVPN type 5 routes where the remote end is using FRR to advertise EVPN type 5 routes. I used the BIRD from the EVPN branch [1].
router id 192.168.122.101;
protocol device {
scan time 1;
}
eth table etab2;
evpn table evpntab;
protocol bgp my_bgp {
local 12.12.12.2 as 64999;
neighbor 12.12.12.1 as 64999;
source address 12.12.12.2;
multihop 1;
hold time 180;
keepalive time 60;
ttl security;
ipv4 {
import all;
export all;
};
evpn;
}
protocol evpn my_evpn {
eth { table etab2; };
evpn { };
vni 1001;
rd 192.168.122.101:1001;
route target (rt,64999,1001);
}
Here is my simple BIRD configuration file and it is being aborted with following error:
# ./trex_bird -c cfg/evpn.conf -d
bird: Started
bird: unknown network type
Aborted (core dumped)
When I looked at what could have gone wrong, I realised I must provide both MAC and IP addresses for the routes. But don't we have type 5 - IP only support in BIRD?
typedef union net_addr_evpn {
struct {
u8 type;
u8 subtype;
u16 length;
u32 tag;
u64 rd;
byte data[0];
};
net_addr_evpn_ead ead;
net_addr_evpn_mac mac;
net_addr_evpn_mac_ip mac_ip;
net_addr_evpn_imet imet;
net_addr_evpn_es es;
} net_addr_evpn;
Can you please help me clarify if my understanding is right?