LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2009, 11:59 AM   #1
v_fone
Member
 
Registered: Feb 2009
Posts: 46

Rep: Reputation: 16
Problems with bonding configuration


Hello everyone.

I have a big problem with a RHEL 5.2 installation. The problem is the following:

I have tried to configure the bonding (I have only two ethernet's, eth0 and eth1) creating the files ifcfg-etho0/1 and ifcfg-bond0, but, I dont know why, the bonding module is not loaded at the system started. Then, I included on /etc/modprobe.conf the new module, but it isnt loaded and when the system restart, on the screen appears the message that the ip is in use by another host, but it's fake due to if I configure the ethernets without bonding but maintaining the same IP, it works fine.
And if I include the bonding module on modprobe.conf or if I load on memory (with insmod or modprobe commands) and rebuild the init with mkinitrd, when I restart the system appears the same error and doesnt appear the bonding module (I have seen with lsmod | grep bonding)
Have anyone see this problem before? If I doesnt explain me well, I'll try to do better.
Thanks
 
Old 02-21-2009, 01:16 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Post your ifcfg-(all three). It looks like one of the ethX is going out and grabbing an ip before the bond) is formed. After you make the changes have you just tried restarting the network service rather than rebooting?
 
Old 02-21-2009, 01:40 PM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
We are using RHEL5.2 & i configured bond on our systems its working fine
http://www.cyberciti.biz/tips/linux-...interface.html
this url may be useful
 
Old 02-21-2009, 02:09 PM   #4
v_fone
Member
 
Registered: Feb 2009
Posts: 46

Original Poster
Rep: Reputation: 16
Thanks for your response

Here are the files

ifcfg-bond0:
USERCTL=no
BOOTPROTO=none
IPADDR=XXX.XXX.XXX.XXX
NETMASK=255.255.0.0
BROADCAST=XXX.XXX.255.255
ONBOOT=yes

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

ifcfg-eth1:
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MASTER=bond0
SLAVE=yes

And yes, first of all I did "service network restart" and appears exactly the same error, The ip is already in use by another host.

Thanks!

Last edited by v_fone; 02-21-2009 at 02:16 PM.
 
Old 02-25-2009, 05:23 AM   #5
v_fone
Member
 
Registered: Feb 2009
Posts: 46

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by kirukan View Post
We are using RHEL5.2 & i configured bond on our systems its working fine
http://www.cyberciti.biz/tips/linux-...interface.html
this url may be useful
I follow the guide and now everything works fine!! Thanks
 
  


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
bonding and vlans. Bonding a vlan interface vs applying vlans to a bond interface JasonCzerak Linux - Networking 0 09-11-2008 09:59 AM
Bonding Not Working And also Routing Has Problems abdo_elrahman Linux - Enterprise 3 07-06-2008 08:55 PM
Infiniband Bonding and Ethernet Bonding edcrozer Linux - Networking 0 11-07-2007 03:57 PM
bonding problems jtshaw Linux - Networking 2 04-28-2006 09:21 AM
./configuration problems fultron Linux - Software 4 04-18-2005 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:49 PM.

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