LinuxQuestions.org
Visit Jeremy's Blog.
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 08-12-2009, 12:05 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Question Combing NIC's on a Server


I have a server which requires an extreme amount of bandwidth for backups. It's my NetBackup Server and it's running on RHEL 5.3 x64. My question is the server has two individual 10/1000 Intel NIC's on-board. I would like to know if some way in RHEL I can combine the NIC's to work together and allow more bandwidth to pass to and from the server. I don't want network fault tolerance where if one NIC fails, the 2nd NIC is there. I need load balancing to allow both NIC's to increase network performance. Is this possible? I was told by Dell the server can do this but requires Windows Server software and I am using Linux.

Anyone know what I need to do or of this is possible on RHEL 5?
 
Old 08-12-2009, 12:42 PM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Refer this link
http://www.linuxquestions.org/questi...ilover-321575/
 
Old 08-12-2009, 12:49 PM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Linux includes "bonding" software to combine NICs.

We use it here for an Oracle setup on two RHEL 5 hosts and it looks like this:

In /etc/sysconfig/network-scripts (bond0 = the device bonded IP is assigned to, eth2 and eth3 = the NIC bonded together to form bond0):
ifcfg-bond0
Code:
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.8.0
NETMASK=255.255.255.252
IPADDR=192.168.8.53
USERCTL=no
ifcfg-eth2
Code:
DEVICE=eth2
HWADDR=00:15:17:38:64:38
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
ETHTOOL_OPTS="autoneg on"
ifcfg-eth3
# Intel Corporation 82571EB Gigabit Ethernet Controller
Code:
DEVICE=eth3
HWADDR=00:15:17:38:64:39
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
ETHTOOL_OPTS="autoneg on"
/etc/modprobe.conf
Code:
alias eth0 bnx2
alias eth1 bnx2
alias eth2 e1000
alias eth3 e1000
install bond0 /sbin/modprobe bonding -o bond0 miimon=100 mode=0
alias bond0 bonding
Note that modprobe.conf will contain more than I've shown here - I'm only showing the networking stuff. The key information is in the bond0 lines. The other NIC stuff was there before bonding.

Also there are different bond modes. The mode 0 is the default and is just failover. You probably need a different mode (Google should quickly show which ones are available).

We haven't done this bonding on Linux for NetBackup. We DID do HP's Autoport aggregation on HP-UX for NetBackup (6.5.4) and that required some settings in the switch to recognize and deal with the aggregation. I suspect that may be required for Linux bonding in the mode you likely need as well. Ideally here again Googling may help.

By the way there is a rather active mailing list for NetBackup admins:

Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailma...nfo/veritas-bu

Last edited by MensaWater; 08-12-2009 at 12:51 PM.
 
Old 08-12-2009, 01:21 PM   #4
karlochacon
Member
 
Registered: Dec 2006
Posts: 109

Rep: Reputation: 17
I did it a few days ago on CentOS based on a RH guide so you know CentOS and RH they are brothers

I attached my doc here
http://karlochacon.googlepages.com/B...ithCentOS5.doc

since you want to take advantage of all your NICs and no implement fault tolerance I would say the mode you need to configure is 6..anyway you can read more here about bonding modes
http://www.howtoforge.com/network_card_bonding_centos


I hope my info gives you some help
 
  


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
AV combing software Person_1873 Linux - Security 1 02-15-2008 02:47 AM
write-combing range error in XFREE86 log MisterGoof Mandriva 0 08-30-2004 05:30 PM
Server with 2 NIC's TheRealDeal Linux - General 2 09-22-2003 09:08 PM
DHCP Server and 2 NIC's NVETHIS Linux - Networking 4 07-10-2003 09:26 AM
x1 server, x2 NIC's, x2 networks jcbotha Linux - Networking 2 03-12-2003 11:59 AM

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

All times are GMT -5. The time now is 10:47 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