LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-02-2004, 02:33 PM   #1
mrose1120
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Rep: Reputation: 0
bonding NIC's


Hey guys, i'm a newbie to the forum so go easy on me. I am trying to bond IP Addresses on dual nic'd HP Proliant Blade servers. Anyone know the easiest way to go about this? The servers are running red hat 8.0. Also, if anyone has experience w/ red hat and proliant servers, have you installed insight agent and if so any good sources for that? thanks all!!!


Matt
 
Old 09-02-2004, 02:42 PM   #2
NLR
Member
 
Registered: Jun 2004
Posts: 103

Rep: Reputation: 15
Hello,

I have never come across this before... I would guess do:
ifconfig eth0 < IP Addreess> broadcast < Broadcast Address > netmask < Subnet Mask >
ifconfig eth0 < IP Addreess> broadcast < Broadcast Address > netmask < Subnet Mask >

with the same IP address... How are you routing this though... You cant set a router to have the same IP address on two different interfaces... At least as far as I know...

Andrew

---

Andrew nrd.
 
Old 09-02-2004, 02:54 PM   #3
littleking
Member
 
Registered: Jun 2003
Location: New Albany, OH
Posts: 190

Rep: Reputation: 30
hes talking about bonding....


You will need to add at least the following line to /etc/modprobe.conf
so the bonding driver will automatically load when the bond0 interface is
configured. Refer to the modprobe.conf manual page for specific modprobe.conf
syntax details. The Module Parameters section of this document describes each
bonding driver parameter.

alias bond0 bonding



Next you need to configure the contents of /etc/sysconfig/network-scripts/

ifcfg-bond0 should contain the following: (customize for your network)

DEVICE=bond0
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no

All interfaces that are part of a bond should have SLAVE and MASTER
definitions. For example, in the case of Red Hat, if you wish to make eth0 and
eth1 a part of the bonding interface bond0, their config files (ifcfg-eth0 and
ifcfg-eth1) should resemble the following:

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

Use DEVICE=eth1 in the ifcfg-eth1 config file. If you configure a second
bonding interface (bond1), use MASTER=bond1 in the config file to make the
network interface be a slave of bond1.

then commit the bond:

modprobe bonding mode=1 miimon=500

now perform:

service network restart

to restart the interfaces and ensure that the bond is complete

ifconfig should show the successful bond0

check back if that does not do the job for you
 
Old 09-02-2004, 02:56 PM   #4
littleking
Member
 
Registered: Jun 2003
Location: New Albany, OH
Posts: 190

Rep: Reputation: 30
to test the bond, unplug one cable, and see if you can still ping, btw the above config is for fault tolerance teaming, not etherchannel or round robin, to do etherchannel or round robing you need to modify your parameters when you modprobe bonding.
 
Old 09-03-2004, 05:11 PM   #5
littleking
Member
 
Registered: Jun 2003
Location: New Albany, OH
Posts: 190

Rep: Reputation: 30
did it work?
 
Old 10-04-2004, 12:52 PM   #6
ginnie nuckles
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Hello I have successfully bonded many nics on various machines with HP's bonding driver .. please make sure you read the bonding mini how to and have the pre-requsite drivers ie .. e1000 and bcm5700 .. it should all work .. but I have recently run into a conflict with the HP Insite Agent (healt manager ) breaking my bonding driver .. Any one else ?? thanks !!
 
  


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
bonding aylov Linux - Networking 7 09-03-2007 11:24 PM
Help with bonding bwoodruff Linux - Networking 4 11-09-2006 02:14 PM
bonding-problem, eth0,1,2 changes nic's max_mad Linux - Networking 5 09-13-2005 04:33 PM
Bonding (trunking) two NIC's fail ScottUT Linux - Networking 0 03-08-2004 10:10 AM
Bonding and sniffing.... sdandeker Linux - Security 4 09-26-2003 06:53 AM


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