Hey all,
I'm using a VLAN-aware bridge in Proxmox that I connect VMs to. All traffic flows out to a switch via
Here's my /etc/networking/interfaces
However, the bridge does not output any tagged traffic on
I do not want to create sub-interfaces for the VLANs in proxmox, I basically want exactly what
I'm using a VLAN-aware bridge in Proxmox that I connect VMs to. All traffic flows out to a switch via
enp87s0
. the network's gateway as well as some client devices are also on that switch.Here's my /etc/networking/interfaces
Code:
auto lo
iface lo inet loopback
iface enp87s0 inet manual
#uplink switch
auto vmbr1
iface vmbr1 inet manual
bridge-ports enp87s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
source /etc/network/interfaces.d/*
However, the bridge does not output any tagged traffic on
enp87s0
unless I run: bridge vlan add dev enp87s0 vid 2-4094
- then it immediately works. So, effectively I'm telling the linux bridge that enp87s0 is a trunk port. How would I make this persistent through the CLI or ideally through proxmox GUI?I do not want to create sub-interfaces for the VLANs in proxmox, I basically want exactly what
bridge vlan add dev enp87s0 vid 2-4094
does, but persisted in /etc/networking/interfaces
... Does anyone know if this is possible?