Comment 18 for bug 889423

Revision history for this message
Albert Chin (bugs-ubuntu-vendor) wrote :

I now have the following in /etc/network/interfaces:
auto bond0
iface bond0 inet manual
  bond-slaves none
  bond-mode 802.3ad
  bond-lacp_rate slow
  bond-miimon 100
  bond-updelay 200

auto eth2
iface eth2 inet manual
  bond-master bond0

auto eth3
iface eth3 inet manual
  bond-master bond0

When I reboot the system, I have:
% ifconfig bond0
bond0 Link encap:Ethernet HWaddr 00:1b:21:d3:f6:0b
          BROADCAST MASTER MULTICAST MTU:1500 Metric:1
          RX packets:318 errors:0 dropped:318 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:39432 (39.4 KB) TX bytes:0 (0.0 B)

% ifconfig eth2
eth2 Link encap:Ethernet HWaddr 00:1b:21:d3:f6:0b
          UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
          RX packets:161 errors:0 dropped:161 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19964 (19.9 KB) TX bytes:0 (0.0 B)
          Memory:b1a80000-b1b00000

% ifconfig eth3
eth3 Link encap:Ethernet HWaddr 00:1b:21:d3:f6:0b
          UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
          RX packets:163 errors:0 dropped:163 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20212 (20.2 KB) TX bytes:0 (0.0 B)
          Memory:b1a00000-b1a80000

% cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: down
MII Polling Interval (ms): 100
Up Delay (ms): 200
Down Delay (ms): 0

802.3ad info
LACP rate: slow
Aggregator selection policy (ad_select): stable
bond bond0 has no active aggregator

Slave Interface: eth3
MII Status: down
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:1b:21:d3:f6:0b
Aggregator ID: N/A
Slave queue ID: 0

Slave Interface: eth2
MII Status: down
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:1b:21:d3:f6:0a
Aggregator ID: N/A
Slave queue ID: 0