One of the first things I do when I set up a Proxmox server is configure the network interfaces. I’m usually attaching the network interface on my pve to a trunk port on a managed switch. I want my management interface on a particular vlan, and I want to be able to tag the traffic on my guest interfaces so there is no vlan configuration at the guest level. Here’s how I do it.

Yours will likely look a bit different, this is how I configure Dell R720s I’m usually working with.

auto lo
iface lo inet loopback

iface eno1 inet manual
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual

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

auto vmbr0.2
iface vmbr0.2 inet static
	address 192.168.2.2/24
	gateway 192.168.2.1
	vlan-raw-device vmbr0