Domain XML and VLAN tagging

Gionatan Danti g.danti at assyoma.it
Thu Jun 16 07:20:21 UTC 2022


Hi all,
from here [1]:

"Network connections that support guest-transparent VLAN tagging include 
1) type='bridge' interfaces connected to an Open vSwitch bridge Since 
0.10.0 , 2) SRIOV Virtual Functions (VF) used via type='hostdev' (direct 
device assignment) Since 0.10.0 , and 3) SRIOV VFs used via 
type='direct' with mode='passthrough' (macvtap "passthru" mode) Since 
1.3.5 . All other connection types, including standard linux bridges and 
libvirt's own virtual networks, do not support it."

I read it correctly that when used on a classical linux bridge these 
vlan tags does nothing? If so, it is due to something related to the 
underlying bridge device (ie: incomplete support for vlan filtering) or 
it is because libvirt lacks the necessary "plumbing" to use advanced 
bridge features?

Thanks.

[1] 
https://libvirt.org/formatdomain.html#setting-vlan-tag-on-supported-network-types-only

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti at assyoma.it - info at assyoma.it
GPG public key ID: FF5F32A8



More information about the libvirt-users mailing list