Vlans on the Linux bridge

Nik2016

Renowned Member
Oct 25, 2016
22
1
68
45
I was trying to setup traditional vlans on the Linux bridge with only a single physical interface on the host. But I am apprently messing up the configuration.

Can anyone post what such a configuration should look like if you were to have 2 vlans + one more for proxmox management? Thanks.
 
Hi,

The VLAN for the Guest you can set on the vNIC interfaces.

Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

iface vlan100 inet static
    address 192.168.0.2/24
    vlan-id 100
    vlan-raw-device eno1
#Proxmox VE managment

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