[Bug 1280366] Re: Bonding mode ignored
JP Espinosa
jp at pcel.com
Tue Feb 18 08:44:27 UTC 2014
temp workaround working for me:
define bondX interface BEFORE real interface:
/etc/network/interfaces
------------------------
auto bond0
iface bond0 inet manual
bond_mode 802.3ad
bond_miimon 100
bond_lacp_rate 1
bond_downdelay 100
bond_updelay 100
bond_slaves eth0 eth1
auto eth0
iface eth0 inet manual
bond-master bond0
auto eth1
iface eth1 inet manual
bond-master bond0
------------------------
And then manually bring down and up the real interface (I am using
rc.local to automate this on reboot)
/etc/rc.local
------------------------
service networking restart
ifdown eth0 || true
ifup eth0 || true
ifdown eth1 || true
ifup eth1 || true
------------------------
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifenslave-2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1280366
Title:
Bonding mode ignored
Status in “ifenslave-2.6” package in Ubuntu:
Confirmed
Bug description:
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
dmesg | grep -i bond:
[ 19.892794] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 20.158210] bonding: bond1 is being created...
[ 20.159780] bonding: bond1 is being created...
[ 20.159787] bonding: bond1 already exists.
[ 20.161217] IPv6: ADDRCONF(NETDEV_UP): bond1: link is not ready
[ 20.161612] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
[ 20.163026] bonding: bond1: Adding slave p4p3.
[ 20.312122] bonding: bond1: enslaving p4p3 as an active interface with an up link.
[ 20.312127] bonding: bond1: Adding slave p4p2.
[ 20.560093] bonding: bond1: enslaving p4p2 as an active interface with an up link.
[ 20.560097] bonding: bond0: Adding slave p2p1.
[ 21.413473] bonding: bond0: enslaving p2p1 as an active interface with an up link.
[ 21.413478] bonding: bond1: Adding slave p4p4.
[ 21.724028] bonding: bond1: enslaving p4p4 as an active interface with an up link.
[ 21.724031] bonding: bond0: Adding slave p3p1.
[ 22.569597] bonding: bond0: enslaving p3p1 as an active interface with an up link.
[ 22.570594] IPv6: ADDRCONF(NETDEV_CHANGE): bond1: link becomes ready
[ 22.570616] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
[ 22.572252] bonding: bond1: Adding slave p4p1.
[ 22.763939] bonding: bond1: enslaving p4p1 as an active interface with an up link.
[ 22.764926] bonding: bond0: setting xmit hash policy to layer2+3 (2).
[ 22.764955] bonding: bond0: Setting MII monitoring interval to 100.
[ 22.764971] bonding: bond0: Setting down delay to 100.
[ 22.764984] bonding: bond0: Setting up delay to 100.
[ 22.765013] bonding: bond1: setting xmit hash policy to layer2+3 (2).
[ 22.765048] bonding: bond1: Setting MII monitoring interval to 100.
[ 22.765070] bonding: bond1: Setting down delay to 100.
[ 22.765090] bonding: bond1: Setting up delay to 100.
[ 22.766243] bonding: bond0: unable to update mode because bond has slaves.
[ 22.772965] bonding: bond1: unable to update mode because bond has slaves.
[ 22.779884] bonding: bond0: Unable to update LACP rate because bond is not in 802.3ad mode.
[ 22.836748] bonding: bond1: Unable to update LACP rate because bond is not in 802.3ad mode.
settings in /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
#
# p2p1 is manually configured and slave to the "bond0" bonded NIC
auto p2p1
iface p2p1 inet manual
mtu 9000
bond-master bond0
# p3p1 is manually configured and slave to the "bond0" bonded NIC
auto p3p1
iface p3p1 inet manual
mtu 9000
bond-master bond0
# bond0 is the bonded NIC and can be used as any other normal NIC
# bond0 is configured using static network information
auto bond0
iface bond0 inet static
address 192.168.1.14
gateway 192.168.1.1
netmask 255.255.255.0
mtu 9000
# bond0 uses standard IEEE 802.3ad LACP bonding protocol
bond-mode 4
bond-miimon 100
bond-lacp-rate 1
bond-xmit-hash-policy layer2+3
bond-downdelay 100
bond-updelay 100
bond-slaves p2p1 p3p1
#
# p4p1 is manually configured and slave to the "bond1" bonded NIC
auto p4p1
iface p4p1 inet manual
mtu 9000
bond-master bond1
# p4p2 is manually configured and slave to the "bond1" bonded NIC
auto p4p2
iface p4p2 inet manual
mtu 9000
bond-master bond1
# p4p3 is manually configured and slave to the "bond1" bonded NIC
auto p4p3
iface p4p3 inet manual
mtu 9000
bond-master bond1
# p4p4 is manually configured and slave to the "bond1" bonded NIC
auto p4p4
iface p4p4 inet manual
mtu 9000
bond-master bond1
# bond1 is the bonded NIC and can be used as any other normal NIC
# bond1 is configured using static network information
auto bond1
iface bond1 inet static
address 192.168.0.4
netmask 255.255.255.0
mtu 9000
# bond1 uses standard IEEE 802.3ad LACP bonding protocol
bond-mode 4
bond-miimon 100
bond-lacp-rate 1
bond-xmit-hash-policy layer2+3
bond-downdelay 100
bond-updelay 100
bond-slaves p4p1 p4p2 p4p3 p4p4
---
ApportVersion: 2.13.2-0ubuntu3
Architecture: amd64
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2014-02-14 (0 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140214)
Package: ifenslave 2.4
PackageArchitecture: all
ProcVersionSignature: Ubuntu 3.13.0-8.28-generic 3.13.2
Tags: trusty
Uname: Linux 3.13.0-8-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1280366/+subscriptions
More information about the foundations-bugs
mailing list