Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help needed Teaming Nics on DL380 under RedHat

Status
Not open for further replies.

f0rmat

IS-IT--Management
Jun 2, 2004
102
0
0
US
I have a HP Dl380 G4 rackmount that I need to team the gigabit nic's together. My only problem is, I've only ever teamed nics together under windows and I have no idea how to do it in linux. I installed the PSP but still can't see any way to team them. If I can get NFT teaming that is what I'm looking for. I'm not that interested in load balancing. I just want to be able to pull 1 cable, and have the other pick up.

Can anyone help at all?? I'm a desperate man. =]
 
Here are the steps I used to bond/team nics on an Integrity4640 running RH4.0:

1. Create a new ifcfg-bond0 file in /etc/sysconfig/network-scripts/

Code:
DEVICE=bond0
IPADDR=192.168.xxx.xxx
NETMASK=255.255.255.0
BROADCAST=192.168.xxx.xxx
GATEWAY=192.168.x.x
ONBOOT=yes
BOOTPROT=none
USERCTL=no
PEERDNS=no

2. Modify the two config files for the interfaces you want bonded:

Code:
DEVICE=eth0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
PEERDNS=no

3. I also had to add in a couple lines to my /etc/modprobe.conf for this to work:

Code:
alias bond0 bonding
options bond0 mode=1 miimon=100 max_bonds=2

Then restart the server and you should see the devices come up slaved to bond0. From then on, you should have a fault tolerant connection. Your driver will also have to support this feature of course.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top