[SOLVED] Single NIC, Multiple VLANs

Jul 27, 2022
5
1
3
Hi Folks - I'm feeling not so bright on this. I have an HP EliteDesk Mini G3 which only has one NIC. The subnet that the Mini G3 resides is not on my native VLAN. I have successfully changed the Proxmox admin IP to the right subnet:
Code:
auto lo
iface lo inet loopback

iface enp1s0 inet manual

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

auto vmbr0.20
iface vmbr0.20 inet static
        address 192.168.20.183/24
        gateway 192.168.20.254

However, I when I try to add VMs on VLAN 20 or add additional VLANs when a VM starts I cannot access the GUI and the console throws multiple errors on ports being blocked, etc.

How to I add additional VLANs for for the VMs?

I have tried to manually add additional bridges:
auto vmbr0.25 iface vmbr0.25 inet manual bridge-ports enp1s0.25 bridge-stp off bridge-fd 0

Google has not been my friend :-(
 
Last edited: