Proxmox add VLAN for VMs

Sep 13, 2019
5
0
6
37
Hi,

I have configured my Proxmox node with the follow config file:

auto lo
iface lo inet loopback

iface enp2s0f1 inet manual

iface ens1f1 inet manual

auto bond0
iface bond0 inet manual
bond-slaves ens1f0 ens1f1
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3

auto vmbr0
iface vmbr0 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094

auto vmbr0.19
iface vmbr0.19 inet static
address XXX.XXX.XXX.XXX
netmask 255.255.255.0
gateway XXX.XXX.XXX.XXX


I need to add a new VLAN where create the VMs. How I can add it on my cluster?
 
The vmbr0 is set to vlan-ware. You should be able to set a VLAN ID for the network device in the GUI right below the field where you select which bridge to use.
 
I already tried but the vm network not work.
Is the switch on the other side configured accordingly? Has the VLAN tagged on that interface?