Lessons › Data centre networking
VXLAN and EVPN in plain words
▶ Start the interactive lesson
A customer asks: "Our two virtual machines are in different racks, but our app needs them on the same VLAN, the same subnet. Can you do that?" In a leaf-spine fabric, the links between leaves and spines are routed, not one big VLAN. So how do you stretch a VLAN across racks? Sam: "We build a…
The problem
Routed leaf-spine is great: no Spanning Tree, all links used. But some apps still need machines in different racks to share one layer 2 network (same VLAN, same subnet).
VXLAN: a tunnel for Ethernet frames
VXLAN wraps an Ethernet frame inside a UDP/IP packet, sends it across the routed fabric, and unwraps it at the other side.
Underlay and overlay
The underlay is the real routed network between leaves and spines (often BGP or OSPF). Its only job: get packets from any leaf to any leaf.
EVPN: the address book
How does Leaf 1 know that VM B's MAC address lives behind Leaf 6? Old networks flooded traffic to find out.
Key points
- Routed leaf-spine has no stretched VLANs by itself.
- VXLAN wraps Ethernet in UDP/IP so L2 networks can cross a routed fabric. Leaves are VTEPs, segments are VNIs.
- Underlay = real routed network. Overlay = virtual networks on top.
- EVPN uses BGP to share which MAC/IP lives behind which leaf, instead of flooding.
Words you'll learn
VXLAN · VTEP · VNI (VXLAN network identifier) · Underlay · Overlay · EVPN (Ethernet VPN) · Stretched L2 / L2 extension