Modern data centers need network architectures that can support distributed workloads, tenant isolation, virtual-machine movement and predictable changes without creating uncontrolled Layer 2 broadcast domains. VXLAN is one technique for carrying Layer 2 segments over an IP underlay; EVPN often supplies the control-plane information needed to manage endpoints and routes at scale. Neither mechanism is a substitute for access control, capacity design or observability.
The correct architectural discussion starts with the roles of an underlay, overlay, Virtual Tunnel Endpoints (VTEPs), Virtual Network Identifiers (VNIs) and a control plane. Performance claims must be evaluated on actual switch silicon, MTU, traffic patterns and tenant policy.
Separate the IP underlay from the overlay
The underlay is the routed IP fabric that forwards encapsulated packets between VTEPs. A resilient leaf-spine architecture may use equal-cost multipath routing, but its behavior still depends on routing convergence, link capacity and failure domains. The overlay maps virtual networks onto this transport so that endpoints can communicate as if on a designated Layer 2 segment.
A failure in the underlay can disrupt multiple overlays. Measure physical link errors and route convergence independently of endpoint learning or VNI configuration. An overlay incident may originate in routing, MTU, controller policy or a virtual switch rather than in VXLAN itself.
How VXLAN encapsulation works
A VTEP encapsulates an inner Ethernet frame into VXLAN carried in UDP/IP across the underlay. The VXLAN header contains a 24-bit VNI, providing roughly 16.8 million possible identifiers. This namespace supports flexible segmentation, but available VNI values are not a claim that a deployed platform can operate 16 million simultaneously healthy tenant networks.
Encapsulation adds overhead. Ensure the underlay MTU is sufficient for the inner payload plus encapsulation, and verify packet handling across every device and tunnel path. An undersized path can cause drops or fragmentation-related problems even when routing and endpoint tables appear normal.
EVPN control plane and endpoint learning
EVPN can distribute MAC and IP reachability through BGP signaling rather than relying on uncontrolled data-plane flood-and-learn. Deployment choices include broadcast/unknown-unicast/multicast replication, suppression capabilities and inter-subnet routing by distributed gateways. Each capability is vendor-, software- and configuration-dependent.
Document route types, route targets, route distinguishers, policy and VTEP reachability. Debugging requires separating a missing EVPN advertisement from a missing ARP/neighbor entry, an incorrect VNI mapping or a packet blocked by tenant policy.
Distinguish EVPN MAC/IP and IP-prefix information
In a BGP EVPN deployment, the route information being exchanged matters. MAC/IP advertisement (route type 2) is used for endpoint reachability, while IP-prefix (route type 5) conveys IP prefix information where the EVPN design supports it. These are control-plane advertisements, not encrypted packets or firewall permissions. Operators should verify route-target import/export and the exact VNI/VTEP association before diagnosing a missing endpoint as a simple underlay outage.
A VTEP can forward only as intended when the underlay reaches the correct remote VTEP, tunnel encapsulation fits the physical MTU, and the tenant’s actual route and security policies permit the flow. In a test, compare the remote MAC/IP route, underlay path and physical interface counters with the endpoint’s ARP or neighbor record. RFC 7348 explicitly calls for an MTU large enough for the extra encapsulation; a VXLAN label cannot fix fragmentation-related drops or prevent unauthorized intertenant routing by itself.
Network labels are not complete security policy
A VNI partitions selected forwarding behavior, but an attacker or a misconfigured VTEP may still expose endpoints. VXLAN alone does not encrypt user traffic. ACLs, firewall policy, tenant identity enforcement and appropriate tunnel protection remain necessary for the threat model. Even legitimate east-west paths can violate least privilege if routed gateways permit excessive inter-segment communication.
Test both permitted and denied application flows. A large label space is useful for organization; it is not proof of confidentiality or authorization.
Capacity and failure behavior
Encapsulated traffic needs enough link bandwidth and packet-processing capacity in both the hardware VTEPs and any software endpoints. Headline underlay link rates can hide hotspot flows, head-of-line effects or buffer pressure. Microbursts and elephant flows deserve representative traffic tests.
Failure testing should include leaf or spine withdrawal, VTEP loss, endpoint mobility, stale MAC cleanup, route-target errors and recovery under load. Verify packet loss and application interruption instead of assuming equal-cost paths make convergence instantaneous.
Diagnose EVPN visibility without confusing the overlay with the underlay
Imagine a VM moved from leaf A to leaf B but a peer in the same tenant can no longer reach it. Begin with the underlay: confirm that leaf A and leaf B still have IP reachability to each other as VTEPs, that the route and ECMP fabric are healthy, and that the tunnel path supports the required MTU after encapsulation. If the underlay is broken, changing a tenant VRF or adding a route target is unlikely to restore reachability.
Next inspect the overlay and control plane separately. Confirm the destination VNI mapping, route-target import/export policy, the expected EVPN MAC/IP advertisement and the relevant neighbor or ARP state. For an inter-subnet flow, identify whether the tenant VRF has the needed IP-prefix reachability and gateway policy. EVPN route type 2 and type 5 represent different information; seeing a MAC route does not establish that every layer-3 destination prefix has been advertised.
Finally verify access controls, tunnel endpoint authorization and the application path from both directions. The 24-bit VNI is a tenant forwarding label, not an encryption key or a firewall rule. If a packet succeeds only below a certain size, investigate PMTU or fragmentation/encapsulation constraints rather than treating the problem as an EVPN route leak. Log the exact changes and roll back the lowest-risk mistaken dependency first.
Deployment and troubleshooting checklist
Document the underlay addresses and routing adjacencies, VTEP source interfaces, per-tenant VLAN-to-VNI mapping, gateway placement, EVPN policies, MTU and security enforcement. Capture route advertisements and endpoint reachability before and after each change. Implement small, reversible rollouts rather than migrating an entire tenant set on an untested template.
VXLAN and EVPN can simplify certain mobility and segmentation problems, but their operational value comes from well-defined underlay transport, explicit policy and observable control-plane state. The platform's feature matrix and a representative failure test are more authoritative than an abstract promise of self-scaling networks.
Worked example: a tenant network vanishes after a change
After a VNI change, one virtual machine loses reachability while another tenant remains healthy. Confirm the VM's VLAN-to-VNI mapping and source VTEP, then inspect the EVPN MAC/IP advertisement, route target import, underlay route and MTU. A missing remote MAC route requires a different repair from a packet dropped by an ACL at the distributed gateway. Revert the exact policy or mapping change if the agreed acceptance test fails; avoid changing every leaf's VNI allocation at once.