bonding inside a bridge does not work when using arp monitoring
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Expired
|
Medium
|
|||
linux (Fedora) |
Won't Fix
|
High
|
|||
linux (Ubuntu) |
In Progress
|
Medium
|
Unassigned |
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://
100 /var/lib/
1.
500 http://
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/
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_
bond_
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_
bond_
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
ProcVersionSign
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=
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=
ProcVersionSign
RelatedPackageV
linux-
linux-
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:
dmi.product.name: ProLiant DL380 G5
dmi.sys.vendor: HP
affects: | ifenslave-2.6 (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
tags: | added: kernel-key |
Changed in linux (Ubuntu): | |
status: | Confirmed → Triaged |
tags: | removed: kernel-key |
description: | updated |
tags: | added: kernel-bug-exists-upstream kernel-da-key |
Changed in linux: | |
status: | Confirmed → Expired |
Changed in linux (Ubuntu): | |
assignee: | nobody → Chris J Arges (christopherarges) |
Changed in linux (Ubuntu): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu): | |
assignee: | Chris J Arges (arges) → nobody |
Changed in linux (Fedora): | |
importance: | Unknown → High |
status: | Unknown → Won't Fix |
There is a reported patch for this problem on: http:// kerneltrap. org/mailarchive /linux- netdev/ 2010/4/ 28/6275890 /bugzilla. redhat. com/show_ bug.cgi? id=584872
Please read redhat's related bug: https:/