Enhance OVS config with bond 802.3ad

cmonty14

Well-Known Member
Mar 4, 2014
343
5
58
Hello,

I have a (working) OVS config with 1 bridge + 3 VLANs:
Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

auto enp1s0f1
iface enp1s0f1 inet manual

auto eno1
iface eno1 inet manual
        ovs_type OVSPort
        ovs_bridge vmbr0

auto enp1s0f0
iface enp1s0f0 inet manual
        ovs_type OVSPort
        ovs_bridge vmbr1
        ovs_options tag=1 trunks=10,100 vlan_mode=native-untagged

auto vlan1
iface vlan1 inet static
        address 192.168.1.14/24
        gateway 192.168.1.1
        ovs_type OVSIntPort
        ovs_bridge vmbr1
        ovs_options tag=1
        ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
#LAN

auto vlan10
iface vlan10 inet static
        address 10.0.0.253/24
        ovs_type OVSIntPort
        ovs_bridge vmbr1
        ovs_options tag=10
        ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
#DMZ

auto vlan100
iface vlan100 inet static
        address 192.168.100.253/24
        ovs_type OVSIntPort
        ovs_bridge vmbr1
        ovs_options tag=100
        ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
#VM-Network

auto vmbr1
iface vmbr1 inet manual
        ovs_type OVSBridge
        ovs_ports enp1s0f0 vlan1 vlan10 vlan100

auto vmbr0
iface vmbr0 inet manual
        address 192.168.0.14/28
        ovs_type OVSBridge
#Mgmt-Network

Now I want to enhance this OVS config with a bond 802.3ad using interface enp1s0f1.
This means a bond using enp1s0f0 and enp1s0f1 that will be part of the vmbr1 bridge.

I was checking the related wiki page, but I'm not sure how to configure the interfaces incl. vlan.
And what must be added if mtu=9000 should be included?

Please advise for the correct configuration.

THX
 
auto bond0
iface bond0 inet manual
ovs_bonds enp3s0f0 enp3s0f1
ovs_type OVSBond
ovs_bridge vmbr1
ovs_options lacp=active bond_mode=balance-tcp

auto vlan4000
iface vlan4000 inet static
address 192.168.100.xxx/24
ovs_type bond0
ovs_bridge vmbr1
ovs_options tag=4000
ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif

uto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
ovs_ports vlan4000

https://docs.openvswitch.org/en/latest/topics/dpdk/jumbo-frames/
Good link for that

EDIT
NOTE: Open vSwitch does not currently allow a bond to participate in RSTP.
 
Last edited:
  • Like
Reactions: RubenCh00

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!