I'm trying to setup a VLAN trunk to a Proxmox node using a single NIC and OVS bridge. The plan is to bond multiple NICs to the bridge once I've got it working with one.
I have one NIC eth0 connected to a router with 3 tagged VLANs (1, 2 and 3). There should be no un-tagged traffic on the connection. In addition there is a management NIC eth1 which is connected directly to VLAN1 (not tagged).
The configuration is vmbr0 is on OVSBridge with the tagged NIC eth0 as the only port. No bond configured.
My understanding is that I should be able to select vmbr0 and enter a VLAN tag when creating a VM, and that should connect the VM to the right network. I've had varying degrees of success depending on the exact configuration in /etc/network/interfaces - sometimes no connection at all and other times I've managed to get an IP address from DHCP but still no connection to anything else on the network.
I've following the instructions in https://pve.proxmox.com/wiki/Open_vSwitch the best I can without success, but I'm unsure as to whether it's a VM, Proxmox/OVS or router/switch issue.
Any help would be appreciated. Thanks!
I have one NIC eth0 connected to a router with 3 tagged VLANs (1, 2 and 3). There should be no un-tagged traffic on the connection. In addition there is a management NIC eth1 which is connected directly to VLAN1 (not tagged).
The configuration is vmbr0 is on OVSBridge with the tagged NIC eth0 as the only port. No bond configured.
My understanding is that I should be able to select vmbr0 and enter a VLAN tag when creating a VM, and that should connect the VM to the right network. I've had varying degrees of success depending on the exact configuration in /etc/network/interfaces - sometimes no connection at all and other times I've managed to get an IP address from DHCP but still no connection to anything else on the network.
I've following the instructions in https://pve.proxmox.com/wiki/Open_vSwitch the best I can without success, but I'm unsure as to whether it's a VM, Proxmox/OVS or router/switch issue.
Any help would be appreciated. Thanks!