Dropped packets with bonded interface

Albert Chin ubuntu-server at mlists.thewrittenword.com
Sun Nov 13 18:10:27 UTC 2011


On Sat, Nov 12, 2011 at 04:07:22AM -0600, Albert Chin wrote:
> On Sat, Nov 12, 2011 at 01:49:40PM +1100, James Gray wrote:
> > The dropped packets on bond0 are probably control packets the kernel
> > is ignoring because you haven't enslaved any interfaces.  Which
> > leads to question 2.  Try modifying the "iface bond0" stanza in
> > /etc/network/interfaces:
> > 
> > auto bond0
> > iface bond0 inet manual
> >   bond-slaves eth2 eth3   # No slaves == nothing for bond0 to bind to!
> >   bond_mode 802.3ad
> >   bond_miimon 100
> > 
> > You might want to add an "updelay" in there too if your interfaces
> > take a little while to synchronise with the switch (easy for the
> > switch to block the port until spanning tree has done its thing
> > unless you've specify "portfast" on the switch port).  Then bounce
> > the network and see what happens.  When it's all running properly,
> > you should see something like this:
> 
> Thanks. I tried that but it didn't work. ...
> [[ snip snip ]]
> 
> What's odd is that after the system comes up with the above config, if
> I do the following:
>   # ip link set dev bond0 up 
>   # ifenslave bond0 eth2 eth3
>   # ifconfig bond0 10.191.62.2 netmask 255.255.255.0
>   # ifconfig bond0
>   bond0     Link encap:Ethernet  HWaddr 00:1b:21:b7:21:ea  
>             inet addr:10.191.62.2  Bcast:10.191.62.255 Mask:255.255.255.0
>             inet6 addr: fe80::21b:21ff:feb7:21ea/64 Scope:Link
>             UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
>             RX packets:17 errors:0 dropped:17 overruns:0 frame:0
>             TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
>             collisions:0 txqueuelen:0 
>             RX bytes:2108 (2.1 KB)  TX bytes:3126 (3.1 KB)
> 
>   # cat /proc/net/bonding/bond0
>   [[ output snipped ]]
> 
> So it seems something odd is going on. Notice that I continue to get
> dropped packets after this "working" config.

I filed a bug. Looks like others are experiencing this as well.
  https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/889423/

-- 
albert chin (china at thewrittenword.com)




More information about the ubuntu-server mailing list