VLAN trunking not working

totalimpact

Renowned Member
Dec 12, 2010
133
18
83
I am at a loss, for some reason I cannot get trunking to work from my VMs to my switch. I made VLAN 11 on my switch, and made a member on the port for eth1, and set the port mode to "TagALL/Trunk".

In proxmox I made the following:
Code:
iface eth1 inet manual
auto vmbr1
iface vmbr1 inet manual
        bridge_ports eth1
        bridge_stp off
        bridge_fd 0
        bridge_vlan_aware yes
pre-up ifconfig eth1 mtu 9000

So no addresses assigned anywhere there on the host. On the VM I assigned VLAN 11:
Code:
root@pve1:/etc/pve/qemu-server# cat 162.conf
net0: virtio=4A:5F:31:74:D9:9F,bridge=vmbr1,tag=11
numa: 0
ostype: win7
sockets: 1
virtio0: local-zfs:vm-162-disk-1,size=32G

I cant ping anything on vlan11 - why? If I change the switch port to access mode joined to vlan 11, and remove all vlan settings from the vm it works fine.
 

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!