LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Oracle Enterprise Linux 5.3 NIC bonding on a Dell PE2950/PER 900 (https://www.linuxquestions.org/questions/linux-enterprise-47/oracle-enterprise-linux-5-3-nic-bonding-on-a-dell-pe2950-per-900-a-759810/)

k.asaalm 10-05-2009 09:07 AM

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

wfh 10-05-2009 11:55 AM

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`?

k.asaalm 10-07-2009 05:40 AM

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

wfh 10-07-2009 08:26 PM

Quote:

Originally Posted by k.asaalm (Post 3710789)
# 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/

wfh 10-07-2009 08:37 PM

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.


All times are GMT -5. The time now is 10:40 AM.