RFC 7348 6.1Inner VLAN Tag HandlingInner VLAN Tag Handling in VTEP and VXLAN gateway should conform
.
RFC 7348 6.1
Inner VLAN Tag Handling
Inner VLAN Tag Handling in VTEP and VXLAN gateway should conform to the following:
Decapsulated VXLAN frames with the inner VLAN tag SHOULD be discarded unless configured otherwise.
On the encapsulation side, a VTEP SHOULD NOT include an inner VLAN tag on tunnel packets unless configured otherwise.
When a VLAN-tagged packet is a candidate for VXLAN tunneling, the encapsulating VTEP SHOULD strip the VLAN tag unless configured otherwise.
VTEP和VXLAN网关的Inner VLAN Tag处理应符合以下要求:
->除非另有配置,否则应丢弃带有内部VLAN标记的已解封VXLAN帧。
->在封装端,除非另有配置,否则VTEP不应在隧道数据包上包含Inner Vlan Tag。
->当VLAN Tag的数据包时VXLAN隧道准备发送的数据包时,封装VTEP应剥离VLAN Tag,除非另有配置。
总之,默认情况下,封装VXLAN数据包不应携带 Inner Vlan Tag。