LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-31-2013, 11:06 AM   #1
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Rep: Reputation: 23
Question Bonding 4 nics in one bond configuration


I have setup 2 nics in a active/standby configuration in the past.

However, on having 4 nics in 1 bond has anyone set this up before in CentOS6/Scientific Linux that could help shed some light in this area?

nics
em1
em2
em3
em4

/etc/sysconfig/network-scripts
ifcfg-bond0
then the slaves of ifcfg-em1-4

Would a bonding config file need to be created in /etc/modprobe.d/ (bonding.conf)

Also, is there any other config parameters required?

Any advice would be appreciated.

thanks

Last edited by rhbegin; 08-31-2013 at 11:07 AM. Reason: config
 
Old 09-03-2013, 04:05 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,436

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
https://www.linuxquestions.org/quest...on-4175475640/

granted i only did this with 2 NICs, but the process should be the same. note the RHEL link at the bottom of the page. that talks about the correct location you have listed for the bonding.conf. yes you are correct it is in /etc/modprobe.d/foo.conf

yes, you create your ifcfg-bond# as master, then your eth0-3 will be slaves, or in your case em1-4.

good luck, post back with settings and results, id love to see how you did this as well as your performance.

*side note* question, what kind of switch are you using? i just had a conversation last night with a RH engineer. he pointed out that unless you are using a high end managed switch, you will most likely see a degradation in performance not an increase, especially for mode 4 and 6.
 
Old 09-07-2013, 05:40 PM   #3
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by lleb View Post
https://www.linuxquestions.org/quest...on-4175475640/

granted i only did this with 2 NICs, but the process should be the same. note the RHEL link at the bottom of the page. that talks about the correct location you have listed for the bonding.conf. yes you are correct it is in /etc/modprobe.d/foo.conf

yes, you create your ifcfg-bond# as master, then your eth0-3 will be slaves, or in your case em1-4.

good luck, post back with settings and results, id love to see how you did this as well as your performance.

*side note* question, what kind of switch are you using? i just had a conversation last night with a RH engineer. he pointed out that unless you are using a high end managed switch, you will most likely see a degradation in performance not an increase, especially for mode 4 and 6.
I did get it working, created the bonding.conf in /etc/modprobe.d and set it up as mode=5.

Will report back on the performance and any other info.

Thank you for the reply.

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
linux bonding requiring specific mac for bond? trey85stang Linux - Networking 2 10-22-2011 09:19 PM
[SOLVED] Bonding a Bond running 802.3ad Dynamic link aggregation kas22 Linux - Networking 4 10-20-2011 04:24 PM
[SOLVED] Bonding of more then 2 NICs into one bond cj_cheema Linux - Networking 1 08-15-2010 01:28 AM
[SOLVED] Bonding Secondary bond??? karlochacon Red Hat 1 10-13-2009 09:47 AM
bond 3 NICs into 1 produces a lot of tcpdump Winanjaya Linux - Networking 1 03-15-2007 09:59 AM


All times are GMT -5. The time now is 08:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration