kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #61090
[Bug 736226] Re: bonding inside a bridge does not work when using arp monitoring
** Changed in: linux (Ubuntu)
Assignee: Chris J Arges (arges) => (unassigned)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/736226
Title:
bonding inside a bridge does not work when using arp monitoring
Status in The Linux Kernel:
Expired
Status in “linux” package in Ubuntu:
In Progress
Status in “linux” package in Fedora:
Unknown
Bug description:
Binary package hint: ifenslave-2.6
Description: Ubuntu 10.04.2 LTS
Release: 10.04
ifenslave-2.6:
Installed: 1.1.0-14ubuntu2.1
Candidate: 1.1.0-14ubuntu2.1
Version table:
*** 1.1.0-14ubuntu2.1 0
500 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
100 /var/lib/dpkg/status
1.1.0-14ubuntu2 0
500 http://ca.archive.ubuntu.com/ubuntu/ lucid/main Packages
Overview:
Bonding + bridge does not work when bonding mode is set to active-
backup and arp monitoring is enabled. (bond_arp_ip_target and
bond_arp_interval)
Reproducible: 100%
1. Install ifenslave
$ sudo apt-get install ethtool
2. Install bridge utils
$ sudo apt-get install bridge-utils vlan
3. Use the following /etc/network/interfaces sample.
auto lo
iface lo inet loopback
auto bond0
iface bond0 inet manual
post-up ifconfig $IFACE up
pre-down ifconfig $IFACE down
bond-slaves none
bond-mode active-backup
bond_arp_ip_target 10.153.107.1
bond_arp_interval 100
auto eth0
allow-bond0 eth0
iface eth0 inet manual
bond-master bond0
auto eth1
allow-bond0 eth1
iface eth1 inet manual
bond-master bond0
auto bond0.100
iface bond0.100 inet manual
post-up ifconfig $IFACE up
pre-down ifconfig $IFACE down
vlan-raw-device bond0
auto bond0.200
iface bond0.200 inet manual
post-up ifconfig $IFACE up
pre-down ifconfig $IFACE down
vlan-raw-device bond0
auto br0
iface br0 inet static
address 10.153.107.110
netmask 255.255.255.0
gateway 10.153.107.1
bridge_ports bond0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
auto br0-100
iface br0-100 inet manual
post-up ifconfig $IFACE up
pre-down ifconfig $IFACE down
bridge_ports bond0.100
bridge_stp off
bridge_fd 0
bridge_maxwait 0
auto br0-200
iface br0-200 inet manual
post-up ifconfig $IFACE up
pre-down ifconfig $IFACE down
bridge_ports bond0.200
bridge_stp off
bridge_fd 0
bridge_maxwait 0
Reboot the server. You won't be able to ping the br0 interface
anymore.
Workaround:
Disable bond_arp_ip_target and bond_arp_interval and use MII
monitoring. As follow below:
auto lo
iface lo inet loopback
auto bond0
iface bond0 inet manual
post-up ifconfig $IFACE up
pre-down ifconfig $IFACE down
bond-slaves none
bond-mode active-backup
bond_arp_ip_target 10.153.107.1
bond_arp_interval 100
auto eth0
allow-bond0 eth0
iface eth0 inet manual
bond-master bond0
auto eth1
allow-bond0 eth1
iface eth1 inet manual
bond-master bond0
auto bond0.100
iface bond0.100 inet manual
post-up ifconfig $IFACE up
pre-down ifconfig $IFACE down
vlan-raw-device bond0
auto bond0.200
iface bond0.200 inet manual
post-up ifconfig $IFACE up
pre-down ifconfig $IFACE down
vlan-raw-device bond0
auto br0
iface br0 inet static
address 10.153.107.110
netmask 255.255.255.0
gateway 10.153.107.1
bridge_ports bond0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
auto br0-100
iface br0-100 inet manual
post-up ifconfig $IFACE up
pre-down ifconfig $IFACE down
bridge_ports bond0.100
bridge_stp off
bridge_fd 0
bridge_maxwait 0
auto br0-200
iface br0-200 inet manual
post-up ifconfig $IFACE up
pre-down ifconfig $IFACE down
bridge_ports bond0.200
bridge_stp off
bridge_fd 0
bridge_maxwait 0
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ifenslave-2.6 1.1.0-14ubuntu2.1
ProcVersionSignature: Ubuntu 2.6.32-29.58-server 2.6.32.28+drm33.13
Uname: Linux 2.6.32-29-server x86_64
Architecture: amd64
Date: Wed Mar 16 12:10:55 2011
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ifenslave-2.6
---
AlsaDevices:
total 0
crw-rw---T 1 root audio 116, 1 Jan 11 15:35 seq
crw-rw---T 1 root audio 116, 33 Jan 11 15:35 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
CurrentDmesg: [ 20.512006] eth0: no IPv6 routers present
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=638d7f01-7816-4a20-88fc-0d4f2819d96c
IwConfig:
lo no wireless extensions.
eth1 no wireless extensions.
eth0 no wireless extensions.
MachineType: HP ProLiant DL380 G5
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
LANGUAGE=en_CA:en
PATH=(custom, no user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-7-generic root=/dev/mapper/srv--bonding-root ro quiet
ProcVersionSignature: Ubuntu 3.2.0-7.13-generic 3.2.0-rc7
RelatedPackageVersions:
linux-restricted-modules-3.2.0-7-generic N/A
linux-backports-modules-3.2.0-7-generic N/A
linux-firmware 1.67
RfKill: Error: [Errno 2] No such file or directory
Tags: precise
Uname: Linux 3.2.0-7-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-01-05 (5 days ago)
UserGroups:
dmi.bios.date: 07/10/2009
dmi.bios.vendor: HP
dmi.bios.version: P56
dmi.chassis.type: 23
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:bvrP56:bd07/10/2009:svnHP:pnProLiantDL380G5:pvr:cvnHP:ct23:cvr:
dmi.product.name: ProLiant DL380 G5
dmi.sys.vendor: HP
To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/736226/+subscriptions