Issue with OVS native VLAN tagging?

Angelo

Active Member
Jul 2, 2019
26
4
43
Hi,

We have an issue with OVS native VLAN tagging.

For a subset of VMs - that should be natively tagged to VLAN 6 - we're unable to get the native VLAN tagging to work.

When we hardset the network interface to VLAN6 for the affected VM, everything works fine, but for some reason, if we leave the VM network interface untagged, the native tagging doesn't seem to work.

All other VMs tagged across a multitude of VLANs are working fine - so trunking (except for the native VLAN) is working correctly.

The below is our /etc/network/interfaces.cgf file:

Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual
        ovs_type OVSPort
        ovs_bridge vmbr0
        ovs_options vlan_mode=native-untagged tag=6

iface eno2 inet manual

iface eno3 inet manual

auto eno4
iface eno4 inet static
        address 192.168.3.163/24

auto vlan6
iface vlan6 inet static
        address 192.168.6.163/24
        gateway 192.168.6.1
        ovs_type OVSIntPort
        ovs_bridge vmbr0
        ovs_options tag=6

auto vmbr0
iface vmbr0 inet manual
        ovs_type OVSBridge
        ovs_ports eno1 vlan6


Any ideas?

Kind regards,

Angelo.