Understanding NIC Bonding with Linux

Written By
Web Webster
Web Webster
Dec 3, 2009

[ Thanks to Michael
Hall
for this link. ]

“Most administrators assume that bonding multiple network cards
together instantly results in double the bandwidth and
high-availability in case a link goes down. Unfortunately, this is
not true. Let’s start with the most common example, where you have
a server with high network load, and wish to allow more than
1Gb/s.

“Bonding With 802.3Ad

“You connect two interfaces to your switch, enable bonding, and
discover half your packets are getting lost. If Linux is configured
for 802.3ad link aggregation, the switch must also be told about
this. In the Cisco world, this is called an EtherChannel. Once the
switch knows those two ports are actually supposed to use 802.3ad,
it will load balance the traffic destined for your attached
server.

“This works great if a large number of network connections from
a diverse set of clients are connecting. If, however, the majority
of the throughput is coming from a single server, you won’t get
better than the 1Gb/s port speed. Switches are load balancing based
on the source MAC address by default, so if only one connection
takes place, it always gets sent down the same link. Many switches
support changing of the load balancing algorithm, so if you fall
into the single server-to-server category, make sure you allow it
to round-robin the Ethernet frames.”

Advertisement


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.