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:
So no addresses assigned anywhere there on the host. On the VM I assigned VLAN 11:
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.
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.