VXLAN Header & VNI Evidence
Cheat sheet · https://pcornel.dk/topic.php?topic=334
Answer
A VXLAN packet is an Ethernet frame inside UDP: outer Ethernet, outer IP (the two tunnel endpoints), UDP to port 4789, an 8-byte VXLAN header with the 24-bit VNI, then the original frame.
Remember
Keep the layers apart: outer addresses are the tunnel endpoints, the VNI is the segment, the inner frame is the real conversation. The overhead is 50 bytes over IPv4. The UDP source port varies per inner conversation so the underlay can share load. Filter on inner addresses to follow one conversation.
First checks
show nve vni— the VNI each VLAN maps to: the value to expect in the header.show nve peers— the endpoint addresses to expect as outer source and destination.show interface nve1— packets encapsulated and decapsulated.- Capture filter
vxlanorudp.port == 4789.
Verify in this order
frame enters a VLAN mapped to a VNI → encapsulated towards the endpoint that owns the destination MAC → UDP 4789 passes the underlay unfragmented → arrives with the same VNI → decapsulated and delivered
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=334