written by Asterfuison
VxLAN ( Virtual eXtensible Local Area Network) is essentially a tunnel encapsulation technology. It uses the common tactic of the TCP/IP stack – encapsulation/decapsulation technology, which encapsulates Layer2 Ethernet frames into Layer4 UDP datagrams and then transmitted in the Layer3 network. The effect is like Layer 2 Ethernet frames being transmitted in one broadcast domain, which actually crossing the Layer3 network , but does not perceive the L3 network’s presence.
With the development of network technology, cloud computing has become a new trend in IT construction , in terms of its advantages in system utilization, low management costs, and flexibility/scalability.As one of the core technologies of cloud computing – server virtualization has been applied widely , which greatly enhances the computing density of the data centers. At the same time, the demand for unlimited migration of VMS on layer 2 networks is becoming increasingly urgent . In order to cope with the challenge of network scale and workload mobility,VXLAN is born and used as one of main overlay network technologies. In this article, let’s explore What is VXLAN and VXLAN switches.
VxLAN is the abbreviation of Virtual eXtensible Local Area Network. As it can be seen from the name, this is an extension protocol of VLAN.
VxLAN is essentially a tunnel encapsulation technology. It uses the common tactic of the TCP/IP stack – encapsulation/decapsulation technology, which encapsulates Layer2 Ethernet frames into Layer4 UDP datagrams and then transmitted in the Layer3 network. The effect is like Layer 2 Ethernet frames being transmitted in one broadcast domain, which actually crossing the Layer3 network , but does not perceive the L3 network’s presence.
Although VXLAN is an extension protocol from VLAN, VXLAN is very different from VLAN in establishing virtual tunnels.
VXLAN is an overlay technology that allows you to segment network (just like a VLAN), but also addresses VLAN extension limitations and offers benefits that VLANs cannot provide. Some of the key benefits of using VXLAN include:
The above picture shows the achitecture of the VXLAN network. The basic concept is as follows:
VXLAN uses 24 bits to identify the layer 2 network segmentation, and each VNI identifies a VXLAN subnet(similar to VLAN ID ),the corresponding relationship between each VXLAN ID and the virtual machine’s VLAN ID can be 1:1 or 1:N.
VTEP is the edge device of VXLAN, and VXLAN processing is performed on VTEP:Identify which VXLAN an Ethernet frame belongs to、forwarding data frames based on VXLAN, encapsulate/decapsulate VXLAN packets, etc. A VTEP can be a network device entity or server’s vSwitch
The VXLAN service access point is unified as a Layer 2 sub-interface on the VTEP, which is used to access data packets. It can identify which BD domain a VXLAN data packet belongs to based on the VLAN or packet encapsulation type.
The source IP address in the VXLAN packet header is the VTEP address of this node, and the destination IP address is the VTEP address of the peer node. A pair of VTEP addresses corresponds to a VXLAN tunnel. A VXLAN tunnel is a logical tunnel that completes the transmission of VXLAN encapsulated packets between two VTEPs.
In the traditional network, using VLAN to divide the broadcast domain . In VXLAN network, the broadcast domain is divided by BD .Map the VNI to the broadcast domain BD in 1:1 manner. A BD represents a broadcast domain. VMs in the same BD can communicate at Layer 2. VMs in different BDs can communicate with each other by configuring VBDIF interfaces on the VXLAN Layer 3 gateway.
Similar to vlan, vxlan gateways must be relied upon for communication between different vxlan VNI or between vxlan and non-vxlan networks. VXLAN gateways are divided into Layer 2 gateways and Layer 3 gateways.
Layer 2 gateway: The same VXLAN VNI can communicate with different VTEPs, that is, tenants can communicate with each other on the Layer 2 network.
Layer 3 gateway: Layer 3 communication between different VXLAns or between VXLAN and non-VXLAN networks.
Each component of the VXLAN architecture plays an important role in the running of the VXLAN network.
Asterfusion self-develop SONiC NOS- AsterNOS fully supporting VXLAN & EVPN functions, while the development of features such as L2VXLAN, tunnel management, and EVPN within the SONiC community remains incomplete.
Asterfusion CX-N low latency switches support EVPN-VXLAN and could used as VTEP gateways, encapsulating/decapsulating VXLAN packets, and routing between different VXLANs.
In addition to solving the three major challenges faced by data center networks, the “Asterfusion Switch + VXLAN” solution for building virtual networks has many other values:
1)To support VXLAN, only needs to enable the VTEP function on the switch. This solution is compatible with existing networks and realizes asset protection;
2)Asterfusion innovatively uses VLAN + Port to identify tenants, so that each interface of each switch can be connected to 4094 tenants in the server, and each switch can be connected to 4094 × port tenants, number of tenants increased by port times, therefore each Asterfusion switch has super tenant bearing capacity;
3)Asterfusion also supports multiple VXLAN gateway deployment modes, including centralized gateway deployment mode and distributed gateway deployment mode;
4)Offloading the VTEP function of the virtual network to the Asterfusion switch to ensure high performance network,etc.
VXLAN has become the best choice for SDN Overlay technology due to its simple data plane and good compatibility .If you are looking for a professional and cost-effective SONiC VXLAN switches for your data center, Asterfusion is a good choice.
Asterfusion Networks is the leading provider of open networking infrastructure solutions. We provide an open, disaggregated, and highly programmable network fabric for next generation data centers and campus with white-box switching.
For more information on Asterfusion’s products and solutions, please visit https://cloudswit.ch/. For sales inquiries, please send an email to [email protected]
Floor 4, Building A2, Shahutiandi, No.192 Tinglan Road, SIP
23F - E08, Dinghe Tower, Jintian Road, Futian, Shenzhen
© Asterfusion Data Technologies Co., Ltd. All rights reserved.