Part 1
It's admirable how Petr Lapukhov et al. drove the story of BGP routing in Large-Scale Data Centers from an individual draft to an information RFC, specifically RFC7938. Note that RFC7938 does not recommend an overlay solution to be part of the design recommendations; the scope of that RFC is to discuss large-scale layer-3 hierarchical designs with BGP. On the other hand, the focus and scope of this blog are to discuss the design implications of such an approach for deployments with a VXLAN data-plane overlay and a BGP EVPN control-plane.
So what is an overlay? In the most simplistic terms, an overlay network connects virtual or logical links using dynamic tunnels between edge devices. These dynamic tunnels can select a single physical interface as well as leverage multiple physical interfaces in the underlying network. VXLAN implements a MAC in IP/UDP encapsulation header at edge devices that are referred to as VTEPs (VXLAN Tunnel End-Points). A stable IP transport network, the underlay, is required to carry the overlay-encapsulated traffic between the VTEPs.
The next question to ask is, how do the VTEPs learn reachability information to other VTEPs. Since VTEPs are routers, any Interior Gateway Protocol (IGP) such as OSPF or IS-IS could be implemented for the underlay routing protocol. In addition, since it is a routed network, the benefits of ECMP are leveraged, resulting in different paths being utilized for traffic between the same pair of VTEPs.
Now, the follow-up question is, what is carried in the overlay and why is the overlay required in the first place? First, it is desirable not to have every router or edge-device in the network to know about all the endpoints’ IP & MAC addresses that are active on the network. The goal is to only have the information known to the VTEPs. Source VTEPs encapsulate the traffic between endpoints in an “envelope” that is destined to the appropriate destination VTEP. The destination VTEP information is stamped in the outer header.
How does each VTEP know the VTEP behind which a given endpoint resides? This is where the BGP EVPN control-plane comes into play. BGP EVPN routers advertise the endpoint reachability information among the VTEPs. Ok, so far so good, so with BGP EVPN as the overlay control-plane, which IGP should be selected for the underlay? In addition to the routing protocol, what does the network topology look like? Does the type of topology have a bearing on the selection? Also, what if connectivity between endpoints in different PODs or even different data centers is required?
Today, a common data center deployment trend is to implement a leaf/spine topology. RFC7938 nicely explains the concept of the leaf and multiple spine tiers that can be used to build such a Clos-based network topology. Let's assume the spine/leaf topology is deployed, where all the leafs are interconnected to four spines. One may ask, why four spines? Well, it is October and 10 – 6 Octoberfests = 4 Octoberfests left, so four seems like a good number :-).
Now that the data center topology has been established, the underlay routing protocol decision needs to be made. In a topology of tens of switches, an IGP is a good choice and the configuration overhead is rather minimal. It may be worthwhile using the IP unnumbered option to reduce the IP address assignment complexity.
Figure 1 - Leaf / Spine Topology
Implementing an IGP for the underlay and BGP EVPN for the overlay is a good choice. Are there alternative deployment models? Can one use BGP for both the underlay and overlay? A common ask from customers is that they want to simplify the underlay and overlay by implementing a single routing protocol. Simplification is a good thing; however, is it really simplifying things?
But first, the IGP configuration approach:
Now, let's compare this to the BGP approach for the underlay, specifically eBGP, keeping our focus on RFC7938.
Comparing the IGP and eBGP implementations, seems like both are similar, with IGP having 4 steps and eBGP having 5 steps right? Well not really! Some of the BGP pieces could be simplified; however, there are BGP configuration parameters that need to be considered as well as understood. To make BGP work, steps 5a and 5d need to be applied, and consequently, a couple of questions need to be asked:
Now that the first fabric is set up and completed; looking ahead, an additional fabric must be brought up. The goal is to copy/paste configuration from the first fabric to the new fabric, so far so good, right?
Again, a common question from customers is, how should the two fabrics be inter-connected? Since the first fabric was built as a layer-3 fabric for the underlay network, it should be easy to interconnect the two fabrics back to back at the spine layer. As long as the scale is limited to two fabrics, this would be extremely simple. Once the requirement for a third fabric comes into scope, additional complexity is added with every addition. Adding the third, or more will make interconnecting the fabric together from spine to spine more complicated in order to avoid unnecessary tromboning through other fabrics spines. An additional concept needs to be introduced to provide additional scale as well as intelligence.
Figure 2 Leaf / Spine back-to-back vs. Super-Spine
The addition of a 2nd spine tier should be considered to simplify the connectivity between the different fabrics, the magical super-spine. With the super-spine in place, what is really happening? The spines of Fabric #1 are physically wired to the super-spines; the same applies for the spines in Fabric #2. The underlay is routed in a combined fabric, this is achieved as all the VXLAN tenants and segments are present everywhere. Depending on the decision of what underlay routing protocol to implement, IGP or eBGP, additional questions need to be asked:
In order to answer the above questions, additional understanding of the characteristics on how the overlay behaves is required. As mentioned above, it is required to have the same VXLAN tenants and segments in both fabrics. Extending the tenants and segments allows the VXLAN tunnel originated on a VTEP in Fabric #1 to be mapped/extended to a VTEP in Fabric #2. In order to achieve the desired use-case, the IP addresses that represent all the VTEPs are seen and reachable end-to-end in the underlay transport network between the fabrics. If there are 2 separate fabrics with unique Autonomous System (AS) numbers for the overlay control-plane, eBGP would seem a natural choice to interconnect the two fabrics. Guess what? The same considerations that were discussed earlier apply here including the need for BGP next-hop-unchanged as well as allows-in /as-override configurations.
Despite the creation of the beautiful hierarchical underlay network (leaf - spine – super-spine - spine – leaf), looking at the logical topology from an overlay perspective it simply becomes leaf-----leaf, a flat end-to-end tunnel between the two fabrics. In the earlier discussion, two different fabrics were introduced fabric #1 and fabric #2, as a result, multiple PODs were created as part of a stretched or extended fabric interconnected at the spine layer or with the super-spines. At this point, additional questions arise:
Perfect, finally we are at a point where the super nice hierarchy in the underlay, as well as the super-spine, is demystified. Yes, RFC7938 can work for the underlay, there is no doubt. The bigger question to ask is, the importance of such a design once everything is flattened out in the overlay. The magic of the super-spine was discussed to interconnect multiple leaf/spine PODs together; however, the term "fabrics" was avoided. The super-spine is literally an interconnecting router. Poof, the magic is gone.
Additional considerations will be provided for building a VXLAN EVPN based network with eBGP in the underlay. Stay tuned, you will see a follow-up blog on this topic.
Rather than keep all these thoughts, considerations and questions open, let’s provide a bit of the Cisco view in regards to Multi-POD, Multi-Fabric, and especially Multi-Site designs. EVPN Multi-Site is the game-changer when it comes to interconnecting multiple VXLAN BGP EVPN networks.
The description so far has described a Multi-POD deployment interconnected at the spine. For detailed design and implementation considerations for this deployment, Cisco provides a design guide.
For networks that require more separation, failure containment, and failure propagation prevention, the Multi-Fabric approach is the reboot of the classic Data Center Interconnect (DCI) approach. In these cases, you build truly separated fabrics and interconnect them via a technology that suits you for the necessary Layer-2 and/or Layer-3 transport. In order to achieve this separation, the VXLAN fabrics become independent and use the most-common denominator in encapsulation normalization, namely Ethernet, to hand the traffic over to the DCI. It is important to highlight the merits and details of such solution, additional information is documented in this whitepaper.
The Design Guide can be found here
Both end-to-end (Multi-POD) and individual fabrics stitched together (Multi-Fabric) have been covered. Both deployment options achieve the same result, Layer-2 and Layer-3 extension, but in a slightly different manner. The story becomes really interesting with VXLAN EVPN Multi-Site being available now. For a long time, Cisco has been shipping a solution based on MPLS Layer-3 VPN and LISP to interconnect VXLAN BGP EVPN fabrics. Now, we are providing a solution that is a combination of the merits from Multi-POD and Multi-Fabric deployments removing their complexity and limitations. The VXLAN EVPN Multi-Site approach will write the next chapter on how VXLAN BGP EVPN networks are built, interconnected, and additionally scaled out.
VXLAN Innovations - VXLAN EVPN Multi-Site: Part 2 of 2
In addition, enjoy an extended read about Building Data Centers with VXLAN BGP EVPN from a Cisco NX-OS perspective
Authored by: