FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.34k stars 1.25k forks source link

autort rfc8365 / inconsistent derived route target values #9181

Closed pguibert6WIND closed 1 year ago

pguibert6WIND commented 3 years ago

-ubuntu1804hwe -upstream branch

summary when modifying 'bgp vrf vrf1 evpn configuration with autort rfc8365 behaviour', I come to a case where the derived route-targets are not the same according to the order of configuration. that issues does not need to peer bgp evpn instances to make it work.

config

ip li add vxl1 type vxlan id 100 local 4.4.4.4
ip li set dev vxl1 up
ip li add vrf1 type vrf table 10
ip li set dev vrf1 up
ip li add dum1 type dummy
ip li set dev dum1 up
ip a a 4.4.4.4/32 dev dum1
brctl addbr br1
brctl addif br1 vxl1
ip li set dev br1 up
ip li set dev br1 master vrf1
incorrect show

dut-vm# show bgp vrf vrf1 vni BGP VRF: vrf1 Local-Ip: 4.4.4.4 L3-VNI: 100 Rmac: 0e:38:03:78:c7:dd VNI Filter: none L2-VNI List:

Export-RTs: RT:100:100
Import-RTs: RT:100:100
RD: 65000:100

pguibert6WIND commented 3 years ago

https://github.com/FRRouting/frr/pull/9422

ton31337 commented 1 year ago

Fixed by https://github.com/FRRouting/frr/pull/9422.