Good afternoon,
I've been attempting all day to sort out LACP trunks in the most recent .ISO release of Proxmox.
I seem to be hitting the bug with bonds *always* coming up at boot in balance-rr mode, despite trying various options found both on these forums and elsewhere:
1. creating /etc/modprobe.d/bonding.conf containing:
2. Editing /etc/network/if-pre-up.d/ifenslave and adding 'sleep 2' after the bonding driver is loaded
3. Editing /etc/default/bridge-utils and changing BRIDGE_HOTPLUG to 'no'
4. using bond99 instead of bond0
5. Specifying bond mode in /etc/modprobe.d/bonding.conf, eg:
6. Varying combination of the above
Unfortunately, I'm yet to be successful in actually bringing up the bond in LACP mode on boot. It always comes up in balance-rr.
If I then 'ifdown -a; rmmod bonding, ifup bond99; ifup vmbr1' it will come up successfully in LACP with absolutely no problems.
Does anyone have the magic sauce?
Happy to post configs if required - this is an example interfaces file from one of the nodes:
Halp!
I've been attempting all day to sort out LACP trunks in the most recent .ISO release of Proxmox.
I seem to be hitting the bug with bonds *always* coming up at boot in balance-rr mode, despite trying various options found both on these forums and elsewhere:
1. creating /etc/modprobe.d/bonding.conf containing:
Code:
options bonding max_bonds=0
3. Editing /etc/default/bridge-utils and changing BRIDGE_HOTPLUG to 'no'
4. using bond99 instead of bond0
5. Specifying bond mode in /etc/modprobe.d/bonding.conf, eg:
Code:
alias bond99 bonding
options bond99 mode=4
Unfortunately, I'm yet to be successful in actually bringing up the bond in LACP mode on boot. It always comes up in balance-rr.
If I then 'ifdown -a; rmmod bonding, ifup bond99; ifup vmbr1' it will come up successfully in LACP with absolutely no problems.
Does anyone have the magic sauce?
Happy to post configs if required - this is an example interfaces file from one of the nodes:
Code:
allow-hotplug enp1s0
allow-hotplug enp2s0
auto lo
iface lo inet loopback
iface enp1s0 inet manual
bond-master bond99
iface enp2s0 inet manual
bond-master bond99
iface bond99 inet manual
bond-slaves enp1s0 enp2s0
bond-mode 802.3ad
bond-miimon 100
bond-updelay 200
bond-downdelay 200
bond-xmit-hash-policy layer3+4
bond-lacp-rate fast
auto vmbr0
iface vmbr0 inet static
address 10.0.3.76
netmask 255.255.255.0
gateway 10.0.3.1
bridge_ports bond99
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
Halp!