LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-05-2009, 10:07 AM   #1
k.asaalm
LQ Newbie
 
Registered: Jul 2007
Posts: 3

Rep: Reputation: 0
Oracle Enterprise Linux 5.3 NIC bonding on a Dell PE2950/PER 900


Dear All,

I did the Configuration NIC Teaming (bonding) Oracle Enterprise Linux 5.3 on a Dell PE2950 and PE R900 Machine,

The configuration Details are given below

/etc/sysconfig/netword-scripts/ifcfg-bond0
DEVICE=bond0
USERCTL=no
ONBOOT=yes
BROADCAST=10.x.y.255
NETWORK=10.x.y.0
NETMASK=255.255.255.0
GATEWAY=10.x.y.1
IPADDR=10.x.y.65

/etc/sysconfig/netword-scripts/ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

/etc/sysconfig/netword-scripts/ifcfg-eth1
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none


/etc/modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias scsi_hostadapter megaraid_sas
alias scsi_hostadapter1 ata_piix
alias scsi_hostadapter2 qla2xxx
alias peth0 bnx2

alias bond0 bonding
options bonding miimon=100 mode=0


after the configuration, when I restart the Network service, the following Messages are displays

service network restart
Shutting down interface bond0: bonding: bond0: Warning: the permanent HWaddr of eth0 - 00:24:E8:5E:8F:F3 - is still in use by bond0. Set the HWaddr of eth0 to
a different address to avoid conflicts.
[ OK ]
Shutting down interface eth0: bonding: bond0: Unable to update slaves because interface is down.
[ OK ]
Shutting down loopback interface: [ OK ]
Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0
[ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface bond0: bonding: bond0: Warning: failed to get speed and duplex from eth0, assumed to be 100Mb/sec and Full.
[ OK ]

please give me a solution how to solve this issue;

Thank you in advance

Best Regards,
Salam
 
Old 10-05-2009, 12:55 PM   #2
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
I seem to remember that things worked better when we ending ethernet bonding before restarting the network. I am looking for those notes and will update later.

After restarting networking with the warnings you posted, what do you see in the routing table? What do you see with the command `ethtool bond0`?
 
Old 10-07-2009, 06:40 AM   #3
k.asaalm
LQ Newbie
 
Registered: Jul 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Routing table and Ethtool

Dear wfh,

Thank you for your reply

when i enter the ethtool and Routting tables are given belwo

# ethtool bond0

Settings for bond0:
No data available

# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.17.40.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bond0
0.0.0.0 172.17.40.254 0.0.0.0 UG 0 0 0 bond0

please update me , what i have to do to avoid the warning message.

both NIC s are bnx2 Gigabite, if we are bonding the Gigabite NICs, is the speed will be the same as 1000 or 100 mbps ?


Regards,
Salam
 
Old 10-07-2009, 09:26 PM   #4
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
Quote:
Originally Posted by k.asaalm View Post
# ethtool bond0

Settings for bond0:
No data available
Correct me if I'm wrong, but it looks like bonding has failed when you restart, is that true? 'bond0' should be your operational interface, and it doesn't seem to be working, here.

Let me refer you to another post: http://www.linuxquestions.org/questi...licts.-583846/

Last edited by wfh; 10-07-2009 at 09:31 PM.
 
Old 10-07-2009, 09:37 PM   #5
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
Let me also refer you to Bugzilla for Redhat. This is related:

https://bugzilla.redhat.com/show_bug.cgi?id=241719

I remember testing ethernet bonding on Cyclades devices. Our programmers, as I remember, put in a fix which either spoofed the MAC (I think they took the MAC of eth0 and make it the default machine address regardless of the active interface's real address).

There are issues with this. Not sure what to tell you.
 
  


Reply

Tags
bonding, dell


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
Dell Optiplex 330 on board nic BCM 5787 is not working in suse linux enterprise 10 Linux Lover Linux - Hardware 1 02-17-2008 04:23 AM
Oracle Enterprise Linux Installation Problem in Dell PowerEdge SC1435 kausikdatta Linux - Hardware 1 08-02-2007 11:54 PM
FC6 on a Dell PE2950 & MySQL ACDII Fedora 0 02-15-2007 03:24 PM
Enterprise Linux - NIC Bonding nitrohuffer2001 Linux - General 28 12-11-2006 12:29 PM
NIC Bonding on Separate Switches for Oracle RAC Cluster legonz Linux - Networking 5 01-26-2006 12:31 PM


All times are GMT -5. The time now is 03:16 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration