osrg / gobgp

BGP implemented in the Go Programming Language
https://osrg.github.io/gobgp/
Apache License 2.0
3.64k stars 694 forks source link

multiple nlri in a single mp_reach_nlri are not supported #1936

Closed rahil2508 closed 5 years ago

rahil2508 commented 5 years ago

I'm using GoBGP v2.0.0 to connect with Juniper MX device to run EVPN with VXLAN. I get the underlay BGP neighborship established for inet-unicast address family, I get the overlay neighborship established for evpn address family. Output of gobgp neighbor indicates routed received AND accepted by GoBGP -

$ gobgp neighbor Peer AS Up/Down State |#Received Accepted 172.16.1.1 10000 00:09:24 Establ | 12 12 192.168.1.1 10000 00:10:11 Establ | 2 2

[192.168.1.1 is underlay, 172.16.1.1 is overlay]

But when I check gobgp global rib -a evpn, I get this error -

$ gobgp global rib -a evpn multiple nlri in a single mp_reach_nlri are not supported

I took some captures and saw that the JunOS sends multiple UPDATE messages with multiple NLRI inside one packet -

image

Is this a bug in GoBGP or can I change something on the JunOS side to get around this?

fujita commented 5 years ago

Are you sure you use v2.0.0? The error message existed in the older versions like 1.33: https://github.com/osrg/gobgp/blob/8e6bd4c7145de5a68c40246418500bf05af9ce39/api/attribute.go#L1297 However, it doesn't exist in v2.0.0.

fujita commented 5 years ago

Please reopen if 2.X versions don't work.