Migration of openvswitch config to Linux Bond / Bridge

ionfan

Member
Aug 3, 2021
1
0
6
74
Hello,
at the beginning of my proxmox-steps i learned to use openvswitch instead of the built in linux bridges and bonds because my setup seemed that it could not be mapped on a simple linux bridge/bond config.
But now i read that there have many things changed in the last updates and i want to migrate my configuration from openvswitch to the native linux one. Also because of fear to loose the connection when upgrading to PVE 7.0 and also for simplicity.
My config is as the following:
- 2 NICs in a bond with LACP (L3_L4 Hashing)
- all vlans tagged on that bond
- vlan 77 is where the management-ip of proxmox need to be configured
- all vlans must be assignable to vms and lxcs

My current config is here:
Code:
allow-vmbr0 bond0
iface bond0 inet manual
    ovs_bonds enp35s0 enp36s0
    ovs_type OVSBond
    ovs_bridge vmbr0
    ovs_options bond_mode=balance-tcp lacp=active

auto lo
iface lo inet loopback

iface enp35s0 inet manual

iface enp3s0f0u14u2c2 inet manual

iface enp36s0 inet manual

allow-vmbr0 vlan77
iface vlan77 inet static
    address  192.168.77.40
    netmask  24
    gateway  192.168.77.1
    ovs_type OVSIntPort
    ovs_bridge vmbr0
    ovs_options tag=77

allow-ovs vmbr0
iface vmbr0 inet manual
    ovs_type OVSBridge
    ovs_ports bond0 vlan77

Can you tell me how to convert this into native linux bridges? I read several threads about this but became more and more insecure about what concept to use.
Thank you for your help!
Regards
Ionfan
 
hi, something like

Code:
auto bond0
iface bond0 inet manual
      bond-slaves enp35s0 enp36s0
      bond-miimon 100
      bond-mode 802.3ad
      bond-xmit-hash-policy layer3+4

auto vmbr0
iface vmbr0 inet manual
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

auto vmbr0.77
iface vmbr0.77 inet static
        address  192.168.77.40/24
        gateway  192.168.77.1
 

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!