VLAN interfaces not selectable in VM NIC Config

Jan 31, 2025
1
0
1
I'm working on deploying a 7 node Proxmox VE cluster. We have several other clusters running PVE 6/7. As I'm working on configuring the network, I'm used to configuring it like this:

Code:
auto lo
iface lo inet loopback

auto enp1s0f1
iface enp1s0f1 inet manual

auto enp1s0f0
iface enp1s0f0 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves enp1s0f0 enp1s0f1
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer3+4

auto vmbr0
iface vmbr0 inet manual
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094
        
auto vlan123
iface vlan123 inet manual
        vlan-raw-device vmbr0

auto vlan456
iface vlan456 inet manual
        vlan-raw-device vmbr0
enp1s0f0/1 -> bond0 -> vmbr0 -> vlan<id>

This is how we have setup our older clusters, and it was something i was attempting to replicate on our new PVE 8.3.3 install. However, with this config, I do not seem to be able to find the vlan<id> devices available to select on the VM NIC config.

1738333456140.png

I've poked through the SDN config and am able to add zones/vnets there which show up as selectable in a VM, however I think we have a preference to networks being managed on each PVE as we have automation pre-built to generate the /etc/network/interfaces file.

What am I missing / doing wrong?
 
Should just be able to bind your instances to the bridge, then set the tag on the interface at provisioning
example:
Code:
net0: virtio=BC:24:11:E8:D9:7F,bridge=vmbr1,tag=50

FWIW: I pretty much set the bridge up like yours, then tag on the VM interface and works fine.
I do tag the management interface, ie:


Code:
auto vmbr1
iface vmbr1 inet manual
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094
#10G-Trunk

auto vmbr1.45
iface vmbr1.45 inet manual

auto vmbr1.99
iface vmbr1.99 inet static
        address 192.168.0.111/24
        gateway 192.168.0.1
#Management
 
  • Like
Reactions: Heisenberg_