Linux Ethernet Bonding – WTH?!

Posted: June 13, 2011 in Networking

While bonding 4 ethernet nics in my RHEL 5 server, I noticed the bond interface failing with no errors.  Through trial and error, I found that mode 4 or LACP (802.3ad),  is only supported with two nics.  All other modes (which IMO suck), support 4 nics.  Nice undocumented feature.

cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.4.0-1 (October 7, 2008)

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

802.3ad info
LACP rate: slow
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 2
Actor Key: 17
Partner Key: 299
Partner Mac Address: 00:16:b9:6a:09:c0

Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:25:b3:ab:56:34
Aggregator ID: 1

Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:25:b3:ab:56:36
Aggregator ID: 1

For more on Linux ethernet bonding…

http://backdrift.org/howtonetworkbonding

http://wiki.centos.org/TipsAndTricks/BondingInterfaces

 

Advertisements
Comments
  1. AnonymousGuy says:

    RHEL 6.1 is out now. Have you managed to test out (mode 4 or LACP (802.3ad)) with 4 NICs? Keen to know

  2. Sbobet says:

    Pretty section of content. I simply stumbled upon your
    site and in accession capital to say that I acquire actually
    loved account your weblog posts. Anyway I’ll be subscribing for your feeds
    and even I success you get right of entry to consistently
    quickly.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s