kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #53318
[Bug 1041070] Re: 802.3ad bond interface have show high RX dropped packets
This is related to the bonding mode and _not_ a bug. The bonding module
will drop duplicate frames received on inactive ports, which is normal
behavior. [0] Overall the packets should be getting into the machine
without problems since they are received on the active slave. To confirm
this do the following
1) Check dropped packets from all interfaces. So if eth0/eth1 are connected to bond0, we may see dropped packets for bond0 and eth0, but not for eth1. This depends on which interface is the active interface. This can be checked using the following:
cat /sys/class/net/bond0/bonding/active_slave
So if the active_slave isn't dropping packets, and the inactive slave is
dropping packets this is normal in 'active-backup' mode (or any mode
where there is an inactive slave).
2) If we want both interfaces to not drop packets we can use 'all_slaves_active' bonding module parameter [0].
Check:
cat /sys/class/net/bond0/bonding/all_slaves_active, it should default to 0 which means drop frames on the inactive slave.
If we set this to 1, we will no longer drop frames:
echo 1 | sudo tee /sys/class/net/bond0/bonding/all_slaves_active
** Changed in: linux (Ubuntu)
Status: Expired => Invalid
--
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/1041070
Title:
802.3ad bond interface have show high RX dropped packets
Status in “bridge-utils” package in Ubuntu:
Invalid
Status in “linux” package in Ubuntu:
Invalid
Bug description:
On Ubuntu 12.04.1 LTS
With the following networks settings:
/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
# Network: instances
# Bonding
auto eth2
iface eth2 inet manual
bond-master bond0
auto eth4
iface eth4 inet manual
bond-master bond0
auto bond0
iface bond0 inet manual
bond-mode 802.3ad
bond-miimon 100
bond-lacp-rate 1
bond-slaves none
The RX packets drop counter increase very fast:
bond0 Link encap:Ethernet HWaddr 00:10:18:e0:5e:a4
inet6 addr: fe80::210:18ff:fee0:5ea4/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:5912 errors:0 dropped:3223 overruns:0 frame:0
TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:585020 (585.0 KB) TX bytes:13804 (13.8 KB)
All packages are up to date:
uname -a
Linux std006 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
apt-cache policy ifenslave-2.6
ifenslave-2.6:
Installed: 1.1.0-19ubuntu5
Candidate: 1.1.0-19ubuntu5
Version table:
*** 1.1.0-19ubuntu5 0
500 http://10.5.0.1/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
---
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
DistroRelease: Ubuntu 12.04
Package: bridge-utils 1.5-2ubuntu6
PackageArchitecture: amd64
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm-256color
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Tags: precise
Uname: Linux 3.2.0-29-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1041070/+subscriptions