Problem with VLANs

kitt_i

New Member
Aug 8, 2025
3
0
1
Good day all,
I have search the internet and saw videos and tried everything but still my Proxmox 8.4.6 installation doesn;t support VLANs/
My Network for the Proxmox:
1754660842225.png

This is the switch side:
1754660871217.png
The switch is tp-link easy smart switch, and I have VLANs working on my Access points.

This is one of the VMs configurations:

1754660952530.png

I tried to tag all VLANs on the switch's port, I tried to untag all, I tried 1 untagged and 2 and 3 tagged.
I tried Linux VLAN with vmbr0.2 and vmbr0.3 nothing worked

I'm sure it's a dumb tick box I'm missing but I don't know which.

Thank you for your help
 
What do you want to achieve? Some VMs that should be placed in VLAN 3? The host should not be placed in any VLAN?

Then, on the port that you connect your PVE host to the switch, 3 should be a tagged VLAN.
If your switch supports it, configure an IP for it in the same VLAN. Then you can use ping to see if you at least can reach the switch itself.

On the other ports you can use tagged VLANs as well, but then the machines behind that port need to make sure that they have the VLAN configured.

There usually can only be one untagged VLAN per port. Because then the switch will take care to strip the VLAN tag from the packet, when it goes out to the machine(s) behind the port, and will be added for packets that reach the switch port from the machine(s) connected to that port.

Unfortunately, VLANs either work, or they don't. That makes troubleshooting at first a bit hard.

In you switch screenshot, it seems that VLAN 1 (default VLAN if none specified) is untagged on all ports, except port 6. On port 6, all machines you connect to it, will be part of VLAN 3. While ports 7 & 8 have VLAN 2 & 3 also as tagged VLANs.
 
My PVE host itself is on VLAN 1 (My main VLAN of the network)
I try to have some VMs on other VLANs like 3 in the example I showed.
The PVE host is connected to port 7 of the switch and port 8 is the uplink
port 6 is only for VLAN 3,
At work I work with VLANs, but different brand switches and VMware and not Proxmox
The problem as I see it is something between the the Proxmox VLANs side and the switch port, but from what I searched and saw in videos I have configured it right\
Vm on VLAN 1 works great, the problem are VMs on the other VLANs
 
hmm, yeah, VLAN 1 is the default "no vlan configured" one. If you only have the vmbr0 and assign the VLAN tag in the VMs virtual NIC, any packet leaving the node should be tagged accordingly.

Maybe run some tcpdump on vmbr0, or the underlying physical NIC enp0s316f6? To see if the packets from the VM are tagged? Maybe it is an MTU issue though?
What if you keep the VLAN tag in the VMs NIC and set the MTU to 1496? And also check within the VM that it has the lower MTU to have enough space for the ectra 4 byte VLAN tag?
 
Don't enable VLAN aware and try again..
you are use vlan1 in your existing network and in PVE config omited vlan1.
 
Thank you for your reply
Tried both suggestions, both didn't work.
MTU didn't help and removing VLAN aware broke the network even for the VM on VLAN 1
I still need to try and run tcpdump and see what's going on there