VLAN aware one NIC

malabapa

New Member
Apr 14, 2025
1
0
1
I am testing the Proxmox VE but am getting my butt kicked on what should be a simple configuration.

The HOST resides on our lab vlan 123. I want my guests to also be on the 123 vlan.
I am working a Rocky Linux guest vm install, but cannot get the nic to get an address.

my interfaces has:
auto lo
iface lo inet loopback

iface ens18 inet manual

auto ens18.123
iface ens18.123 inet maual
address 192.168.100.100/16
gateway 192.168.100.1

auto vmbr0
iface vmbr0 inet static
bridge-ports ens18
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-2044

source /etc/network/interfaces.d/*

What I have tried:
- interfaces file with and without the vlan-aware with vlan assigned to NIC in Hardware configuration
- interfaces file with and without vlan-aware with vlan assigned through the nmcli

I have seen many conflicting reports that you need to blow away the VM to make the vlan-aware changes and am working through different NIC types from the VirtIO.

Any links or suggestions would be appreciated.
 
Only thing that helped for me after making the bridge vlan aware was rebooting the node. Just could not get it working before a reboot.
 
I’d recommend setting the IP address on the bridge (vmbr0), which will use the VLAN sub-interface as its bridge-port. This ensures that both the host and the VMs have proper access to VLAN 123.
Code:
auto ens18
iface ens18 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.100.100/16
    gateway 192.168.100.1
    bridge-ports ens18.123
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 2-2044

source /etc/network/interfaces.d/*