proxmox 4.1 bonding not functioning

Rudi Swennen

Member
May 14, 2014
24
0
21
Heverlee, Belgium
Hello,

I'm running the latest proxmox and bonding is not functioning.
If I reboot the server not bond0 interface is found.
I have the following /etc/networking/interfaces-file:
auto lo

iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
iface eth3 inet manual
iface eth4 inet manual
iface eth5 inet manual
iface eth0.950 inet manual
vlan-raw=device eth0

iface bond0 inet manual
slaves eth2 eth4
bond_miimon 100
bond_mode 802.3ad
bond_xmit_hash_policy layer3+4

auto vmbr950
iface vmbr950 inet static
address X.Y.Z.A
netmask 255.255.255.0
gateway A.A.A.A
bridge_ports eth0.950
bridge_stp off
bridge_fd 0

auto vmbr0
iface vmbr0 inet manual
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr2
iface vmbr2 inet static
address X.Y.Z.A
netmask 255.255.255.0
bridge_ports bond0
bridge_stp off
bridge_fd 0

No bonding kernel module is loaded even after a reboot.
Is there something I'm doing wrong (apart from the IP's I X.Y.Z.A'ed them :) )

kr,

Rudi
 
modprobe bonding
ifup bond0​

if you want it at boot, put auto bond0 in the proper stanza :) it may also work if you prefer not to auto bond0 if you put the line

pre-up modprobe bonding
pre-up ifup bond0​

in your vmbr2 stanza.

Lastly, the gui messes up interface order for elements not in its scope (eg vlans.) this can and does result in non functioning interfaces if you do any interfaces changes in the GUI. Consider leaving vlans out of your interfaces file and use the VLAN assignment when you create VMs if its only a few vms.
 

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!