bridge_ports: is already used on interface 'bond0'.

jmorfali

Member
Jan 29, 2020
11
4
8
43
Hello,

I have a dedicated server at OVH with Proxmox installed on it. There are 4 network cards on it. two for the public network and two for the private network (VRack). I made a modification in the network configuration to add a FailOver IP address for a VM. It worked well. But there, I am not able to operate the private network.
Now when I want to make a modification in the Network from the GUI I have this error message, I have this error message:

Parameter verification failed. (400)
bridge_ports: enp24s0f1np1 is already used on interface 'bond0'.

I can't delete add or edit anything. Do you have any idea why?

Thanks very much

Here is my network configuration:

Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

auto enp24s0f0np0
iface enp24s0f0np0 inet manual
        bond-master bond0

iface enxba1460376261 inet manual

auto enp24s0f1np1
iface enp24s0f1np1 inet manual
        bond-master bond0

auto enp175s0f0np0
iface enp175s0f0np0 inet manual
        #bond-master bond0

auto enp175s0f1np1
iface enp175s0f1np1 inet manual
        #bond-master bond0

auto bond0
# Agrégat LACP sur les interfaces publiques
# configuré en mode DHCP sur cet exemple
# Porte l'IP Publique du serveur
iface bond0 inet static
    bond-slaves enp24s0f0np0 enp24s0f1np1
    bond-miimon 100
    bond-mode 802.3ad
    hwaddress 10:00:00:00:00:00

##############################
###############################

auto vmbr0

iface vmbr0 inet dhcp
    bridge-ports bond0
    bridge-stp off
    bridge-fd 0
    hwaddress 10:00:00:00:00:00

post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up ip route add 51.222.222.222/32 dev vmbr0
iface vmbr0 inet static
        address 15.222.222.222/32
        gateway 15.222.222.254
        bridge-ports enp24s0f0np0
        bridge-stp off
        bridge-fd 0

#################
################

auto vmbr1
iface vmbr1 inet static
        address 10.0.0.1/8
        bridge-ports enp24s0f1np1
        bridge-stp off
        bridge-fd 0
 
You are using the NIC enp24s0f1np1 in vmbr1 when it is used by bond0 already. There are also two definitions for vmbr0 (this can be ok, but just wanted to point it out if it is accidental).

Also in your post-up you are using 51.222.222.222/32 but on vmbr0 you are configuring 15.222.222.222/32
 
Last edited:

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!