struggling with ovs-bridge?


Jan 20, 2022
Hello together,

I have the following problem:

I want to setup my running PVE (with all the lxcs and vms) to use openvswitch-switch.
The package is already installed.

So my Network Interfaces configuration is:

enp0s31f6: setup as vmbr0 -> actually with the ip
enp1s0f0: setup as vmbr1 -> used for LAN in OPNSense
enp1s0f1: setup as vmbr2 -> used as WAN in OPNsense

So my plan is, to get everything up in running in a separate Network and getting everything through the OPNSense Firewall.

It's more Network and Proxmox related I think, other VLANs I configured are running on other switches.

What I checked out:

on my switch side:

setting my Netgear GS308E via 802.1Q to have a VLAN named "101".
port 1 -> Tagged --> from my Gateway
port 2 -> internal Network
port 3 -> Untagged for PVE
port 5+6 -> Untagged for LAN and WAN in OPNSense
PVIDs for ports 3+5+6 101

on PVE:

I tested the following interfaces configuration after reading the Documentation for it:

auto lo

iface lo inet loopback

auto enp0s31f6
iface enp0s31f6 inet manual
ovs_type OVSPort
ovs_bridge vmbr0

auto enp1s0f1
iface enp1s0f1 inet manual
ovs_type OVSPort
ovs_bridge vmbr1

auto enp1s0f0
iface enp1s0f0 inet manual
ovs_type OVSPort
ovs_bridge vmbr2

auto vlan101
iface vlan101 inet static
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=101

auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports enp0s31f6 vlan101

auto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
ovs_ports enp1s0f1

auto vmbr2
iface vmbr2 inet manual
ovs_type OVSBridge
ovs_ports enp1s0f0

source /etc/network/interfaces.d/*

But after that pve isn't responsible.
I can't really find out why.
It's the first time I tested something like this.
I would be very appreciated if you guy can help me to get it working and also getting a deeper understanding how it works.

Best regards 0zw00d


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!