Open vSwitch VLAN tagging on guest port

tobru

Member
May 19, 2008
31
0
6
Hi,

I can configure a network port attached to a VM to be a VLAN trunk using the following commands (when using Open vSwitch):

Code:
ovs-vsctl set port tap103i1 trunks=10,20,30
ovs-vsctl set port tap103i1 vlan_mode=trunk

How can I do this on the webinterface?

Cheers,
Tobias
 
Hi,

>>ovs-vsctl set port tap103i1 vlan_mode=trunk

I'm not sure, but isn't trunk the default mode when not specified ?
Does vlan tag work inside the vm without setting the vlan_mode=trunk ?


>>ovs-vsctl set port tap103i1 trunks=10,20,30
Currently it's not possibly to limit the vlans through the gui.
(vlan option only force the vlan (mode access tag=xxx))
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!