LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-02-2008, 04:18 AM   #1
abdo_elrahman
LQ Newbie
 
Registered: Mar 2007
Location: Hong Kong
Distribution: Fedora , RHEL , Ubunto , Centoos,
Posts: 13

Rep: Reputation: 0
Bonding Not Working And also Routing Has Problems


Dear Guys ,

I have two HP machines and has linux RHEL 4 installed on each machines each machine has two network interfaces and it is required to put each interfaces in the same subnets.i tried to make bonding for every machine but the problem is that when one of the two interfaces is down there in no pinging on any of those two interfaces
and when the the other interface is down and making the other is up both of the will ping so ..... it is the problem i want solution ? !!

I tried to make another way using ip route command for every machine but also the problem with the same state although i did all steps true as i see

/etc/modeprobe.conf
/etc/sysconfig/network-scipts/ifcfg-eth0,eth1,bond0

and i did all steps true in each file

Can Any one Reply me ????
 
Old 07-02-2008, 09:17 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
if your nics are connected to a switch or a router, you need to make sure
the switch supports channel bonding.

and check this:

http://www.redhat.com/docs/manuals/e...aces-chan.html

you might also have some configuration issues with your setup.
for a bonded interface in failover mode, only one interface
is "active". and if bonding is working ok, all interfaces
will only have 1 MAC address (the MAC id of the active
NIC).

in one of my servers, /etc/modprobe.conf has this:

alias bond0 bonding
options bond0 mode=1 miimon=100 primary=eth0

#ifcfg-bond0
IPADDR=a.b.c.d
NETMASK=255.255.255.0
DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
BONDING_MASTER=yes

#ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no


#ifcfg-eth1
DEVICE=eth1
BOOTPROTO=static
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
 
Old 07-03-2008, 07:13 AM   #3
abdo_elrahman
LQ Newbie
 
Registered: Mar 2007
Location: Hong Kong
Distribution: Fedora , RHEL , Ubunto , Centoos,
Posts: 13

Original Poster
Rep: Reputation: 0
thanks for the link but already have seen it before posting the problem but thanks any way.By the way this utput you have is similar what i have here and also nothing is working as i need .

this is a point and another point i need to give this bond device more than one ip ca i implement this using the multiple binding concepts or i need another thing ti give more than one IP

Last edited by abdo_elrahman; 07-03-2008 at 07:15 AM.
 
Old 07-06-2008, 08:55 PM   #4
fuubar2003
Member
 
Registered: May 2004
Location: Orlando, Florida
Distribution: SLES10/11, RH4/5 svrs, Fedora, Debian/Ubuntu/Mint; FreeBSD/OpenBSD
Posts: 63

Rep: Reputation: 26
I agree w/born4linux, your configuration may have a problem.

- Check for the proc bonding configuration which is saved to:
# ls -l /proc/net/bonding

...if you don't see something like the results below, then the configuration is the problem.

# cat /proc/net/bonding/bond0

Ethernet Channel Bonding Driver: v3.0.1 (January 9, 2006)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:0c:29:e2:fb:1f

Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:0c:29:e2:fb:29

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:0c:29:e2:fb:33

Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:0c:29:e2:fb:3d
 
  


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
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
static routes, bonding, vlan not working with RHEL3 onewave Linux - Networking 4 05-13-2005 06:50 AM
Simple Routing - not working jsinfcva Linux - Networking 5 12-15-2004 09:08 PM
Can't get Debian routing working! retiqlum Linux - Networking 1 02-03-2004 05:48 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 01:34 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
Open Source Consulting | Domain Registration