Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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??
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.