VLAN not being tagged

saraivaf

New Member
May 22, 2023
5
0
1
Brazil
Hi,

I'm trying to setup management on both networks, one for production and other to monitor PVE. I tried many configs but still can't enable it on a Unifi network.

Also, every time I change something on PVE network settings, I need to go on a VM running on native vlan and edit network interface to be reachable again on the network. And monitor vlan (900) always show as incomplete arp address.

What I'm missing to make this work?

I'm posting my /etc/network/interfaces below:

Bash:
auto lo
iface lo inet loopback

iface enp1s0 inet manual

iface enx00e04c3608f0 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.125.254/24
    gateway 192.168.125.1
    bridge-ports enp1s0
    bridge-stp off
    bridge-fd 0
    bridge-VLAN-aware yes

auto vmbr0.900
iface vmbr0.900 inet static
    address 192.168.80.3/27
    gateway    192.168.80.1
    vlan-raw-device    vmbr0

Thanks
 
what's your ethernet card ? I had problems with old connectx2: they can't have all 4096 vlan actives.
Had to limit the number of vlan to the range I'm using..

bridge-vlan-aware yes
bridge-vids 1900-2020
 
Hi,

Already tried doing that, even this way a VM on vlan 900 can't reach 192.168.80.3.

Guess there is something I missing somewhere..

Thanks
I don't know if this is the elegant solution, but using interfaces file as below I was able to make it work:

Code:
auto lo
iface lo inet loopback

iface enp1s0 inet manual

iface enp1s0.900 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.125.254/24
    gateway 192.168.125.1
    bridge-ports enp1s0
    bridge-stp off
    bridge-fd 0

auto vmbr900
iface vmbr900 inet static
    address 192.168.80.3/27
    gateway 192.168.80.1
        bridge-ports enp1s0.900
        bridge-stp off
        bridge-fd 0
 
do you have any hosts (physical or virtual) on vlan 900 that reach the vlan 900 gateway?
 
do you have any hosts (physical or virtual) on vlan 900 that reach the vlan 900 gateway?
Hi, yes..

All VMs configured to use vmbr0 tagging vlan 900 was able to reach gateway, just proxmox hosts don't. But after last config applied yesterday everything is working fine and as expected.

Thanks
 

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!