Protocols
Saved & recent

VXLAN

Also called: Virtual Extensible LAN, VXLAN Network Identifier, VNI, VTEP

VXLAN carries Ethernet frames across an IP network by encapsulating them inside UDP packets. Tunnel endpoints, called VTEPs, add and remove the outer headers. A 24-bit VXLAN Network Identifier identifies the overlay segment, allowing separate virtual networks to share the same underlying network infrastructure.

For example, virtual machines on different racks can belong to one logical Ethernet segment even though routers connect the racks. The underlying network forwards outer IP packets between VTEPs, which recover the original frames. VXLAN adds packet overhead and does not itself encrypt traffic; segmentation identifiers alone are not cryptographic protection against an untrusted participant.

Read first
Encapsulation, Internet Protocol
Related
Encapsulation, UDP, Maximum transmission unit, IPsec
Further reading
RFC 7348 — Virtual eXtensible Local Area Network (VXLAN): A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks
rack A VTEP VTEP rack B frame IP network frame outer IP UDP VXLAN · VNI 42 inner Ethernet frame added headers recovered frame far VTEP output VNI · segment identifier
VXLAN VTEPs wrap an inner Ethernet frame with a VXLAN header, UDP and outer IP for transport across the underlay, then recover the frame. The illustrative VNI 42 identifies an overlay segment. Added headers consume space; VXLAN itself does not encrypt the frame.

View in the full Protocols collection