Proxmox VLAN Bridge
Die Settings dienen dazu den PVE-Server nur über das VLAN 4000 (MGMT-VLAN) ereichbar zu machen und der Bridge VIDs zuzuordnen welche den VMs zugewiesen werden können. Die VIDs werden in bridge-vids definiert.
Die /etc/network/interfaces:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
iface ethlan0 inet manual
auto vmbr0
iface vmbr0 inet static
bridge-ports ethlan0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094 # or, for single VLANs 1,2,3,4,10,100,1000
up ethtool -s ethlan0 wol g
auto vmbr0.4000
iface vmbr0.4000 inet static
address 192.168.1.123/24
gateway 192.168.1.254
source /etc/network/interfaces.d/*