How VXLAN Works

How VXLAN Works An architecture diagram generated by Archify. Pod A · 10.244.1.5 · Node 1 (10.0.1.10) Pod A 10.244.1.5 vxlan.calico · VTEP · Node 1 (10.0.1.10) vxlan.calico VTEP eth0 · 10.0.1.10 · Node 1 (10.0.1.10) eth0 10.0.1.10 eth0 · 10.0.1.11 · Node 2 (10.0.1.11) eth0 10.0.1.11 vxlan.calico · VTEP · Node 2 (10.0.1.11) vxlan.calico VTEP Pod B · 10.244.2.8 · Node 2 (10.0.1.11) Pod B 10.244.2.8 Original packet UDP encap UDP 4789 · VNI 4096 UDP decap Original packet Node 1 (10.0.1.10) Node 2 (10.0.1.11) Legend Pod (workload) VTEP (encap/decap) eth0 (physical NIC)

VXLAN encapsulation

  • • Wraps the Layer 2 frame in a UDP packet (default port UDP 4789)
  • • VNI 4096 (Calico default)
  • • 50 bytes of overhead → recommended pod MTU 1450 bytes