Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

VXLAN (vxlan)

Reached from

Lower layerSelectorValue
udpdst_port / src_port4789 (0x12b5)

Fields

FieldTypeDefaultAutoDescription
flagsflags(8)0x8VXLAN flags (I bit = VNI is valid).
reserved1uint(24)0
vniuint(24)024-bit VXLAN Network Identifier.
reserved2uint(8)0

flags

BitMaskName
38 (0x08)vni_present

Next layer

The next layer is selected by flags; when the field is Auto the builder writes the value of the protocol stacked above.

ValueProtocolNote
(any other value)ethernet2

Sample templates

  • vxlan — templates/protocols/encap/vxlan.wpg.yaml