Networking · Virtualization & Overlays › VXLAN
Encapsulation
Cheat sheet · https://pcornel.dk/topic.php?topic=1364
Answer
VXLAN encapsulation wraps the original Ethernet frame in a VXLAN header (with the VNI), UDP (destination port 4789), outer IP and outer Ethernet, adding about 50 bytes.
Remember
- Encapsulation wraps the original packet in new headers for transport across the underlay.
- VXLAN adds about 50 bytes (outer Ethernet, IP, UDP, VXLAN).
- Raise underlay MTU or lower overlay MTU to avoid fragmentation.
First checks
- Capture: outer IP/UDP 4789/VXLAN header/inner frame — encapsulation
ping <remote-vtep> size 1550 df-bit— MTU
Verify in this order
inner frame → VXLAN header → UDP/IP → underlay
Where it usually breaks
underlay IP/transport → control/session registration → route/endpoint distribution → policy/segment → encapsulation/tunnel state → decapsulation/egress → return path
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1364