Vlans on the Linux bridge

Nik2016

Member
Oct 25, 2016
19
0
6
44
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!