openvswitch - port not added

Hyien

Member
Jun 18, 2021
95
2
13
34
i have the following in /etc/network/interfaces

auto eno1
iface eno1 inet manual

auto vmbr0
allow-ovs vmbr0
iface vmbr0 inet static
ovs_type OVSBridge
ovs_ports eno1
address 192.16.0.2/24
gateway 192.16.0.1

but when my system comes up, eno1 is not added to vmbr0
i have to manually add it with
ovs-vsctl add-port vmbr0 eno1

how do i fix this?
 
so what's ovs_ports for then?
i set the phy interface as an OVSPort and commented out ovs_port and it seems to work.
 

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!