How to create fake bridges using Open vSwitch?

dksoft

Active Member
Apr 17, 2017
23
7
43
60
Dear Proxmox-fellow,

instead of creating a device with VLAN tag per VM, I would like to create a couple of bridges with that VLAN tag and bind the VM to that bridge.
This can be done on Open vSwitch using fake bridge, e.g. the command "ovs-vsctl add-br <fake bridge> <parent bridge> <VLAN>".

The problem is that I can either create the bridges by hand, but then Proxmox does not recognize them in the GUI.
Or, I can define dummy bridges in the GUI, but then can not create the bridges because they already exist.

Question: Is there any preferred method to create VLAN tagged bridges in Proxmox?
 
You could create a regular linux-bridge and make it vlan-aware.
Then you can configure your guest to have a network-interface and select the wanted VLAN tag for that interface

Both of this can be directly done in the GUI.

I hope this helps!