openvswitch questions

casalicomputers

Renowned Member
Mar 14, 2015
89
3
73
Hello everybody,
I'm planning a new proxmox installation and I'm puzzled whether to use openvswitch or not.
So here are some questions, hoping you will help me in choosing:

1)
What are the pro/cons of using openvswitch against a standard linux bridge?

2)
I just found this: http://unix.stackexchange.com/questions/155948/plain-bridge-vs-open-vswitch
Stating to that, it seems than when 2 vms on a standard bridge want to talk each other, packets will flow from VM1 through the switch and then back again to VM2, while when using OVS, packets are exchanged internally.
Can you confirm this?

3)
I come from VMware, and I used to configure VLAN tags on specific vSwitches so, when I need a VM to have a NIC connected to a particular VLAN, I just have to change its vSwitch.
I'd wish to replicate this behaviour, having for example, vmbr0 on default VLAN1, vmbr1 on VLAN 100, vmbr2 on VLAN 200 - all sharing the same bond/nic.
I know that I can assign the VLAN tag per VM's NIC, but in this way I don't have to remember each tag.
Can you provide some examples on how to do this?

I already read this doc https://pve.proxmox.com/wiki/Open_vSwitch but seems to not cover my case. :confused:

4)
When changing the bridge configuration which requires an interface restart, I often found the VMs connected to it not responding anymore.
Then I need to associate the VM nic to a different bridge, and then switch it back to the original one.
Is there any other method (except reboot of course :D) to "revitalize" that bridge? A command to be added to pre-up/post-up would be great.


Thanks,
Michele
 

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!