[pve-devel] [PATCH V2 pve-network 7/7] vlan: ovs : vlanaware: use 802.1q for tunnel

Alexandre Derumier aderumier at odiso.com
Tue Jun 2 11:20:27 CEST 2020


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/Network/SDN/Zones/VlanPlugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Network/SDN/Zones/VlanPlugin.pm b/PVE/Network/SDN/Zones/VlanPlugin.pm
index 0abe8da..edb132c 100644
--- a/PVE/Network/SDN/Zones/VlanPlugin.pm
+++ b/PVE/Network/SDN/Zones/VlanPlugin.pm
@@ -65,7 +65,7 @@ sub generate_sdn_config {
 	push @iface_config, "ovs_bridge $bridge";
 	push @iface_config, "ovs_mtu $mtu" if $mtu;
 	if($vnet->{vlanaware}) {
-	    push @iface_config, "ovs_options vlan_mode=dot1q-tunnel tag=$tag";
+	    push @iface_config, "ovs_options vlan_mode=dot1q-tunnel other_config:qinq-ethtype=802.1q tag=$tag";
 	} else {
 	    push @iface_config, "ovs_options tag=$tag";
 	}
-- 
2.20.1




More information about the pve-devel mailing list