VLAN for Proxmox Host

spetrillo

Member
Feb 15, 2024
258
13
18
Hello all,

Straight from the Network Configuration wiki for Proxmox: https://pve.proxmox.com/wiki/Network_Configuration

Example: Use VLAN 5 for the Proxmox VE management IP with VLAN aware Linux bridge

iface eno1 inet manual

auto vmbr0.5
iface vmbr0.5 inet static
address 10.10.10.2/24
gateway 10.10.10.1

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


I have configured my primary interface as follows:

iface eno1 inet manual

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

auto vmbr0.3
iface vmbr0.3 inet static
address 192.168.1.66/26
gateway 192.168.1.65


After I saved the config and rebooted I could not get to the Proxmox GUI. Only when I changed the mgmt config from vmbr0.3 to vmbr0.1 did it work. Why is this when the wiki shows something different? Is it the order of the statements?

Thanks,
Steve
 
Hello Steve,

configuration seems fine.
Honestly, it sounds like a network issue on your side. Have you configured tagged VLAN3 on your switch and/or a devices inside this VLAN + Subnet?

As VLAN 1 is the default for basically every network device (untagged or tagged), it surely is the explanation why vmbr0.1 works. (VLAN 1 is not allowed normally and the default vlan for untagged traffic).

Cheers
 
So here is the catch...there is no switch involved. I am connected directly from my PC to the Proxmox server.

Its soo weird...
 
So here is the catch...there is no switch involved. I am connected directly from my PC to the Proxmox server.

Its soo weird...
Then you need to configure your network card in this VLAN. Based on your network card this is possible in the settings directly or you need to go another way with virtual bridges (e.g. von hyperv).