Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 4.72 KB

multi-vendor-evpn-fabric.md

File metadata and controls

46 lines (32 loc) · 4.72 KB
date evpn_tag tags title
2023-04-20 06:11:00 +0000
design
EVPN
Multi-Vendor EVPN Fabrics

Daniel left an interesting comment on my Studying EVPN to Prepare for a Job Interview blog post:

I also never build a VXLAN fabric with two vendors. So, is it possible now to build one large fabric consisting of multiple vendors?

TL&DR: Yes, but just because you could doesn't mean that you should.

{{}}EVPN allows for multi-vendor fabric, but it's not without complications. To minimize issues, use a single vendor per layer, IBGP for EVPN address family, IGP for underlay routing, and avoid complex features like EVPN multihoming. Stick to supported implementations and avoid experimental configurations for a smoother experience.{{}}

EVPN is a complex technology full of optional nerd knobs, and early implementations quickly turned it into SIP of Networking1. Fortunately (for the rest of us), EVPN vendors eventually came to their senses and started participating in EVPN interoperability testing, usually done during the MPLS & SDN World Congress (2022 test report).

However, just because boxes from different vendors work together doesn't mean we're in a carefree plug-and-play world2. If you're forced to build a multi-vendor EVPN fabric it makes sense to stay as far away as possible from the vendor shenanigans (like IBGP EVPN over EBGP underlay) and simplify your design:

  • Use a single vendor for a layer (leaf or spine). You might claim that's cheating as all the hard work is done on the leafs, and the spines serve only as route reflectors (or not even that). It is possible to have mixed-vendor leafs, but it will make your life more interesting.
  • Use IBGP for EVPN address family. Most EVPN implementations use BGP AS number as part of the EVPN route target and while it's possible to make multi-AS EVPN work it's a needless hassle.
  • Use an IGP for the underlay routing. You're not a hyperscaler3 and don't need EBGP to scale your underlay routing. It doesn't matter whether you use OSPF or IS-IS (most vendors have decent implementations of both), but you might want to stick with OSPF to be extra safe4.
  • Stay away from complex stuff like EVPN multihoming. It's safer to use traditional MLAG with anycast VTEP.
  • Multicast BUM replication is not supported by all vendors. Stay with EVPN-driven ingress replication.
  • Use symmetric integrated routing and bridging. It's supported by most vendors these days, although you might encounter a few anycast gateway quirks.

In the ideal world I wouldn't have to write what comes next, but some people love to live dangerously and push the envelope, so here we go.

Don't even think about:

  • Complex nerd knobs unless you need eternal job security.
  • Using stuff that is not explicitly supported. Don't try to be overly smart. Your coworkers, your users, and vendor TAC engineers will appreciate that.
  • VXLAN-to-VXLAN bridging. Multiple vendors can do it, but you probably don't want to be the one to figure out how to make them work together5.
  • Multivendor MLAG clusters. MLAG is more than just a few hacks in the EVPN route types; not all of its mandatory components are standardized.

For more details, watch the excellent Multivendor Data Center EVPN presentation by Dinesh Dutt.

Footnotes

  1. If you ever had to use DTMF tone generator because your VoIP gateway and the public VoIP exchange to which it was connected couldn't agree on how to do DTMF signaling you know what I'm talking about.

  2. We might have reached the plug-and-pray phase though.

  3. And if you are, I hope you're reading my blog for the snark, not to get fabric design advice.

  4. Hint: EIGRP is a wrong answer. So is RIP, but for other reasons.

  5. Once I asked a TAC engineer whether it's OK to run ~20 EIGRP processes on a single router and he replied: "sure, just keep in mind you'd be the only one in the world doing it." FWIW, that design was in production for over a decade before we managed to replace it with MPLS/VPN.