VXLAN: Exploring Symmetric and Asymmetric IRB
Sasan Jalouli
Network & Network Security Engineer | AWS Certified | Cisco Certified
Virtual Extensible LAN (VXLAN) is a key technology that has transformed the landscape of data center networking, addressing the scalability and flexibility challenges associated with traditional VLANs (Virtual Local Area Networks). VXLAN is an encapsulation protocol designed to extend Layer 2 networks over Layer 3 infrastructure, making it an integral part of modern data center architectures.
Key Components of VXLAN:
VXLAN provides the capability to extend our Layer 2 network across a Layer 3 infrastructure. However, we need to establish traffic routing between VNIs (VXLAN Segments) in a manner similar to our approach to Inter-VLAN routing.
VXLAN Routing:
Routing in VXLAN can be performed with one of two architectures:
Employing a Distributed Routing architecture, the IETF outlines two models within EVPN to achieve inter-subnet routing:
First, let's have a brief definition of IRB:
Integrated Routing and Bridging (IRB) is a networking technology that plays a critical role in connecting and facilitating communication between different network segments within a single device, typically a router or a layer 3 switch. IRB seamlessly integrates both routing and bridging functionalities, providing a versatile solution for managing traffic between VLANs (Virtual Local Area Networks) and improving the overall efficiency of network communications.
The primary distinction between the Asymmetric IRB model and the Symmetric IRB model lies in the method and location of routing lookups.
Asymmetric IRB:
In the asymmetric model, routing and bridging occur at the VXLAN tunnel ingress, while only bridging takes place at the egress. This leads to bidirectional VXLAN traffic traversing different VNIs in each direction, always following the destination VNI, within the routed infrastructure.
领英推荐
Considering the above figure Host A wants to communicate with Host B:
Pros:
The implementation is easy and there is no need for extra VNIs.
Cons:
All the VLANs and VNIs must be configured on all VTEPs even if the VTEPs do not have clients on all VLANs. This will increase the ARP cache, and CAM table size which will result in the control plane scaling issue.
Symmetric IRB:
The symmetric model involves routing and bridging on both the ingress and egress leaves. This allows bidirectional traffic to traverse on the same VNI in both directions.
In this approach, all routed VXLAN traffic is directed through a dedicated transit VNI known as the L3VNI. The L3VNI serves as the conduit for routing traffic, where it is tunneled across the Layer 3 infrastructure, routed off the L3VNI to the designated VLAN, and finally, bridged to reach its destination.
Considering the above figure Host A wants to communicate with Host B:
Pros:
This method is scalable because each VTEP hosts the needed VLANs and VNIs in which it has connected devices.
Cons:
The configuration is more complex as an extra VXLAN tunnel and VLAN in your network are required. The data plane traffic is also more complex as an extra routing hop occurs and could cause extra latency.
Network Engineering and Automation
8 个月Thank you Sasan. One of the clearest explanations between symmetric and asymmetric vxlan routing I have seen! Although, I think you have a typo in step 5 in the asymmetric explanation. "Host B sends the frame in VLAN 10 to its default gateway which is VTEP 2." I think it should be VLAN 20 as Host B is in VLAN 20.
Online Business Manager at Pars Hayan Marketing Manager at Mio gold
12 个月??