openvswitch - port not added

Hyien

Member
Jun 18, 2021
95
3
13
35
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.