{"id":25380,"date":"2026-11-30T16:18:14","date_gmt":"2026-11-30T08:18:14","guid":{"rendered":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html"},"modified":"2026-11-30T16:18:14","modified_gmt":"2026-11-30T08:18:14","slug":"what-is-vxlan","status":"publish","type":"post","link":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html","title":{"rendered":"What Is VXLAN?"},"content":{"rendered":"<p><strong>Virtual Extensible Local Area Network (VXLAN)<\/strong> is a network virtualization tunneling protocol that encapsulates Layer 2 Ethernet frames inside Layer 3 UDP\/IP packets. By decoupling logical network segments from physical switch ports and cabling, VXLAN allows endpoints\u2014such as virtual machines, bare-metal servers, and containers\u2014to communicate as if they share the same local Layer 2 broadcast domain, even when separated across racks, pods, or routed IP networks.<\/p>\n<p>Modern cloud platforms, multi-tenant data centers, and container orchestrators rely on VXLAN to overcome the scaling and resiliency limits of legacy switched architectures. Understanding how VXLAN operates from packet headers and control planes down to switch configurations and troubleshooting equips network engineers to build scalable, active-active network fabrics.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_17 counter-hierarchy counter-decimal ez-toc-light-blue\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/a><\/span><\/div>\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#How_VXLAN_Works_VTEP_VNI_and_Overlay_Architecture\" title=\"How VXLAN Works: VTEP, VNI, and Overlay Architecture\">How VXLAN Works: VTEP, VNI, and Overlay Architecture<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#VXLAN_vs_Traditional_8021Q_VLAN\" title=\"VXLAN vs. Traditional 802.1Q VLAN\">VXLAN vs. Traditional 802.1Q VLAN<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#VXLAN_Header_Format_Byte_Overhead_and_MTU_Calculation\" title=\"VXLAN Header Format, Byte Overhead, and MTU Calculation\">VXLAN Header Format, Byte Overhead, and MTU Calculation<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#Byte-by-Byte_Packet_Structure\" title=\"Byte-by-Byte Packet Structure\">Byte-by-Byte Packet Structure<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#Step-by-Step_Underlay_MTU_Calculation\" title=\"Step-by-Step Underlay MTU Calculation\">Step-by-Step Underlay MTU Calculation<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#VXLAN_with_MP-BGP_EVPN_in_Spine-Leaf_Architectures\" title=\"VXLAN with MP-BGP EVPN in Spine-Leaf Architectures\">VXLAN with MP-BGP EVPN in Spine-Leaf Architectures<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#Moving_from_Flood-and-Learn_to_MP-BGP_EVPN\" title=\"Moving from Flood-and-Learn to MP-BGP EVPN\">Moving from Flood-and-Learn to MP-BGP EVPN<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#Distributed_Anycast_Gateway_and_IRB_Models\" title=\"Distributed Anycast Gateway and IRB Models\">Distributed Anycast Gateway and IRB Models<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#VXLAN_vs_Geneve_vs_NVGRE_Overlay_Protocol_Comparison\" title=\"VXLAN vs. Geneve vs. NVGRE: Overlay Protocol Comparison\">VXLAN vs. Geneve vs. NVGRE: Overlay Protocol Comparison<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#VXLAN_in_Kubernetes_Networking_Flannel_and_Cilium_CNIs\" title=\"VXLAN in Kubernetes Networking: Flannel and Cilium CNIs\">VXLAN in Kubernetes Networking: Flannel and Cilium CNIs<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#Step-by-Step_VXLAN_BGP_EVPN_Switch_Configuration_Template\" title=\"Step-by-Step VXLAN BGP EVPN Switch Configuration Template\">Step-by-Step VXLAN BGP EVPN Switch Configuration Template<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#Troubleshooting_VXLAN_Connectivity_and_MTU_Issues\" title=\"Troubleshooting VXLAN Connectivity and MTU Issues\">Troubleshooting VXLAN Connectivity and MTU Issues<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#Ready-to-Deploy_VXLAN_Virtual_Lab_Topology_Containerlab_EVE-NG_and_GNS3\" title=\"Ready-to-Deploy VXLAN Virtual Lab Topology (Containerlab, EVE-NG, and GNS3)\">Ready-to-Deploy VXLAN Virtual Lab Topology (Containerlab, EVE-NG, and GNS3)<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#Official_Specification_Reference_IETF_RFC_7348\" title=\"Official Specification Reference: IETF RFC 7348\">Official Specification Reference: IETF RFC 7348<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"How_VXLAN_Works_VTEP_VNI_and_Overlay_Architecture\"><\/span>How VXLAN Works: VTEP, VNI, and Overlay Architecture<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>VXLAN operates by splitting the network into two distinct operational planes and introducing tunnel endpoints that map local traffic into virtualized segments:<\/p>\n<ol>\n<li><strong>Underlay and Overlay Separation<\/strong>: The <strong>underlay<\/strong> is the physical Layer 3 IP network connecting switches and servers using routing protocols such as OSPF, IS-IS, or BGP. Because the underlay routes standard IP packets, it uses Equal-Cost Multi-Path (ECMP) routing to keep all physical links active. The <strong>overlay<\/strong> is the virtual Layer 2 network built on top of that IP fabric, giving workloads seamless Layer 2 adjacency independent of physical location.<\/li>\n<li><strong>VTEP (VXLAN Tunnel Endpoint)<\/strong>: A VTEP is the hardware or software entity that originates and terminates VXLAN tunnels. In physical data centers, Top-of-Rack (ToR) leaf switches perform VTEP encapsulation in ASIC hardware at line rate; in virtualized or containerized clusters, hypervisor virtual switches or host kernels act as software VTEPs. Every VTEP maintains two logical interfaces: local bridge interfaces facing attached hosts and a routed IP interface (typically a loopback) facing the underlay.<\/li>\n<li><strong>VNI (VXLAN Network Identifier)<\/strong>: The VNI is a 24-bit segment identifier embedded in every VXLAN packet. Local VLAN IDs on a switch port are mapped to a VNI so traffic stays strictly isolated per virtual network across the shared underlay.<\/li>\n<li><strong>Step-by-Step Encapsulation and Forwarding Walk<\/strong>:<\/li>\n<li><strong>Step 1 (Local Ingress)<\/strong>: Host A sends a standard Layer 2 Ethernet frame destined for Host B on the same subnet. The frame arrives at the local ingress VTEP switch port.<\/li>\n<li><strong>Step 2 (VNI Mapping and Encapsulation)<\/strong>: The ingress VTEP maps the incoming port and VLAN to its assigned VNI, looks up which remote VTEP hosts the destination MAC address, and wraps the original Ethernet frame inside a VXLAN header, an outer UDP header, and an outer IP header addressed to the remote VTEP IP.<\/li>\n<li><strong>Step 3 (Underlay Transit)<\/strong>: Transit routers in the underlay forward the encapsulated IP\/UDP packet toward the destination VTEP IP using standard IP routing and ECMP load balancing, remaining completely unaware of the inner host MAC or IP addresses.<\/li>\n<li><strong>Step 4 (Decapsulation and Delivery)<\/strong>: The egress VTEP receives the UDP packet, validates the 24-bit VNI, strips off the outer Ethernet, IP, UDP, and VXLAN headers, and forwards the original Ethernet frame to Host B.<\/li>\n<\/ol>\n<p>Separating physical IP transport from virtual Layer 2 connectivity allows workloads to migrate anywhere in a routed fabric without renumbering IP addresses or stretching fragile Layer 2 trunks.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"VXLAN_vs_Traditional_8021Q_VLAN\"><\/span>VXLAN vs. Traditional 802.1Q VLAN<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>While both protocols isolate broadcast domains, traditional IEEE 802.1Q VLANs were engineered for localized switched LANs, whereas VXLAN was built for large-scale routed fabrics. Comparing the two highlights why data centers transition from pure VLAN trunks to VXLAN overlays.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Criteria<\/th>\n<th style=\"text-align: left;\">Traditional 802.1Q VLAN<\/th>\n<th style=\"text-align: left;\">VXLAN<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Segment Identifier Size<\/strong><\/td>\n<td style=\"text-align: left;\">12-bit VLAN ID<\/td>\n<td style=\"text-align: left;\">24-bit VXLAN Network Identifier (VNI)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Maximum Usable Segments<\/strong><\/td>\n<td style=\"text-align: left;\">4,094 segments<\/td>\n<td style=\"text-align: left;\">16,777,216 (~16.7 million) segments<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Transport Mechanism<\/strong><\/td>\n<td style=\"text-align: left;\">Layer 2 Ethernet frame tagging (<code>802.1Q<\/code>)<\/td>\n<td style=\"text-align: left;\">Layer 2 over Layer 3 encapsulation (MAC-in-UDP\/IP)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Loop Prevention &amp; Multipathing<\/strong><\/td>\n<td style=\"text-align: left;\">Spanning Tree Protocol (STP) blocks redundant links unless proprietary MLAG is used<\/td>\n<td style=\"text-align: left;\">Layer 3 ECMP routing keeps all physical links active and forwarding<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Multi-Tenant Isolation<\/strong><\/td>\n<td style=\"text-align: left;\">Global switch VLAN namespace risks ID collisions across tenants<\/td>\n<td style=\"text-align: left;\">Per-switch local VLAN reuse mapped to globally unique tenant VNIs<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Core Switch MAC Table Scale<\/strong><\/td>\n<td style=\"text-align: left;\">Transit switches must learn every endpoint MAC address in the domain<\/td>\n<td style=\"text-align: left;\">Core\/spine routers only learn VTEP IP routes, hiding host MACs<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Header Overhead<\/strong><\/td>\n<td style=\"text-align: left;\">4 bytes<\/td>\n<td style=\"text-align: left;\">50 bytes (untagged inner over IPv4 underlay)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Ideal Deployment Scope<\/strong><\/td>\n<td style=\"text-align: left;\">Campus access networks, small offices, single-rack L2 domains<\/td>\n<td style=\"text-align: left;\">Multi-tenant clouds, Spine-Leaf data centers, cross-pod workload mobility<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Traditional 802.1Q VLANs remain simpler and more bandwidth-efficient for small, localized Layer 2 environments, whereas VXLAN is essential whenever segment scale exceeds 4,094 networks, active-active multipathing is required, or Layer 2 domains must span Layer 3 boundaries.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"VXLAN_Header_Format_Byte_Overhead_and_MTU_Calculation\"><\/span>VXLAN Header Format, Byte Overhead, and MTU Calculation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The 50-byte encapsulation overhead noted in the comparison above comes directly from the outer headers a VTEP prepends to every Ethernet frame. Sizing the physical underlay Maximum Transmission Unit (MTU) accurately around these headers prevents packet fragmentation and blackholed traffic.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Byte-by-Byte_Packet_Structure\"><\/span>Byte-by-Byte Packet Structure<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>When an ingress VTEP encapsulates an untagged Ethernet frame over an IPv4 underlay, the packet on the wire consists of the following fields from outside in:<\/p>\n<ol>\n<li><strong>Outer Ethernet Header (14 bytes untagged \/ 18 bytes with 802.1Q)<\/strong>: Contains the underlay source MAC (VTEP interface) and destination MAC (next-hop router), plus EtherType <code>0x0800<\/code> for IPv4. The original inner 4-byte Frame Check Sequence (FCS) is stripped prior to encapsulation, and a new outer 4-byte FCS is appended at the tail of the frame.<\/li>\n<li><strong>Outer IP Header (20 bytes for IPv4 \/ 40 bytes for IPv6)<\/strong>: Carries the ingress VTEP IP as the source and the egress VTEP IP (or underlay multicast group) as the destination, with IP Protocol set to <code>17<\/code> (UDP) and the Don&#8217;t Fragment (<code>DF<\/code>) bit typically set to <code>1<\/code>.<\/li>\n<li><strong>Outer UDP Header (8 bytes)<\/strong>:<\/li>\n<li><strong>Source Port (2 bytes)<\/strong>: Dynamically computed by the ingress VTEP using a hash of the inner frame&#8217;s Layer 2\/Layer 3\/Layer 4 headers (typically within ephemeral range <code>49152\u201365535<\/code>). Varying this source port gives underlay routers entropy to distribute flows evenly across ECMP paths.<\/li>\n<li><strong>Destination Port (2 bytes)<\/strong>: Set to IANA-assigned UDP port <code>4789<\/code> (some Linux-based software overlays default to legacy port <code>8472<\/code>).<\/li>\n<li><strong>UDP Length (2 bytes) &amp; Checksum (2 bytes)<\/strong>: Length of the UDP header and encapsulated payload; checksum is typically transmitted as <code>0x0000<\/code> over IPv4.<\/li>\n<li><strong>VXLAN Header (8 bytes)<\/strong>:<\/li>\n<li><strong>Flags (1 byte \/ 8 bits)<\/strong>: Formatted as <code>R R R R I R R R<\/code>. Bit 4 (the <code>I<\/code> flag, <code>0x08<\/code>) must be set to <code>1<\/code> to indicate a valid VNI; the remaining 7 reserved (<code>R<\/code>) bits are set to <code>0<\/code> on transmission.<\/li>\n<li><strong>Reserved (3 bytes \/ 24 bits)<\/strong>: Set to <code>0<\/code> on transmission and ignored on receipt.<\/li>\n<li><strong>VXLAN Network Identifier (3 bytes \/ 24 bits)<\/strong>: Identifies the virtual overlay segment.<\/li>\n<li><strong>Reserved (1 byte \/ 8 bits)<\/strong>: Set to <code>0<\/code>.<\/li>\n<li><strong>Inner Ethernet Frame (14-byte header + up to 1,500-byte payload)<\/strong>: The original endpoint source\/destination MAC addresses, EtherType, and Layer 3 payload (add 4 bytes if an inner 802.1Q VLAN tag is preserved inside the tunnel).<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step-by-Step_Underlay_MTU_Calculation\"><\/span>Step-by-Step Underlay MTU Calculation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Because hardware VTEPs do not fragment and reassemble VXLAN packets at line rate, every physical link along the underlay path must accommodate the full encapsulated IP packet size:<\/p>\n<ol>\n<li><strong>Standard 1,500-Byte Workload over IPv4 Underlay<\/strong>:<br \/>\n   $$\\text{1,500 (Inner Payload)} + \\text{14 (Inner Eth)} + \\text{8 (VXLAN)} + \\text{8 (UDP)} + \\text{20 (Outer IPv4)} = \\text{1,550 bytes}$$<br \/>\n   If inner 802.1Q tags are preserved, increase the minimum underlay Layer 3 IP MTU to <strong>1,554 bytes<\/strong>.<\/li>\n<li><strong>Standard 1,500-Byte Workload over IPv6 Underlay<\/strong>:<br \/>\n   Replace the 20-byte IPv4 header with a 40-byte IPv6 header, requiring a minimum underlay IP MTU of <strong>1,570 bytes<\/strong> (<strong>1,574 bytes<\/strong> with inner 802.1Q tagging).<\/li>\n<li><strong>Data Center Jumbo Frame Standard<\/strong>:<br \/>\n   If virtual machines or storage nodes transmit 9,000-byte jumbo frames (<code>9,000 + 50 = 9,050 bytes<\/code>), configure all leaf uplinks and spine transit interfaces to <strong>9,216 bytes<\/strong> (or at least <code>9,100<\/code> bytes) to guarantee headroom across the fabric.<\/li>\n<\/ol>\n<p>Configuring jumbo MTU across every underlay router interface before turning up VXLAN tunnels eliminates the single most common cause of silent overlay packet drops.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"VXLAN_with_MP-BGP_EVPN_in_Spine-Leaf_Architectures\"><\/span>VXLAN with MP-BGP EVPN in Spine-Leaf Architectures<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>While the VXLAN header defines how frames are encapsulated on the wire, the base VXLAN specification does not include a control plane for VTEPs to discover one another or learn host MAC addresses. Modern data centers solve this by pairing VXLAN data-plane forwarding with <strong>Multi-Protocol BGP Ethernet VPN (MP-BGP EVPN)<\/strong> over a two-tier Spine-Leaf topology.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Moving_from_Flood-and-Learn_to_MP-BGP_EVPN\"><\/span>Moving from Flood-and-Learn to MP-BGP EVPN<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Early VXLAN deployments relied on <strong>data-plane flood-and-learn<\/strong>: when a VTEP needed to reach an unknown MAC address or forward an ARP broadcast, it flooded the encapsulated frame into an underlay IP multicast group spanning all VTEPs sharing that VNI. That approach required complex Protocol Independent Multicast (PIM) state in the underlay and wasted bandwidth with broadcast traffic.<\/p>\n<p>In a modern <strong>Spine-Leaf EVPN-VXLAN<\/strong> fabric, every leaf switch connects to every spine switch via routed Layer 3 point-to-point links, leaves act as hardware VTEPs, and spines serve purely as high-speed IP forwarders and iBGP\/eBGP EVPN signaling hubs:<\/p>\n<ol>\n<li><strong>EVPN Route Type 2 (MAC\/IP Advertisement Route)<\/strong>: When an endpoint connects or sends a gratuitous ARP\/ND packet to a local leaf VTEP, the VTEP advertises the host&#8217;s MAC address, IP address, and VNI to all remote VTEPs via BGP. Because remote VTEPs pre-populate their MAC and ARP tables in the control plane, leaves can perform <strong>local ARP suppression<\/strong>\u2014answering local host ARP requests directly without flooding broadcasts across the fabric.<\/li>\n<li><strong>EVPN Route Type 3 (Inclusive Multicast Ethernet Tag &#8211; IMET Route)<\/strong>: VTEPs exchange Type 3 routes to automatically announce membership in specific VNIs. Using this list, a VTEP handles remaining Broadcast, Unknown Unicast, and Multicast (BUM) frames via <strong>ingress replication<\/strong> (head-end unicast copies) without requiring underlay multicast.<\/li>\n<li><strong>EVPN Route Type 5 (IP Prefix Route)<\/strong>: Carries IPv4 and IPv6 subnet prefixes and external routes across virtual routing and forwarding (VRF) instances, enabling external border connectivity and inter-subnet routing.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Distributed_Anycast_Gateway_and_IRB_Models\"><\/span>Distributed Anycast Gateway and IRB Models<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To prevent traffic tromboning to centralized core routers when hosts in different subnets communicate, EVPN-VXLAN leaves implement <strong>Integrated Routing and Bridging (IRB)<\/strong> with a <strong>Distributed Anycast Gateway<\/strong>. Every leaf switch shares the exact same virtual gateway IP and virtual MAC address for a given subnet, so hosts always route at their local Top-of-Rack switch\u2014even immediately after live-migrating to another rack. Inter-subnet routing follows one of two models:<\/p>\n<ul>\n<li><strong>Asymmetric IRB<\/strong>: The ingress VTEP routes the packet from the source subnet into the destination subnet locally and bridges it over the destination Layer 2 VNI (<code>Source L2VNI \u2192 Destination L2VNI<\/code>) to the egress VTEP, which merely bridges the frame out the local port. Because the ingress VTEP must hold the destination VLAN\/VNI locally, every leaf in the tenant must be provisioned with all tenant VNIs regardless of whether hosts in those subnets are locally attached.<\/li>\n<li><strong>Symmetric IRB<\/strong>: The ingress VTEP routes the packet into a dedicated transit <strong>Layer 3 VNI (L3VNI)<\/strong> bound to the tenant VRF, tunnels it across the fabric, and the egress VTEP routes the packet from the L3VNI into the destination Layer 2 VNI (<code>Source L2VNI \u2192 Transit L3VNI \u2192 Destination L2VNI<\/code>). Each leaf only needs the VNIs for subnets physically attached to its ports, making Symmetric IRB the preferred design for large multi-tenant fabrics.<\/li>\n<\/ul>\n<p>Combining Spine-Leaf ECMP transport, EVPN control-plane MAC\/IP learning, and Symmetric IRB delivers deterministic two-hop latency and massive scale without flood-and-learn overhead.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"VXLAN_vs_Geneve_vs_NVGRE_Overlay_Protocol_Comparison\"><\/span>VXLAN vs. Geneve vs. NVGRE: Overlay Protocol Comparison<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>VXLAN is not the only Layer 3 network virtualization encapsulation protocol. As software-defined networking (SDN) controllers and cloud platforms evolved, engineers also introduced <strong>NVGRE<\/strong> and <strong>Geneve<\/strong> to address different hardware and metadata requirements.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Criteria<\/th>\n<th style=\"text-align: left;\">VXLAN<\/th>\n<th style=\"text-align: left;\">Geneve<\/th>\n<th style=\"text-align: left;\">NVGRE<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>IETF Standard<\/strong><\/td>\n<td style=\"text-align: left;\">RFC 7348<\/td>\n<td style=\"text-align: left;\">RFC 8926<\/td>\n<td style=\"text-align: left;\">RFC 7637<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Transport Protocol &amp; Port<\/strong><\/td>\n<td style=\"text-align: left;\">UDP (Destination Port <code>4789<\/code>)<\/td>\n<td style=\"text-align: left;\">UDP (Destination Port <code>6081<\/code>)<\/td>\n<td style=\"text-align: left;\">GRE (IP Protocol <code>47<\/code>, no UDP header)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Tunnel Header Size<\/strong><\/td>\n<td style=\"text-align: left;\">Fixed 8 bytes<\/td>\n<td style=\"text-align: left;\">Variable: 8-byte base + up to 252 bytes of TLV options<\/td>\n<td style=\"text-align: left;\">Fixed 8-byte GRE header<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>IPv4 Encapsulation Overhead<\/strong><\/td>\n<td style=\"text-align: left;\">50 bytes<\/td>\n<td style=\"text-align: left;\">50+ bytes (scales with attached TLV metadata)<\/td>\n<td style=\"text-align: left;\">42 bytes<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Segment Identifier<\/strong><\/td>\n<td style=\"text-align: left;\">24-bit VNI (~16.7M segments)<\/td>\n<td style=\"text-align: left;\">24-bit VNI (~16.7M segments)<\/td>\n<td style=\"text-align: left;\">24-bit VSID (~16.7M segments)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Metadata Extensibility<\/strong><\/td>\n<td style=\"text-align: left;\">Rigid (reserved bits only; no variable options)<\/td>\n<td style=\"text-align: left;\">Highly extensible via Type-Length-Value (TLV) options<\/td>\n<td style=\"text-align: left;\">Rigid (no variable metadata fields)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Underlay ECMP Load Balancing<\/strong><\/td>\n<td style=\"text-align: left;\">Native via hashed ephemeral UDP source port<\/td>\n<td style=\"text-align: left;\">Native via hashed ephemeral UDP source port<\/td>\n<td style=\"text-align: left;\">Limited; lacks UDP ports, requiring GRE-key-aware routers<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Primary Ecosystem Adoption<\/strong><\/td>\n<td style=\"text-align: left;\">Physical Spine-Leaf switch ASICs (Cisco, Arista, Juniper, Nvidia), Kubernetes CNIs<\/td>\n<td style=\"text-align: left;\">SDN &amp; cloud overlays (OVN\/OpenShift, VMware NSX, Cilium, AWS GWLB)<\/td>\n<td style=\"text-align: left;\">Legacy Microsoft Hyper-V Network Virtualization<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Choose <strong>VXLAN<\/strong> for physical Spine-Leaf switch fabrics and hybrid environments requiring universal merchant-silicon ASIC interoperability; choose <strong>Geneve<\/strong> for pure software-defined overlays that embed security identities, telemetry, or service-chaining metadata inside packet headers; and treat <strong>NVGRE<\/strong> primarily as a legacy protocol in older Hyper-V deployments.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"VXLAN_in_Kubernetes_Networking_Flannel_and_Cilium_CNIs\"><\/span>VXLAN in Kubernetes Networking: Flannel and Cilium CNIs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Beyond physical data center switches, VXLAN is one of the most widely deployed encapsulation modes in Kubernetes <strong>Container Network Interface (CNI)<\/strong> plugins, enabling flat pod-to-pod communication across worker nodes without reconfiguring underlying cloud VPCs or physical routers.<\/p>\n<ol>\n<li><strong>Worker Nodes as Linux Software VTEPs<\/strong>: Kubernetes requires every pod to reach every other pod by its native IP address without Network Address Translation (NAT). To achieve this over arbitrary Layer 3 host networks, CNIs configure the Linux kernel on each worker node as a software VTEP. For historical reasons predating IANA&#8217;s port assignment, Linux kernel VXLAN interfaces in Kubernetes CNIs typically default to UDP destination port <code>8472<\/code> rather than <code>4789<\/code>.<\/li>\n<li><strong>Flannel VXLAN Architecture<\/strong>: Flannel allocates a dedicated <code>\/24<\/code> pod subnet to each node out of the cluster CIDR and records each node&#8217;s underlay IP, pod subnet, and virtual VTEP MAC address in the Kubernetes API. On each host, pods connect via virtual Ethernet (<code>veth<\/code>) pairs to a Linux bridge (<code>cni0<\/code>) attached to a <code>flannel.1<\/code> VXLAN device (using VNI <code>1<\/code>). The <code>flanneld<\/code> daemon dynamically updates kernel ARP, forwarding database (FDB), and routing entries so cross-node pod packets are encapsulated by <code>flannel.1<\/code> and sent directly to the destination worker node&#8217;s IP.<\/li>\n<li><strong>Cilium eBPF-Accelerated VXLAN<\/strong>: Cilium eliminates the <code>cni0<\/code> Linux bridge and <code>iptables<\/code> rule chains by attaching <strong>eBPF<\/strong> programs directly to container virtual interfaces and a <code>cilium_vxlan<\/code> kernel device. Instead of using the 24-bit VXLAN field solely for tenant segmentation, Cilium encodes the source pod&#8217;s numeric security identity directly into the VXLAN header, allowing the receiving node&#8217;s eBPF datapath to enforce zero-trust network policies immediately upon decapsulation.<\/li>\n<li><strong>VXLAN Overlay vs. Native BGP Routing Trade-Offs<\/strong>: Running Flannel or Cilium in VXLAN mode makes a cluster completely portable across bare metal and public clouds without consuming cloud VPC route-table quotas or peering BGP with Top-of-Rack switches. However, because of the 50-byte IPv4 encapsulation overhead calculated earlier, the CNI must lower each pod interface MTU (for example, to <code>1,450 bytes<\/code> on a <code>1,500-byte<\/code> host network) and incurs minor CPU overhead compared to native routing or BGP modes.<\/li>\n<\/ol>\n<p>For Kubernetes clusters spanning multiple subnets or restricted cloud environments where modifying underlay route tables is impractical, VXLAN provides reliable, zero-touch cross-node connectivity.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-by-Step_VXLAN_BGP_EVPN_Switch_Configuration_Template\"><\/span>Step-by-Step VXLAN BGP EVPN Switch Configuration Template<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>When deploying VXLAN on physical data center switches, the configuration binds the underlay routing protocol, VLAN-to-VNI mappings, Symmetric IRB L3VNI, NVE tunnel interface, and MP-BGP EVPN control plane together. Use the following Cisco NX-OS template to configure a Spine-Leaf fabric using ingress replication.<\/p>\n<pre><code class=\"language-ios\">! =====================================================================\n! LEAF1 SWITCH CONFIGURATION (VTEP + SYMMETRIC IRB + ANYCAST GATEWAY)\n! Prerequisite for ARP suppression: carve arp-ether TCAM region &amp; reload\n! hardware access-list tcam region arp-ether 256 double-wide\n! =====================================================================\n\n! 1. Enable VXLAN, EVPN, Routing, and VLAN Features\nfeature ospf\nfeature bgp\nfeature interface-vlan\nfeature vn-segment-vlan-based\nfeature nv overlay\nnv overlay evpn\n\n! 2. Configure Underlay Loopbacks and Jumbo-MTU Spine Uplinks\ninterface loopback0\n  description Underlay_Router_ID\n  ip address 10.0.0.11\/32\n  ip router ospf UNDERLAY area 0.0.0.0\n\ninterface loopback1\n  description VTEP_NVE1_Source\n  ip address 10.0.1.11\/32\n  ip router ospf UNDERLAY area 0.0.0.0\n\ninterface Ethernet1\/1\n  description P2P_Uplink_to_Spine1\n  no switchport\n  mtu 9216\n  medium p2p\n  ip unnumbered loopback0\n  ip router ospf UNDERLAY area 0.0.0.0\n  no shutdown\n\nrouter ospf UNDERLAY\n  router-id 10.0.0.11\n\n! 3. Configure Distributed Anycast Gateway MAC and L2VNI (VLAN 10 -&gt; VNI 10010)\nfabric forwarding anycast-gateway-mac 0000.2222.3333\n\nvlan 10\n  name App_Web_Subnet\n  vn-segment 10010\n\n! 4. Configure Tenant VRF and Transit L3VNI (VLAN 999 -&gt; VNI 50999)\nvlan 999\n  name TENANT_A_L3VNI\n  vn-segment 50999\n\nvrf context TENANT_A\n  vni 50999\n  rd auto\n  address-family ipv4 unicast\n    route-target both auto\n    route-target both auto evpn\n\ninterface Vlan999\n  description Symmetric_IRB_Transit_SVI\n  no shutdown\n  mtu 9216\n  vrf member TENANT_A\n  ip forward\n\ninterface Vlan10\n  description Anycast_Gateway_App_Web\n  no shutdown\n  mtu 9000\n  vrf member TENANT_A\n  ip address 192.168.10.1\/24\n  fabric forwarding mode anycast-gateway\n\n! 5. Configure VTEP NVE Interface with BGP Ingress Replication\ninterface nve1\n  no shutdown\n  host-reachability protocol bgp\n  source-interface loopback1\n  member vni 10010\n    suppress-arp\n    ingress-replication protocol bgp\n  member vni 50999 associate-vrf\n\n! 6. Configure MP-BGP EVPN Peering to Spine Route Reflector\nrouter bgp 65000\n  router-id 10.0.0.11\n  neighbor 10.0.0.1\n    remote-as 65000\n    description Spine1_EVPN_RR\n    update-source loopback0\n    address-family l2vpn evpn\n      send-community both\n  vrf TENANT_A\n    address-family ipv4 unicast\n      advertise l2vpn evpn\n<\/code><\/pre>\n<p>Pair the leaf configuration with an EVPN Route Reflector configuration on each spine switch (enabling <code>retain route-target all<\/code> so the spine reflects EVPN routes without needing local VNIs provisioned):<\/p>\n<pre><code class=\"language-ios\">! =====================================================================\n! SPINE1 SWITCH CONFIGURATION (UNDERLAY ROUTER + BGP ROUTE REFLECTOR)\n! =====================================================================\nfeature ospf\nfeature bgp\nnv overlay evpn\n\nrouter bgp 65000\n  router-id 10.0.0.1\n  address-family l2vpn evpn\n    retain route-target all\n  neighbor 10.0.0.0\/24\n    remote-as 65000\n    update-source loopback0\n    address-family l2vpn evpn\n      send-community both\n      route-reflector-client\n<\/code><\/pre>\n<p>Replicating the leaf template across additional ToR switches\u2014changing only <code>loopback0<\/code>, <code>loopback1<\/code>, and <code>router-id<\/code>\u2014brings new VTEPs into the fabric cleanly.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Troubleshooting_VXLAN_Connectivity_and_MTU_Issues\"><\/span>Troubleshooting VXLAN Connectivity and MTU Issues<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>When a VXLAN overlay fails to establish peerings or appears <code>Up<\/code> in the control plane while silently dropping application traffic, work from the physical underlay upward through the EVPN control plane in five sequential steps:<\/p>\n<ol>\n<li><strong>Verify VTEP Source Loopback Reachability in the Underlay<\/strong>:<br \/>\n   Confirm that the local VTEP <code>Loopback1<\/code> IP can reach every remote VTEP <code>Loopback1<\/code> IP over the underlay IGP (<code>ping 10.0.1.12 source 10.0.1.11<\/code>). If <code>\/32<\/code> loopback prefixes are missing from OSPF\/IS-IS\/BGP routing tables, the <code>nve1<\/code> tunnel cannot encapsulate packets to the remote peer.<\/li>\n<li><strong>Isolate Silent MTU Blackholes Using DF-Bit Pings<\/strong>:<br \/>\n   Small packets such as BGP keepalives, ARP messages, and standard 64-byte ICMP pings pass effortlessly across misconfigured <code>1,500-byte<\/code> links, while full-sized TCP\/storage payloads drop silently when encapsulated. Test the exact underlay path MTU with the Don&#8217;t Fragment bit enabled:<\/li>\n<li>On Cisco NX-OS: <code>ping 10.0.1.12 source 10.0.1.11 packet-size 8972 df-bit<\/code> (tests a 9,000-byte IP packet; use <code>1522<\/code> to verify the minimum <code>1,550-byte<\/code> VXLAN threshold).<\/li>\n<li>On Linux \/ Kubernetes nodes: <code>ping -M do -s 1522 &lt;remote-node-ip&gt;<\/code>.<br \/>\n   If large pings fail while small pings succeed, inspect every leaf uplink and spine port along the ECMP path for missing jumbo MTU settings.<\/li>\n<li><strong>Inspect NVE Interface State and Discovered Peers<\/strong>:<br \/>\n   Run <code>show nve interface<\/code> and <code>show nve peers<\/code> (Cisco NX-OS) or <code>show vxlan vtep<\/code> (Arista EOS). Verify that <code>nve1<\/code> is administratively and operationally <code>Up<\/code> and that remote VTEP IPs appear in the peer table. If <code>nve1<\/code> stays down, check that its <code>source-interface loopback1<\/code> is up and not shared with <code>loopback0<\/code> router IDs when required by platform rules.<\/li>\n<li><strong>Audit VLAN-to-VNI, Route Target, and Anycast Gateway Consistency<\/strong>:<br \/>\n   Run <code>show nve vni<\/code> across participating leaves to verify that identical VLANs map to the exact same 24-bit L2VNI and L3VNI numbers, EVPN import\/export Route Targets match on both ends, and the Distributed Anycast Gateway virtual MAC address is identical on every leaf switch.<\/li>\n<li><strong>Check EVPN Route Exchanges, Firewall Ports, and Hardware TCAM<\/strong>:<br \/>\n   Run <code>show bgp l2vpn evpn<\/code> to confirm local endpoint MAC\/IP entries are generated as Route Type 2 updates and remote Type 2 and Type 3 (IMET) routes are imported (<code>*&gt;<\/code>). If routes exchange properly yet data-plane frames never arrive, verify that no transit firewall or switch ACL blocks UDP destination port <code>4789<\/code> (or <code>8472<\/code> for Linux CNI overlays) and check that hardware <code>arp-ether<\/code> TCAM regions are properly carved when <code>suppress-arp<\/code> is enabled.<\/li>\n<\/ol>\n<p>Following this bottom-up sequence quickly separates physical MTU and routing faults from overlay VNI or BGP policy mismatches.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Ready-to-Deploy_VXLAN_Virtual_Lab_Topology_Containerlab_EVE-NG_and_GNS3\"><\/span>Ready-to-Deploy VXLAN Virtual Lab Topology (Containerlab, EVE-NG, and GNS3)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To test VXLAN encapsulation, packet captures, and EVPN routing safely on a local Linux machine or WSL2 environment without vendor licensing walls, save the following <strong>Containerlab<\/strong> topology as <code>vxlan-evpn.clab.yml<\/code>. It deploys a 1-Spine, 2-Leaf, 2-Host topology using open-source FRRouting (<code>frr<\/code>) and Alpine containers with pre-built VXLAN tunnel interfaces so <code>host1<\/code> and <code>host2<\/code> can ping across <code>VNI 10010<\/code> immediately upon startup.<\/p>\n<pre><code class=\"language-yaml\"># Save as: vxlan-evpn.clab.yml\n# Deploy:  sudo containerlab deploy -t vxlan-evpn.clab.yml\n# Test:    docker exec -it clab-vxlan-evpn-lab-host1 ping -c 4 192.168.10.102\n# Destroy: sudo containerlab destroy -t vxlan-evpn.clab.yml\n\nname: vxlan-evpn-lab\n\ntopology:\n  nodes:\n    spine1:\n      kind: linux\n      image: quay.io\/frrouting\/frr:latest\n      exec:\n        - sysctl -w net.ipv4.ip_forward=1\n        - ip addr add 10.0.1.1\/30 dev eth1\n        - ip addr add 10.0.2.1\/30 dev eth2\n        - ip link set eth1 mtu 9216 up\n        - ip link set eth2 mtu 9216 up\n        - ip route add 10.0.0.11\/32 via 10.0.1.2\n        - ip route add 10.0.0.12\/32 via 10.0.2.2\n\n    leaf1:\n      kind: linux\n      image: quay.io\/frrouting\/frr:latest\n      exec:\n        - ip addr add 10.0.0.11\/32 dev lo\n        - ip addr add 10.0.1.2\/30 dev eth1\n        - ip link set eth1 mtu 9216 up\n        - ip route add 10.0.0.12\/32 via 10.0.1.1\n        - ip link add br10 type bridge\n        - ip link set br10 up\n        - ip link add vxlan10 type vxlan id 10010 local 10.0.0.11 remote 10.0.0.12 dstport 4789\n        - ip link set vxlan10 master br10 up\n        - ip link set eth2 master br10 up\n\n    leaf2:\n      kind: linux\n      image: quay.io\/frrouting\/frr:latest\n      exec:\n        - ip addr add 10.0.0.12\/32 dev lo\n        - ip addr add 10.0.2.2\/30 dev eth1\n        - ip link set eth1 mtu 9216 up\n        - ip route add 10.0.0.11\/32 via 10.0.2.1\n        - ip link add br10 type bridge\n        - ip link set br10 up\n        - ip link add vxlan10 type vxlan id 10010 local 10.0.0.12 remote 10.0.0.11 dstport 4789\n        - ip link set vxlan10 master br10 up\n        - ip link set eth2 master br10 up\n\n    host1:\n      kind: linux\n      image: alpine:latest\n      exec:\n        - ip addr add 192.168.10.101\/24 dev eth1\n        - ip link set eth1 up\n\n    host2:\n      kind: linux\n      image: alpine:latest\n      exec:\n        - ip addr add 192.168.10.102\/24 dev eth1\n        - ip link set eth1 up\n\n  links:\n    - endpoints: [&quot;leaf1:eth1&quot;, &quot;spine1:eth1&quot;]\n    - endpoints: [&quot;leaf2:eth1&quot;, &quot;spine1:eth2&quot;]\n    - endpoints: [&quot;host1:eth1&quot;, &quot;leaf1:eth2&quot;]\n    - endpoints: [&quot;host2:eth1&quot;, &quot;leaf2:eth2&quot;]\n<\/code><\/pre>\n<p>Once deployed, open <code>vtysh<\/code> on <code>leaf1<\/code>, <code>leaf2<\/code>, and <code>spine1<\/code> (<code>docker exec -it clab-vxlan-evpn-lab-leaf1 vtysh<\/code>) to replace the static <code>remote<\/code> VTEP argument with dynamic OSPF and MP-BGP EVPN (<code>advertise-all-vni<\/code>), or adapt the same 1-Spine\/2-Leaf cabling in <strong>EVE-NG<\/strong> or <strong>GNS3<\/strong> using vendor virtual switch images (<code>Cisco Nexus 9000v<\/code>, <code>Arista vEOS-lab<\/code> \/ <code>cEOS-lab<\/code>, or <code>Nvidia Cumulus VX<\/code>).<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Official_Specification_Reference_IETF_RFC_7348\"><\/span>Official Specification Reference: IETF RFC 7348<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>RFC 7348<\/strong> is the authoritative Internet Engineering Task Force (IETF) document defining the Virtual eXtensible Local Area Network (VXLAN) encapsulation framework, packet format, VTEP forwarding rules, and operational requirements.<\/p>\n<ul>\n<li><strong>Document Identifier<\/strong>: IETF RFC 7348<\/li>\n<li><strong>Official Title<\/strong>: <em>Virtual eXtensible Local Area Network (VXLAN): A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks<\/em><\/li>\n<li><strong>Publication Date<\/strong>: August 2014<\/li>\n<li><strong>Category \/ Status<\/strong>: Informational (ISSN: <code>2070-1721<\/code>)<\/li>\n<li><strong>Authors<\/strong>: M. Mahalingam, D. Dutt, K. Duda, P. Agarwal, L. Kreeger, T. Sridhar, M. Bursell, C. Wright<\/li>\n<li><strong>IANA Registered Port<\/strong>: UDP Destination Port <code>4789<\/code><\/li>\n<li><strong>Canonical Specification URLs<\/strong>:<\/li>\n<li>RFC Editor: <code>https:\/\/www.rfc-editor.org\/rfc\/rfc7348<\/code><\/li>\n<li>IETF Datatracker: <code>https:\/\/datatracker.ietf.org\/doc\/html\/rfc7348<\/code><\/li>\n<li><strong>Companion IETF EVPN Control-Plane Standards<\/strong>:<\/li>\n<li><strong>RFC 7432<\/strong> (<em>BGP MPLS-Based Ethernet VPN<\/em>, February 2015) \u2014 Establishes the foundational BGP EVPN route types and procedures.<\/li>\n<li><strong>RFC 8365<\/strong> (<em>A Network Virtualization Overlay Solution Using Ethernet VPN [EVPN]<\/em>, March 2018) \u2014 Standardizes MP-BGP EVPN as the control plane for VXLAN and other network virtualization overlays.<\/li>\n<li><strong>RFC 9135<\/strong> (<em>Integrated Routing and Bridging in Ethernet VPN [EVPN]<\/em>, October 2021) \u2014 Formalizes Asymmetric and Symmetric IRB forwarding models for inter-subnet EVPN-VXLAN routing.<\/li>\n<\/ul>\n<p>Consult RFC 7348 alongside RFC 8365 and RFC 9135 when verifying vendor protocol compliance or designing multi-vendor EVPN-VXLAN interoperability.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>VXLAN bridges the gap between flexible Layer 2 workload mobility and resilient, high-capacity Layer 3 IP routing. By encapsulating Ethernet frames inside UDP packets identified by a 24-bit VNI\u2014and pairing that data plane with MP-BGP EVPN in Spine-Leaf data centers or eBPF\/kernel datapaths in Kubernetes clusters\u2014network teams eliminate Spanning Tree bottlenecks and the 4,094-VLAN ceiling. With properly sized jumbo underlay MTUs, Symmetric IRB routing, and structured verification workflows, VXLAN provides a proven foundation for scalable cloud and enterprise network fabrics.<\/p>\n<div class='sfsi_Sicons' style='width: 100%; display: inline-block; vertical-align: middle; text-align:left'><div style='margin:0px 8px 0px 0px; line-height: 24px'><span>Please follow and like us:<\/span><\/div><div class='sfsi_socialwpr'><div class='sf_fb_share sf_icon' style='text-align:left;vertical-align: middle;'><a href='https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fcciedump.spoto.net%2Fblog%2Fwhat-is-vxlan_25380.html' style='display:inline-block;'  > <img class='sfsi_wicon'  data-pin-nopin='true' width='auto' height='auto' alt='fb-share-icon' title='Facebook Share' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/visit_icons\/fbshare_bck.png'  \/><\/a><\/div><div class='sf_twiter sf_icon' style='display: inline-block;vertical-align: middle;width: auto;margin-left: 7px;'>\r\n\t\t\t\t\t\t<a target='_blank' href='https:\/\/twitter.com\/intent\/tweet?text=What+Is+VXLAN%3F+https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html'style='display:inline-block' >\r\n\t\t\t\t\t\t\t<img data-pin-nopin= true width='auto' class='sfsi_wicon' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/visit_icons\/en_US_Tweet.svg' alt='Tweet' title='Tweet' >\r\n\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t<\/div><div class='sf_pinit sf_icon' style='text-align:left;vertical-align: middle;float:left;line-height: 33px;width:auto;margin: 0 -2px;'><a href='#'  onclick='sfsi_pinterest_modal_images(event,\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\",\"What Is VXLAN?\")' style='display:inline-block;'  > <img class='sfsi_wicon'  data-pin-nopin='true' width='auto' height='auto' alt='fb-share-icon' title='Pin Share' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/share_icons\/Pinterest_Save\/en_US_save.svg'  \/><\/a><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Virtual Extensible Local Area Network (VXLAN) is a network virtualization tunneling protocol that encapsulates Layer 2 Ethernet frames inside Layer 3 UDP\/IP packets. By decoupling logical network segments from physical switch ports and cabling, VXLAN allows endpoints\u2014such as virtual machines, bare-metal servers, and containers\u2014to communicate as if they share the same local Layer 2 broadcast&#8230; &raquo; <a class=\"read-more-link\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\">read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":25379,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1285],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What Is VXLAN? - SPOTO Official Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Is VXLAN? - SPOTO Official Blog\" \/>\n<meta property=\"og:description\" content=\"Virtual Extensible Local Area Network (VXLAN) is a network virtualization tunneling protocol that encapsulates Layer 2 Ethernet frames inside Layer 3 UDP\/IP packets. By decoupling logical network segments from physical switch ports and cabling, VXLAN allows endpoints\u2014such as virtual machines, bare-metal servers, and containers\u2014to communicate as if they share the same local Layer 2 broadcast... &raquo; read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\" \/>\n<meta property=\"og:site_name\" content=\"SPOTO Official Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-30T08:18:14+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"SPOTO \u7f16\u8f91\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"19 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\",\"name\":\"SPOTO Club\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg\",\"caption\":\"SPOTO Club\"},\"logo\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\"},\"description\":\"SPOTO is an excellent leader in IT certification training for 20+ years. We offer 100% real Cisco CCNA, CCNP exam dumps, CCIE Lab study materials, PMP, CISA, CISM, AWS, Palo Alto, and other IT exam dumps. We have helped thousands of candidates around the world to pass their IT exams on the first try! As the first-class online IT training organization in China, SPOTO cooperates with many giant Internet companies in China like Tencent, Baidu, and Alibaba. What\u2019s more, we have won lots of awards in IT education training such as \u201cTop Ten Influential Brands In Online Education Industry\u201d given by Baidu, \u201cOfficial IT Online Training Organization\u201d awarded by Tencent Class, etc. Join us: https:\/\/cciedump.spoto.net\/ Contact us: E-mail: support@spoto.net Phone \/ WhatsApp: +86 18344981205\",\"sameAs\":[\"https:\/\/cciedump.spoto.net\/\"]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#website\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/\",\"name\":\"SPOTO Official Blog\",\"description\":\"Focus on Online IT Training for 20+ Years\",\"publisher\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cciedump.spoto.net\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/11\/what-is-vxlan.png\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/11\/what-is-vxlan.png\",\"width\":1448,\"height\":1086,\"caption\":\"What Is VXLAN?\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#webpage\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\",\"name\":\"What Is VXLAN? - SPOTO Official Blog\",\"isPartOf\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#primaryimage\"},\"datePublished\":\"2026-11-30T08:18:14+00:00\",\"dateModified\":\"2026-11-30T08:18:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cciedump.spoto.net\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Is VXLAN?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#webpage\"},\"author\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1\"},\"headline\":\"What Is VXLAN?\",\"datePublished\":\"2026-11-30T08:18:14+00:00\",\"dateModified\":\"2026-11-30T08:18:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#webpage\"},\"wordCount\":3150,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\"},\"image\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/11\/what-is-vxlan.png\",\"articleSection\":[\"Routing &amp; Switching\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1\",\"name\":\"SPOTO \u7f16\u8f91\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1795769814\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1795769814\",\"caption\":\"SPOTO \u7f16\u8f91\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Is VXLAN? - SPOTO Official Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html","og_locale":"en_US","og_type":"article","og_title":"What Is VXLAN? - SPOTO Official Blog","og_description":"Virtual Extensible Local Area Network (VXLAN) is a network virtualization tunneling protocol that encapsulates Layer 2 Ethernet frames inside Layer 3 UDP\/IP packets. By decoupling logical network segments from physical switch ports and cabling, VXLAN allows endpoints\u2014such as virtual machines, bare-metal servers, and containers\u2014to communicate as if they share the same local Layer 2 broadcast... &raquo; read more","og_url":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html","og_site_name":"SPOTO Official Blog","article_published_time":"2026-11-30T08:18:14+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"SPOTO \u7f16\u8f91","Est. reading time":"19 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Person","Organization"],"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638","name":"SPOTO Club","image":{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg","caption":"SPOTO Club"},"logo":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo"},"description":"SPOTO is an excellent leader in IT certification training for 20+ years. We offer 100% real Cisco CCNA, CCNP exam dumps, CCIE Lab study materials, PMP, CISA, CISM, AWS, Palo Alto, and other IT exam dumps. We have helped thousands of candidates around the world to pass their IT exams on the first try! As the first-class online IT training organization in China, SPOTO cooperates with many giant Internet companies in China like Tencent, Baidu, and Alibaba. What\u2019s more, we have won lots of awards in IT education training such as \u201cTop Ten Influential Brands In Online Education Industry\u201d given by Baidu, \u201cOfficial IT Online Training Organization\u201d awarded by Tencent Class, etc. Join us: https:\/\/cciedump.spoto.net\/ Contact us: E-mail: support@spoto.net Phone \/ WhatsApp: +86 18344981205","sameAs":["https:\/\/cciedump.spoto.net\/"]},{"@type":"WebSite","@id":"https:\/\/cciedump.spoto.net\/blog\/#website","url":"https:\/\/cciedump.spoto.net\/blog\/","name":"SPOTO Official Blog","description":"Focus on Online IT Training for 20+ Years","publisher":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cciedump.spoto.net\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#primaryimage","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/11\/what-is-vxlan.png","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/11\/what-is-vxlan.png","width":1448,"height":1086,"caption":"What Is VXLAN?"},{"@type":"WebPage","@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#webpage","url":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html","name":"What Is VXLAN? - SPOTO Official Blog","isPartOf":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#primaryimage"},"datePublished":"2026-11-30T08:18:14+00:00","dateModified":"2026-11-30T08:18:14+00:00","breadcrumb":{"@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cciedump.spoto.net\/blog"},{"@type":"ListItem","position":2,"name":"What Is VXLAN?"}]},{"@type":"Article","@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#article","isPartOf":{"@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#webpage"},"author":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1"},"headline":"What Is VXLAN?","datePublished":"2026-11-30T08:18:14+00:00","dateModified":"2026-11-30T08:18:14+00:00","mainEntityOfPage":{"@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#webpage"},"wordCount":3150,"commentCount":0,"publisher":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638"},"image":{"@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#primaryimage"},"thumbnailUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/11\/what-is-vxlan.png","articleSection":["Routing &amp; Switching"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cciedump.spoto.net\/blog\/what-is-vxlan_25380.html#respond"]}]},{"@type":"Person","@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1","name":"SPOTO \u7f16\u8f91","image":{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1795769814","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1795769814","caption":"SPOTO \u7f16\u8f91"}}]}},"_links":{"self":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/25380"}],"collection":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/comments?post=25380"}],"version-history":[{"count":0,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/25380\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/media\/25379"}],"wp:attachment":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/media?parent=25380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/categories?post=25380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/tags?post=25380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}