Channel Bonding

I have a cluster running Redhat 6.0 ontop of kernel 2.2.5-15smp i686.  I want to configure the cluster to use channel bonding since I have two network cards on each node and two switches.  I was under the misconception that Linux 6.0 came with the kernel option to enable channel bonding.  How do I configure my kernel and my cluster for channel bonding?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi morgan bear,

first channel bonding is not a easy thing.

So first your switches need to support port aggregation or port truncing or load balancing or how ever the manufactor ever will call this. You will find some whitepapers about this theme at cisco's or HP's server sites.
There they explain what SourceAdress (SA), DestinationAdress(DA),  SA/DA and managed truncing is. Servers ususly use the DA (the tcpip adress of the target)  to choose the NIC they use for communication. Because of some Networkingoverhead (Broadcasts) the swithhes need to act as filters. So with your two switches you may not be able to use this kind of port trunking.
An other idea to make use of your two switches and two NIC's is that you specify for each node a route (via your routing-table or simply via your host-table) to every other node. For example for even IP-Adresses you use eth0 and for odd adresses eth1, so you will have tcp/ip-based a channelbonding. This method is transparent to all network components (hub(switch/router), and you may use as mich NIC's in every node as you want .   At our worldrecord with the clown project at paderborn/germany we had a network with about 700 Linux Nodes, and used this idea to connect all the workstations to a central fileserver with 5 NICs.
Best Regards

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.