Issues with bonding

cpt22

New Member
Jul 19, 2020
2
0
1
24
When trying to configure bonds in PBS, the error below is shown.Screen Shot 2020-07-20 at 5.28.00 PM.png

I am able to bypass the issue by configuring directly in /etc/network/interfaces however upon trying to make edits in the web GUI I am shown this error.
Screen Shot 2020-07-20 at 5.37.36 PM.png


Here is the contents of my /etc/network/interfaces

Code:
auto lo
iface lo inet loopback

auto eno1.15
iface eno1.15 inet static
        address 192.168.15.20/24
        gateway 192.168.15.1

auto bond0
iface bond0
        bond-slaves enp9s0f0 enp9s0f1
        bond-mode 802.3ad
        bond-miimon 100
        bond-use-carrier 1
        bond-lacp-rate 1
        bond-min-links 1
        bond-xmit-hash-policy layer2+3

auto bond0.20
iface bond0.20 inet static
        address 192.168.20.20/24

iface eno2 inet manual
#iface enp9s0f0 inet manual
#iface enp9s0f1 inet manual
iface enp9s0f2 inet manual
iface enp9s0f3 inet manual
 
here to get bonding to work had to install a package:
Code:
apt install ifenslave

I am not sure that will fix your issue but it is worth a try.
 
It works the UI is just broken / it installs ifupdown2 by default



auto lo
iface lo inet loopback

iface enp7s0f0 inet manual

iface enp7s0f1 inet manual

iface enp6s0f0 inet manual

iface enp6s0f1 inet manual

iface enp2s0f1 inet manual

iface enp2s0f0 inet manual

auto bond0
iface bond0 inet static
address xxxxxx/xxxxx
gateway xxxxxxx
bond-mode 802.3ad
bond-slaves enp2s0f0 enp2s0f1
mtu 9000

auto bond1
iface bond1 inet static
address xxxxx/xxxx
bond-mode 802.3ad
bond-slaves enp6s0f0 enp6s0f1 enp7s0f0 enp7s0f1
mtu 9000
 

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!