Bridge not startup at boot (openvswitch)

effem

Member
Oct 14, 2010
9
0
21
Hi,
I no longer really know where to look :-(
vmbr0 and vlan99 not start at boot...
Proxmox 5.3.9
Last Debian 9.7 (Proxmox installed from repository)
Code:
openvswitch-common:
  Installato: 2.7.0-3
  Candidato:  2.7.0-3
  Tabella versione:
 *** 2.7.0-3 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages


My interfaces:
Code:
allow-vmbr0 bond0
iface bond0 inet manual
        ovs_bonds eno1 eno2
        ovs_type OVSBond
        ovs_bridge vmbr0
        ovs_options bond_mode=active-backup

allow-vmbr1 bond1
iface bond1 inet manual
        ovs_bonds eno3
        ovs_type OVSBond
        ovs_bridge vmbr1
        ovs_options bond_mode=active-backup

auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

allow-vmbr0 vlan99
iface vlan99 inet static
        address  192.168.99.4
        netmask  255.255.255.0
        gateway  192.168.99.1
        ovs_type OVSIntPort
        ovs_bridge vmbr0
        ovs_options tag=99

auto vmbr0
iface vmbr0 inet manual
        ovs_type OVSBridge
        ovs_ports bond0 vlan99

auto vmbr1
iface vmbr1 inet manual
        ovs_type OVSBridge
        ovs_ports bond1

auto vmbr2
iface vmbr2 inet manual
        ovs_type OVSBridge

source /etc/network/interfaces.d/*

Help me,
Francesco
 
Hi Francesco,
at the first look, it's seems that the lines
Code:
allow-ovs vmbr0
allow-ovs vmbr1
are missing.

And do you forgot eno4 at bond1? An bond with one interface only makes no sense for me.

Udo