Proxmox add VLAN for VMs

Sep 13, 2019
5
0
6
36
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?
 

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!