Issue with VLAN configuration

Hellmann

Member
Jan 5, 2022
5
0
6
35
Hi,
I have a issue configuring my network.
My lxc and vms from vlan 30,40 and 70 are getting an ip via dhcp from my opensense if I set the correct tag in the settings (vmbr0 and vlan tag). However all lxc or vm assigned to vlan 20 and vmbr0 won‘t get anything.

Here is my network config:

Code:
auto lo
iface lo inet loopback
 
auto eno1
iface eno1 inet manual
 
auto eno2
iface eno2 inet manual
 
# Bonding configuration
auto bond1
iface bond1 inet manual
    bond-slaves eno1 eno2
    bond-miimon 100
    bond-mode 802.3ad
    bond-xmit-hash-policy layer3+4
 
# VLAN-aware bridge that handles multiple VLANs for VMs
auto vmbr0
iface vmbr0 inet manual
    bridge-ports bond1
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 2-4094
 
# VLAN 20 bridge for Proxmox host IP
auto bond1.20
iface bond1.20 inet manual
 
auto vmbr1
iface vmbr1 inet static
    address 10.0.20.100/24
    gateway 10.0.20.1
    bridge-ports bond1.20
    bridge-stp off
    bridge-fd 0
    bridge-vids 2-4094



Is it possible that I did a mistake here and my bond1.20 or vmbr1 is blocking vlan 20 on vmbr0? My host (on vlan 20) is able to connect and ping. I tried to set a static ip, but even then: no connection possible. On the opnsense-side are all vlans configured the same.

Thanks for and help in advance.
 
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!