Interface already exist in bridge

tangiv

Active Member
Jun 4, 2019
6
0
41
31
Hello,

I experiencing issues configuring a VM with a NIC tag with VLAN 100 on vmbr0 :
interface bond1.100 already exist in bridge mgmt
kvm: network script /var/lib/qemu-server/pve-bridge failed with status 6400

After a reboot I can now start the VM with a NIC in VLAN 100 but :
  • two VMs with a NIC in VLAN 100 can't communicate
  • a VM can't communicate with another "real" equipment in VLAN 100
  • from my laptop in VLAN 100 I can join the Proxmox WebUI also in VLAN 100
  • others VLANs works well

Code:
auto lo
iface lo inet loopback

iface enp7s0f0 inet manual
iface enp7s0f1 inet manual

#PCI
iface enp4s0f0 inet manual
iface enp4s0f1 inet manual

# STORAGE
auto bond0
iface bond0 inet static
    address  192.168.50.100
    netmask  255.255.255.0
    bond-slaves enp4s0f0 enp4s0f1
    bond-miimon 100
    bond-mode 802.3ad
    bond-xmit-hash-policy layer2+3

auto bond1
iface bond1 inet manual
    bond-slaves enp7s0f0 enp7s0f1
    bond-miimon 100
    bond-mode 802.3ad
    bond-xmit-hash-policy layer2+3
#BOND TRUNK

iface bond1.100 inet manual

auto mgmt
iface mgmt inet static
    address  192.168.100.100
    netmask  255.255.255.0
    gateway  192.168.100.1
    bridge_ports bond1.100
    bridge_stp off
#MGMT

auto vmbr0
iface vmbr0 inet manual
    bridge-ports bond1
    bridge-stp off
    bridge-fd 0
#TRUNK

I'm missing something I don't know what.

Thanks for your help
 
iface bond1.100 inet manual

auto mgmt
iface mgmt inet static
address 192.168.100.100
netmask 255.255.255.0
gateway 192.168.100.1
bridge_ports bond1.100
bridge_stp off
#MGMT

Configure management network rather as follows:

Code:
auto vmbr0.100
iface vmbr0.100 inet static
   address  192.168.100.100
   netmask  255.255.255.0
   gateway 192.168.100.1

and set "vlan-aware" for vmbr0.