Comment 9 for bug 1337873

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote : Re: Precise, Trusty, Utopic - ifupdown initialization problems caused by race condition

Lets try adding "bond-slaves" to the master interface and fixing
the "bond-primary" keyword:

---
root@provisioned:~# cat /etc/network/interfaces
# /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet manual
    bond-master bond0

auto eth2
iface eth2 inet manual
    bond-master bond0

auto bond0
iface bond0 inet static
    bond-mode 1
    bond-miimon 100
    bond-primary eth1
    bond-slaves eth1 eth2
    address 192.168.169.1
    netmask 255.255.255.0
    broadcast 192.168.169.255
---

Still nothing...

---
root@provisioned:~# ifconfig bond0
bond0 Link encap:Ethernet HWaddr 62:64:29:45:df:ef
          BROADCAST MASTER MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@provisioned:~# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: load balancing (round-robin)
MII Status: down
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
---