Sheep Guarding Llama
Scott Alan Miller :: A Life Online

Linux Bonding Modes

January 22nd, 2008 by Scott Alan Miller

When bonding Ethernet channels in Linux there are several modes that can be chosen that affect the way in which the bonding will occur. These modes are enumerated from zero to six. Let’s look briefly at each and see how they differ. Remember that when looking at these modes that bonding can include two or more Ethernet channels. It is not limited to just two.

The mode is set view the modprobe command or, more commonly, is simply inserted into the /etc/modprobe.conf (or /etc/modules.conf) configuration file so that it is configured every time that the Linux Bonding Driver is initialized.

Mode 0: Round Robin.  Transmissions are load balanced by sending from available interfaces sequentially packet by packet.  Transmissions only are load balanced.  Provides load balancing and fault tolerance.

Mode 1: Active-Backup. This is the simplest mode of operation for bonding. Only one Ethernet slave is active at any one time. When the active connection fails another slave is chosen to take over as the active slave and the MAC address is transferred to that connection. The switch will effectively view this the same as if the host was disconnected from one port and then connected to another port. This mode provides fault tolerance but does not provide any increase in performance.

Mode 2: Balanced XOR. This is a simple form of load balancing using the XOR of the MAC addresses of the host and the destination. It works in general fairly well but always sends the packets through the same channel when sending to the same destination. This means that it is relatively effective when communicating with a large number of different remote hosts but loses effectiveness as the number decreases becoming worthless as the value becomes one. This mode provides fault tolerance and some load balancing.

Mode 3: Broadcast. This mode simply uses all channels to mirror all transmissions. It does not provide any load balancing but is for fault tolerance only.

Mode 4: IEEE 803.ad Dynamic Link Aggregation. This mode provides fault tolerance as well as load balancing. It is highly effective but requires configuration changes on the switch and the switch must support 802.3ad Link Aggregation.

Mode 5: Adaptive Transmit Load Balancing. This mode provides fault tolerance and transmit (out going) load balancing. It provides no receiving load balancing.  This mode does not require any configuration on the switch.  Ethtool support is required in the network adapter (NIC) driver.

Mode 6: Adaptive Load Balancing.  Like mode five but provides fault tolerance and bidirectional load balancing.  The transmit load balancing is identical but receipt load balancing is accomplished by ARP trickery.

Posted in Tech

