VLAN in guest not working

May 27, 2021
27
1
8
46
Hi,

i am sure that this has been asked many times before. I believe I configured it as in manuals, but it does not work.

We have VLAN 201 in trunk mode on the switch and I want to use it in guest using non-tagged bridge:

PVE network:
bridge over the bond with no tags and separate VLAN for the management IP:
Screenshot 2024-08-21 at 2.09.10.png
LXC network:
eth1 on vmbr0 with ip 10.6.1.6/24 and VLAN 201
Screenshot 2024-08-21 at 2.25.18.png

I can ping PVE, but cant ping LXC 10.6.1.6/24.

If configured with tagged bridge vmbr201 over bond0.201 (VLAN), then it works:

PVE Network:
Screenshot 2024-08-21 at 2.12.56.png
LXC network:
eth1 on vmbr201 with ip 10.6.1.6/24 and NO VLAN
Screenshot 2024-08-21 at 2.25.36.png

I can ping both 10.6.1.7 (PVE management) and 10.6.1.6 (LXC).

Please advise what am i missing or doing wrong.

Regards,
 
Last edited:
My goal is to avoid having many bridges because if I missed one bridge on one host then some VMs may not work when migrated to this host. One bridge for all VLANs would be prefferable.