[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:

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!