๐ง VXLAN | The Key to Scalable, Flexible, & Virtualized Networking ๐ณ
Discover How VXLAN Enhances Network Scalability & Flexibility for Virtualized Environments

Driving SD-WAN Adoption in South Africa
Virtual Extensible LAN (VXLAN) is a network overlay technology designed to address the scalability and flexibility challenges of traditional Layer 2 networks. As businesses embrace cloud computing, virtualization, and distributed data center architectures, VXLAN provides an efficient way to extend Layer 2 networks over a Layer 3 infrastructure.
This article explores the fundamentals of VXLAN, its components, how it works, and why it is critical for modern network architectures.
What is VXLAN?
VXLAN is a network virtualization technology that encapsulates Layer 2 Ethernet frames inside UDP packets, allowing networks to extend beyond their physical boundaries over an IP-based infrastructure.
Traditional VLANs (Virtual Local Area Networks) are limited to 4,096 VLAN IDs, making them unsuitable for large-scale environments such as cloud providers, data centers, and multi-tenant enterprise networks. VXLAN solves this limitation by using a 24-bit VXLAN Network Identifier (VNI), which supports up to 16 million isolated virtual networks.
Key Features of VXLAN
โ
Scalability: VXLAN supports up to 16 million unique VNIs, far surpassing VLAN's 4,096 limit.
โ
Encapsulation: VXLAN encapsulates Ethernet frames into UDP packets, allowing network overlays on existing IP infrastructure.
โ
Multi-tenancy: Each VNI represents an isolated virtual network, perfect for cloud environments hosting multiple tenants.
โ
Flexibility: It enables seamless Layer 2 communication across geographically dispersed locations without modifying the physical network.
VXLAN Components
VXLAN operates as an overlay network running on top of an underlay Layer 3 IP network. The key components include:
1. VXLAN Tunnel Endpoint (VTEP)
A VXLAN Tunnel Endpoint (VTEP) is responsible for:
๐น Encapsulation โ Wrapping Layer 2 frames inside VXLAN packets before forwarding them over the IP network.
๐น Decapsulation โ Stripping VXLAN headers and delivering Ethernet frames to the destination device.
VTEPs exist in both hardware (switches, routers) and software (hypervisors, virtual switches). Each VTEP has an IP address that allows it to communicate across the underlay network.
2. VXLAN Network Identifier (VNI)
Each VXLAN segment is identified by a VXLAN Network Identifier (VNI), which is a 24-bit ID embedded in the VXLAN header. With 16 million VNIs available, VXLAN easily supports massive multi-tenant environments.
3. Underlay Network
The underlay network is the physical Layer 3 infrastructure (e.g., IP-based switches and routers) that transports encapsulated VXLAN packets. It requires:
โ IP connectivity between VTEPs
โ Efficient routing to prevent packet loss
โ Multicast or unicast traffic handling for VXLAN communication
4. Overlay Network
The overlay network is the virtual network built on top of the underlay. It enables Layer 2 communication between VMs, containers, or servers that are physically separated but must appear as if they are on the same LAN.
5. VXLAN Control Plane
VXLAN requires a mechanism to map MAC addresses to VNIs so that VTEPs can forward traffic correctly. This can be achieved using:
๐ธ Flood & Learn (Multicast-based) โ Uses multicast groups to distribute MAC-to-VNI mappings dynamically.
๐ธ EVPN (Ethernet VPN, BGP-based) โ Uses BGP (Border Gateway Protocol) to distribute MAC-to-VNI mappings, reducing reliance on multicast.
How VXLAN Works
Step 1: Encapsulation at the Source VTEP
1๏ธโฃ A host (e.g., VM1) sends an Ethernet frame to another host (e.g., VM2).
2๏ธโฃ The source VTEP encapsulates the frame in a VXLAN header and adds an UDP/IP header for transport.
3๏ธโฃ The VXLAN packet is forwarded over the underlay network.
Step 2: Transport via Underlay Network
The underlay network routes the VXLAN packet based on the destination VTEPโs IP address.
The packet traverses multiple routers and switches, just like normal IP traffic.
Step 3: Decapsulation at the Destination VTEP
1๏ธโฃ The destination VTEP receives the VXLAN packet.
2๏ธโฃ It removes the VXLAN header and extracts the original Ethernet frame.
3๏ธโฃ The frame is delivered to the destination host as if it came from the same Layer 2 network.
โ End result: The two hosts communicate as if they are on the same VLAN, even if they are in different locations.
Benefits of VXLAN
โ Massive Scalability
- Supports millions of virtual networks compared to VLANs (which max out at 4,096).
โ Flexible Network Extensions
- Seamlessly stretches Layer 2 networks across different sites over a Layer 3 underlay.
โ Cloud & Multi-Tenancy Support
- Each tenant gets an isolated VNI, ensuring strong network segmentation.
โ Improved Workload Mobility
- VMs can migrate across data centers without changing their IP addresses.
โ Enhanced Traffic Engineering with EVPN
- EVPN-BGP simplifies VXLAN deployments by removing the need for multicast and providing faster convergence.
Real-World Use Cases
๐ Data Center Interconnect (DCI)
Connects multiple data centers while maintaining Layer 2 adjacency.
Helps in disaster recovery (DR) scenarios where VMs need to move between sites.
โ Cloud & Virtualized Environments
VMware NSX, Cisco ACI, and OpenStack use VXLAN to create multi-tenant cloud networks.
Ensures isolation between tenants in shared infrastructures.
๐ก Software-Defined Networking (SDN)
- VXLAN integrates with SDN controllers to provide automated, programmable networking.
๐ Network Function Virtualization (NFV)
- Used in NFV environments to connect virtual network functions (VNFs) across different locations.
Fusionโs SD-WAN embedded use of VXLAN
๐ก While VXLAN is excellent for data center networking, Fusion's SD-WAN provides a better path for multi-site connectivity by offering:
โ
Optimised WAN performance without exposing a business to complex encapsulation overheads
โ
Seamless cloud connectivity with built-in security and failover
โ
Simplified network management compared to natively deploying VXLAN
For businesses looking to extend their networks beyond data centers, Fusionโs SD-WAN offers a smarter, cost-effective alternative that doesnโt require knowledge of complex VXLAN configurations.
Wrap
VXLAN has revolutionised network virtualization by enabling scalable, flexible, and efficient Layer 2 overlays over Layer 3 networks. Its ability to support millions of isolated networks, coupled with EVPN for control plane efficiency, makes it the go-to solution for modern data centers and cloud environments.
However, for multi-site business connectivity, Fusionโs SD-WAN provides a more practical path for adoption, eliminating the complexities of VXLAN while optimising performance, security, and management.
๐ Final thought: If youโre managing a large-scale cloud or data center, VXLAN is your friend. If you need business-wide connectivity, SD-WAN is the smarter choice. ๐




