LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 02-22-2007, 11:01 PM   #1
ksleslie
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Network Card IP Teaming/Bonding


Hi,

My name is Leslie. I have recently got a new Server,
HP DL380 (Rack Mount). It is running on Red Hat Linux Enterprise 4.0 . It has dual ethernet ports

I was wondering if it is possible to do IP Teaming/Bonding
like in Windows Server 2003. I've tried searching the net but have not found any "How To's on it. Would appreciate your advice.


Thanks you so much.

KS LESLIE
Ipoh Specialist Hospital
Malaysia
 
Old 02-23-2007, 12:11 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Linux Magazine February 2007 has a case study on bonding on page 62. Also, the kernel documentation has a bonding.txt file with about 33 pages of information. Of course, your switches need to support this as well. You will need to read their manuals as well.
 
Old 02-23-2007, 02:10 AM   #3
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
Quote:
Originally Posted by ksleslie
My name is Leslie. I have recently got a new Server,
HP DL380 (Rack Mount). It is running on Red Hat Linux Enterprise 4.0 . It has dual ethernet ports

I was wondering if it is possible to do IP Teaming/Bonding
we have channel bonding on several hp blades in production (only for failover).
check out this link for brief explanation:

http://www.redhat.com/docs/manuals/e...NTERFACES-CHAN

my setup:
===============

in /etc/modprobe.conf, i have:

alias bond0 bonding
options bond0 mode=1 miimon=100 primary=eth2

NOTE: the gigabit adapters we have are eth2 and eth3 (there are 4 onboard nics - we don't use the firs two). these are Broadcom Corporation NetXtreme BCM5703 using the tg3 modules

then, in /etc/sysconfig/network-scripts, i have the following files:

===================
ifcfg-bond0
===================
IPADDR=a.b.c.d
NETMASK=255.255.255.0
DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
BONDING_MASTER=yes

===================
ifcfg-eth2
===================
DEVICE=eth2
BOOTPROTO=static
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no

===================
ifcfg-eth3
===================
DEVICE=eth3
BOOTPROTO=static
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no


you can either reboot to test the setup or manually load the modules with the parameters (as specified in modprobe.conf) and restart your network.

hth.
 
  


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
Redhat - Nic Bonding/Teaming smaida Linux - Networking 2 09-07-2009 04:15 AM
network bonding questions binary_0011 Linux - General 1 02-03-2007 09:30 AM
NIC Teaming/Bonding RHEL4 Labbrat Linux - Networking 1 11-28-2006 07:27 AM
fc2 for network bonding??? yenonn Linux - Networking 0 10-18-2005 03:37 AM
Network Lag with Bonding wvrhlu Linux - Networking 1 09-27-2004 08:13 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:19 AM.

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