Multiples vlan with ovs

Sebastian Antunez

New Member
Apr 5, 2018
5
0
1
49
Hello Guys

In two nodes with Proxmox 5.1-3 have dedicated to management of proxmox.

My problem is the following.

Each node have 4 interface qlogic 57810 with LAG from server to Juniper.

Understand with openvswitch I can create a bridge and assign the vlan tag so that the VMs can have access.

The problem is that no VM has access to the network and I have reviewed everything and I can not find the error.

This is my configuration in Proxmox.

-------------------------------------------------------------------
auto lo
iface lo inet loopback

iface ens192 inet manual

iface ens256 inet manual

iface ens224 inet manual

allow-vmbr1 bond0
iface bond0 inet manual
ovs_bonds ens224 ens256
ovs_type OVSBond
ovs_bridge vmbr1
ovs_options bond_mode=active-backup

auto vmbr0
iface vmbr0 inet static
address 192.168.0.70
netmask 255.255.255.0
gateway 192.168.0.1
bridge_ports ens192
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 192.168.1.100
netmask 255.255.255.0
ovs_type OVSBridge
ovs_ports bond0 vlan100 vlan200

allow-vmbr1 vlan100
iface vlan100 inet manual
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=100

allow-vmbr1 vlan200
iface vlan200 inet manual
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=200

-----------------------------------------------------

Thanks for your help.

Regards

SAN
 
Hi,

I'm not sure what you try to achieve, but if you goal is to use VLan in a VM this is not the way you should go.

The easiest way is just use a simple linux bridge with VLan awareness and set the VLan on the vNIC of the VM.
I see no reason why you have to use ovs?
 

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!