LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Bonding 4 nics in one bond configuration (https://www.linuxquestions.org/questions/linux-networking-3/bonding-4-nics-in-one-bond-configuration-4175475406/)

rhbegin 08-31-2013 11:06 AM

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

lleb 09-03-2013 04:05 PM

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.

rhbegin 09-07-2013 05:40 PM

Quote:

Originally Posted by lleb (Post 5021143)
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.

:)


All times are GMT -5. The time now is 10:49 PM.