LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-26-2011, 01:03 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
NIC Bonding


I created a NIC bond0 on RHEL 5.6 about a year ago and I noticed today that the bond works but it's doing fail over (round-robin) rather than bonding them together to get more throughput performance via my two NIC's.

I found this article:

https://access.redhat.com/kb/docs/DOC-34633

My question assuming my switch supports it, what 'mode' will allow my two NIC's to operate as one and allow more throughput rather than fail over?

Code:
[root@iback ~]# cat /proc/net/bonding/bond0 
Ethernet Channel Bonding Driver: v3.4.0-1 (October 7, 2008)

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

Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0

Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
 
Old 07-26-2011, 02:54 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well it depends what throughput you mean. tx or rx? Well in fact the only switch support required is for recieve throughput, which is mode 4, 802.3ad, etherchannel on a Cisco switch. Note that this uses MAC or IP logic to determine the connection to use, so if it's 1 device to another, you'll still only use one connection.

but RR IS Load balancing. Why would that possibly be failover??
 
Old 07-28-2011, 07:44 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by acid_kewpie View Post
but RR IS Load balancing. Why would that possibly be failover??
I was under the assumption that load balancing is like RAID 1 for NIC's. If one NIC fails, the other is there to pick up the slack and no downtime for the server...no?
 
Old 07-28-2011, 08:04 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
even at a basic language level that surely doesn't sound right to you? they are "balanced". a round robin means to go round in a loop whever you apply the term.
 
Old 07-28-2011, 08:25 AM   #5
SL00b
Member
 
Registered: Feb 2011
Location: LA, US
Distribution: SLES
Posts: 375

Rep: Reputation: 112Reputation: 112
In ifcfg-bondn there's a line for options, like this: BONDING_MODULE_OPTS='mode=active-backup miimon=100'

It's the mode setting that controls the behavior. Mine here is set up like yours, with only one member of the bond is actively arping on the bond IP at any time.

There are other mode options for accomplishing load balancing. Take a look at the options here: http://www.linuxhorizon.ro/bonding.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nic Bonding mstjohn1974 Slackware 9 06-15-2012 10:26 PM
NIC Bonding: Does not failover successfully. Only one NIC is active Akhran Debian 2 02-18-2011 07:26 PM
NIC bonding Winanjaya Linux - Networking 1 03-26-2010 06:48 AM
NIC Bonding zimm247 Red Hat 1 06-28-2008 07:22 PM
bonding NIC's mrose1120 Linux - Networking 5 10-04-2004 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration