Skip to main content

Proxmox VLAN Bridge

Die Einstellungen dienen dazu den PVE-Server in ein Management-VLAN zu geben (z.B. VLAN 4000 ) und der Bridge VIDs zuzuordnen, welche den VMs zugewiesen werden können. Die VIDs werden mit den Werten im Parameter 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/*