Skip to main content

VLAN Bridge

Einträge in der /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 0-4096
 1-4094         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/*