HI Forum,
I am attempting to setup VLANs on Proxmox using trunked network.
I am having networking issues with VMs assigned to the native VLAN. Non-native VLAN VMs work perfectly - Eg VLAN550.
In my server I have created two bridges,
vmbr0 -> Linux bridge that I use to connect to the Proxmox host.
vmbr1 -> Openvswitch bridge that is connected to Cisco switch etherchannel which is a trunk.
interface Port-channel11
switchport trunk native vlan 500
switchport trunk allowed vlan 400-599
switchport mode trunk
On my Proxmox server I have the following. I added vlan_mode=native-untagged to the definition of VLAN 500.
auto lo
iface lo inet loopback
auto enp3s0f0
iface enp3s0f0 inet manual
iface ens3f0 inet manual
iface ens3f1 inet manual
allow-vmbr1 bond0
iface bond0 inet manual
ovs_bonds ens3f0 ens3f1
ovs_type OVSBond
ovs_bridge vmbr1
ovs_options lacp=active bond_mode=balance-tcp
auto vmbr0
iface vmbr0 inet static
address 10.39.71.99
netmask 255.255.255.0
gateway 10.39.71.1
bridge_ports enp3s0f0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan500 vlan550
allow-vmbr1 vlan500
iface vlan500 inet manual
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options vlan_mode=native-untagged tag=500
allow-vmbr1 vlan550
iface vlan550 inet manual
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=550
In the GUI for the test VLAN500 machine I have bridge=vmbr1, tag=500. Similarly for the working VLAN 550 machine I have bridge=vmbr1, tag=550.
Is there some additional I need to add for the native VLAN VMs?
Thanks
Joshua
I am attempting to setup VLANs on Proxmox using trunked network.
I am having networking issues with VMs assigned to the native VLAN. Non-native VLAN VMs work perfectly - Eg VLAN550.
In my server I have created two bridges,
vmbr0 -> Linux bridge that I use to connect to the Proxmox host.
vmbr1 -> Openvswitch bridge that is connected to Cisco switch etherchannel which is a trunk.
interface Port-channel11
switchport trunk native vlan 500
switchport trunk allowed vlan 400-599
switchport mode trunk
On my Proxmox server I have the following. I added vlan_mode=native-untagged to the definition of VLAN 500.
auto lo
iface lo inet loopback
auto enp3s0f0
iface enp3s0f0 inet manual
iface ens3f0 inet manual
iface ens3f1 inet manual
allow-vmbr1 bond0
iface bond0 inet manual
ovs_bonds ens3f0 ens3f1
ovs_type OVSBond
ovs_bridge vmbr1
ovs_options lacp=active bond_mode=balance-tcp
auto vmbr0
iface vmbr0 inet static
address 10.39.71.99
netmask 255.255.255.0
gateway 10.39.71.1
bridge_ports enp3s0f0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan500 vlan550
allow-vmbr1 vlan500
iface vlan500 inet manual
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options vlan_mode=native-untagged tag=500
allow-vmbr1 vlan550
iface vlan550 inet manual
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=550
In the GUI for the test VLAN500 machine I have bridge=vmbr1, tag=500. Similarly for the working VLAN 550 machine I have bridge=vmbr1, tag=550.
Is there some additional I need to add for the native VLAN VMs?
Thanks
Joshua