Removing STP from OVS bridge

vertigo2049

Active Member
Jul 24, 2018
17
0
41
47
What is the best way to restart the OVS bridge after removing STP?

Bash:
auto vmbr1
iface vmbr1 inet static
    address  10.0.70.xxx
    netmask  255.255.255.0
    ovs_type OVSBridge
        mtu 1450
        post-up ovs-vsctl set bridge vmbr1 stp_enable=true
        post-up ovs-vsctl add-port vmbr1 gre0 -- set interface gre0 type=gre options:remote_ip='xxx.xxx.xxx.xxx'
        post-up ovs-vsctl add-port vmbr1 gre1 -- set interface gre1 type=gre options:remote_ip='yyy.yyy.yyy.yyy'
        post-up ovs-vsctl add-port vmbr1 gre2 -- set interface gre2 type=gre options:remote_ip='zzz.zzz.zzz.zzz'

I was thinking;
ovs-vsctl del-br vmbr1 ovs-vsctl add-br vmbr1
 
Last edited:
I answer my own question:

Only way to make this happen cleanly was to remove the line from the interfaces file on each node and reboot.
Trying to interact with OVS via the CLI just caused problems.
 

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!