management VLAN configuration - clarification needed

Waldo

Member
May 12, 2021
4
1
23
46
My current configuration is:
Code:
auto lo
iface lo inet loopback

iface eno1 inet manual
#LAN uplink

auto vmbr0
iface vmbr0 inet manual
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 20 22 30 32 40 888 592
        mtu 1500
#LAN switch

auto vlan20
iface vlan20 inet static
        address 10.79.22.4/24
        gateway 10.79.22.1
        vlan-raw-device vmbr0
#MGMT
In my case Proxmox management interface type is Linux VLAN and this works just fine.

Today when looking into Proxmox network configuration guide I discovered that management VLAN should be configured like this:
Code:
auto vmbr0.20
iface vmbr0.20 inet static
        address 10.79.22.4/24
        gateway 10.79.22.1
#MGMT
What is difference between those two? Which is recommended? Are there some limitations when using Linux VLAN as management interface instead of bridge?
 
  • Like
Reactions: tayyab.shah
That’s the typical naming convention for vlan interfaces on bridges. If you have more than one bridge an would like to create vlan20 on another bridge it would be vmbr1.20, vmbr2.20, etc.
 
  • Like
Reactions: Johannes S