3 Responses

  1. Sheep Guarding Llama » How-To Simple Linux Bonding

    [...] line. In our example we are going to use the very simple “Mode 6″ bonding method. (Learn about Linux Bonding Modes.) This type of bonding requires no support from your switch which makes it very easy to use. I [...]

  2. Linux Bonding Modes « Geekzine.org

    [...] Linux Bonding Modes January 22nd, 2008 by Scott Alan Miller From: http://www.sheepguardingllama.com/?p=2231 [...]

  3. Luiz (fl0cker) Blog » Configurando bonding de rede no Oracle Linux

    [...] 1 – http://lists.us.dell.com/pipermail/oraclesolutions/2008-March/000005.html 2 – http://www.sheepguardingllama.com/2008/01/linux-bonding-modes/ 3 – [...]

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

 
  • Buy Cheap valium with no prescription Now Low Prices. Discount Online Pharmacy Shopping.
  • Buy Cheap cialis use Online Online Prices For cialis use! Best Prices.
  • Buy Cheapest buying medicine no prescription Now Cheap Pharmacy Online. Top Online Pharmacy.
  • Buy Cheap ambien 10mg ambien Now Discount Online Pharmacy. Guaranteed Shipping.
  • Buy Cheapest valium high Online Best Internet. Discount Online Pharmacy.
  • Buy Cheap drugs for muscle spasms Now The Largest Internet Pharmacy. Best Prices.
  • nexium canada Online Without Prescription Best Online. Pharmacy Store.
  • Buy Cheap norvasc 10mg Now 24/Online Pharmacy. Buy Medications Online.
  • Buy Cheap info ultram Now Pharmacy At The Best Price! Best Online.
  • Buy drugs without prescription foreign pharmacies Without Prescription Doctor. Pharmacy Store. Low Prices.
  • Buy Cheap tablet viagra Online Top Online Pharmacy. Cheap Online Pharmacy.
  • Buy Cheapest prescription for pain medication Online Low Prices. 24/Online Pharmacy.
  • Buying Cheap phentermine 37.5mg. Offshore Rx, Good Prices. Guaranteed Shipping.
  • Buy Cheap depression antidepressants Online Cheap Pharmacy Online. Guaranteed Shipping.
  • Buy fat burn appetite suppress Without Prescription Doctor. Best Prices. Best Internet.
  • Buy Cheapest pain products Now Best Prices. Buy Medications Online.
  • Buy Cheap phentermine capsules Now Bonus Pills And Reorder Discounts! Low Prices.
  • Buy Cheap fda approved joint pain medications Online Special Prices For fda approved joint pain medications! Best Online.
  • Buy Cheap how to buy prescription medications online Online The Largest Internet Pharmacy. Best Online.
  • Buy Cheap acetaminophen codeine Online Best Online. Internet Prices For acetaminophen codeine!
  • Buy Cheap levitra experience Now Cheap Online Pharmacy. Top Online Pharmacy.
  • Buy Cheap benicar generic Now Drugs, Health And Beauty. Guaranteed Shipping.
  • Buy Cheap diflucan over the counter Online Pharmacy Store. Discount Pharmacy Online.
  • Buy Cheap cheap 37 5 phentermine Now Top Online Pharmacy. Online Medical Shop.
  • Buy Cheap cheapest ambien Online 24/Online Pharmacy. Pharmacy Store.
  • Buy Cheap buy phentermine no prescription Online Internet Prices For buy phentermine no prescription! Low Prices.
  • Buy Cheap propecia sale Now Best Drugstore. Discount Pharmacy Online.
  • Buy Cheapest valium 5 mg Online 24/Online Pharmacy. Best Prices.
  • Buy Cheapest where can i buy viagra online? Now Best Drugstore. Cheap Online Pharmacy.
  • Buy Cheapest xanax from the us no prescription Online Best Internet. 24/Online Pharmacy.
  • Buy cheapest cialis index Online Without Prescription. Low Prices. Best Internet.
  • Buy Cheap phentermine online without a prescription Now Cheap Pharmacy Online. Guaranteed Shipping.
  • Buy Cheap online drug guides Online Free Viagra Pills! Top Online Pharmacy.
  • Buy Cheapest what is augmentin used for Now 100% Satisfaction Guaranteed. Best Online.
  • Buy Cheap medications without a prescription Now Discount Pharmacy Online. Online Medical Shop.
  • Buy Cheap weight loss health health Now WorldWide Shipping. Cheap Prescription Drugs.
  • Buy Cheapest codeine without prescription Online Best Prices. Guaranteed Shipping.
  • Buy Cheap list all antidepressant meds Online Best Online. Cheap Prescription Drugs.
  • Buy Cheap prescription medicine for back pain Now Pharmacy Store. Order Cheap Meds Without Rx.
  • Buy Cheapest viagra online cheap Online Best Prices. Online Prices For viagra online cheap!
  • Buy Cheapest order levaquin Now Low Prices. Special Prices For order levaquin!
  • Buy Cheapest buy xanax valium online florida Online WorldWide Shipping. Top Online Pharmacy.
  • Buy Cheapest cheap cialis site Now Prescription Drugs And Generic Medications.
  • Buy Cheapest buy weight loss pill Now Discount Pharmacy Online. Pharmacy Store.
  • Buy Cheap female viagra cream Now Internet Prices For female viagra cream! Low Prices.
  • Buy ambien cost Without Prescription Doctor. Pharmacy Store. Low Prices.
  • Buy Cheap prescription drugs on internet Now Special Prices For prescription drugs on internet! Free Viagra Pills!
  • Buy Cheap facts about dietary supplements Online Low Prices. Cheap Prescription Drugs.
  • Buy Cheapest ingredients in tramadol Now Best Prices. Pharmacy At The Best Price!
  • Buy Cheap valtrex shingles Now Guaranteed Shipping. No Prescription Needed.
  • Buy Cheap levitra interaction Now Cheap Online Pharmacy. No Prescription Needed.
  • Buy Cheapest buy medicine without prescription Now Online Medical Shop. Pharmacy Store.
  • Buy Cheap femara infertility Now Discount Online Pharmacy. WorldWide Shipping.
  • Buy Cheapest aspirin with codeine canada Online Best Prices. Guaranteed Shipping.
  • Buy Cheapest buy cialis tadalafil Now Internet Prices For buy cialis tadalafil! Best Internet.
  • Buying Cheap buy pain killers no prescription. Worldwide Rx, Good Prices. WorldWide Shipping.
  • Buy Cheap vitamin sales Online Guaranteed Shipping. Cheap Pharmacy Online.
  • Buy Cheap buy codeine 60mg online Now Best Internet. Top Online Pharmacy Supplier.
  • Buy Cheapest where to order phentermine without prescription Online Best Internet. Online Medical Shop.
  • Buy Cheap vitamins cheap Online Pharmacy Store. Cheap Prescription Drugs.
  • Buy Cheap ultram addiction Now The Largest Internet Pharmacy. Best Prices.
  • Buy Cheapest non prescription anti anxiety drugs Now Discount Pharmacy Online. Best Prices.
  • Buy Cheap viagra coupons Now Special Prices For viagra coupons! Best Prices.
  • Buy Cheap viagra cost Now Online Medical Shop. Cheap Pharmacy Online.
  • Buy Cheap buy generic pain killers without prescription Now Cheap Pharmacy Online. WorldWide Shipping.
  • Buy Cheapest drug pharmacy Now Best Prices. Buy Medications Online.
  • Buy Cheapest cheapest sildenafil citrate Online Best Online. Cheap Prescription Drugs.
  • Buy Cheap viagra and blood pressure Now WorldWide Shipping. Cheap Pharmacy Online.
  • Buy Cheap buy codeine in victoria bc Now Top Online Pharmacy. Online Medical Shop.
  • Buy cialis online get cialis cheapest Online Without Prescription. Low Prices. Best Internet.
  • Buy Cheap cheap order prescription viagra Now Drugs, Health And Beauty. Guaranteed Shipping.
  • Buy Cheap rheumatoid arthritis treatments Online Pharmacy Store. Internet Prices For rheumatoid arthritis treatments!
  • Buy Cheap killing parasites Online Free Viagra Pills! Top Online Pharmacy.
  • Buy Cheapest information on xanax Online Best Internet. WorldWide Shipping.
  • Buy Cheapest buy pain medication online Now No Prescription Needed. Best Drugstore.
  • Buy Cheap ultram withdrawl Online WorldWide Shipping. 24/Online Pharmacy.
  • Buy Cheapest buy vitamins online Now Online Prices For buy vitamins online! Best Prices.
  • Buy Cheap weight loss pill without a prescription Online Free Viagra Pills! Cheap Online Pharmacy.
  • Buy Cheap cheap fast valium Now Online Medical Shop. WorldWide Shipping.
  • Buy Cheapest list anti anxiety drugs Online Discount Online Pharmacy. Best Prices.
  • Buying Cheap dosing for levitra. Mexican Pharmacy, Good Prices. Pharmacy Store.
  • Buy Cheap side effects viagra Now Pharmacy Store. Internet Prices For side effects viagra!
  • Buy Cheap safe online pharmacies Now Best Internet. Discount Online Pharmacy.
  • Buy Cheapest cialis effects side Online Best Drugstore. No Prescription Needed.
  • pfizer viagra discount Online Without Prescription Low Prices. WorldWide Shipping.
  • Buy Cheap mail order prescription drugs Online Special Prices For mail order prescription drugs! Best Prices.
  • Buy Cheap online xanax Now Guaranteed Shipping. Free Viagra Pills!
  • Buy Cheap clomid safe Now Best Prices. The Largest Internet Pharmacy.
  • Buy Cheapest atenolol 25mg Now Cheap Online Pharmacy. Best Drugstore.
  • Buy Cheapest generic nexium Now Cheap Prescription Drugs. Best Prices.
  • Buy Cheapest vitamin tablets Now Pharmacy Store. Online Prices For vitamin tablets!
  • Buy Cheap buy prescription weight loss medication online Now 24/Online Pharmacy. Free Viagra Pills!
  • Buy Cheapest tramadol drug interaction Now Top Online Pharmacy. WorldWide Shipping.
  • Buy Cheap indian viagra Now Cheap Prescription Drugs. Guaranteed Shipping.
  • Buy Cheap cialis medicine Now Best Online. Top Online Pharmacy Supplier.
  • Buy Cheapest pain meds for sale Now WorldWide Shipping. Free Viagra Pills!
  • Buy Cheapest sale levitra Now Best Prices. Special Prices For sale levitra!
  • Buy Cheapest recreational viagra use Online Best Internet. Cheap Online Pharmacy.
  • Buy Cheapest alprazolam cheap Online Best Online. No Prescription Needed.
  • Buy Cheapest buy accutane without a prescription Now Online Prices For buy accutane without a prescription! Best Internet.