LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-21-2013, 12:19 AM   #1
jitendra bhaskar
LQ Newbie
 
Registered: Apr 2010
Location: Bombay
Distribution: RHEL-5 and CentOS-6
Posts: 23

Rep: Reputation: 0
bond0 issue


Hi Team,

I am trying to setup bonding at home but facing some issue.
After setting all configuration with bond0 (round robin) all is working fine if both nic are up.
If i down eth1 then i am able to ping my host but if i down eth0 and keep eth1 up then i cant ping to host
it stuck there only. but if i again up eth0 then it start from the same place and shows 0 packet lost.

My all configuration past below


==================================================================
eth0

DEVICE=eth0
HWADDR=08:00:27:c5:14:3e
NM_CONTROLLED="no"
ONBOOT=yes
#IPADDR=192.168.10.20
#NETMASK=255.255.255.0
#GATEWAY=192.168.10.10
#BOOTPROTO=static
MASTER=bond0
SLAVE=yes
BOOTPROTO=dhcp
TYPE=Ethernet
==================================================================

eth1

DEVICE=eth1
HWADDR=08:00:27:C2:0F: DF
ONBOOT=yes
NM_CONTROLLED="no"
#IPADDR=192.168.10.40
#NETMASK=255.255.255.0
#GATEWAY=192.168.10.10
#BOOTPROTO=static
MASTER=bond0
SLAVE=yes
BOOTPROTO=dhcp
TYPE=Ethernet
IPV6INIT=no
USERCTL=no
===================================================================

bond0

DEVICE=bond0
#HWADDR="08:00:27:C5:14:3E"
NM_CONTROLLED="no"
ONBOOT=yes
IPADDR=192.168.10.20
NETMASK=255.255.255.0
GATEWAY=192.168.10.10
BOOTPROTO=static
TYPE=Ethernet
BONDING_OPTS="mode=0 miimon=100"
==================================================================

Every 0.1s: cat /proc/net/bonding/bond0 Tue Aug 20 08:34:21 2013

Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)

Bonding Mode: load balancing (round-robin)
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: 2
Permanent HW addr: 08:00:27:c5:14:3e

Slave Interface: eth1
MII Status: up
Link Failure Count: 1
Permanent HW addr: 08:00:27:c2:0f:df


=====================================================================
why its stuck without data lost when eth0 is down
Please help to understand this.
 
Old 08-21-2013, 02:37 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,897

Rep: Reputation: 164Reputation: 164
The round robin mode is static mode. Peer mayn't detect link down. The 802.3ad mode should be work.
 
  


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
Issue with ifup bond0 angelo.c Red Hat 1 04-17-2013 07:13 AM
Channel bonding Issue - Bond0 interface not getting up in on RHEL6 Rohit_4739 Linux - Networking 13 05-01-2012 04:13 PM
bonding with bond0, but VMware Workstation does not see bond0 dimm0k Linux - Virtualization and Cloud 1 07-14-2011 09:22 PM
bond0 went down MensaWater Linux - Networking 2 09-21-2010 11:00 AM
bond0 mii-tool digitolx Linux - Hardware 4 04-23-2010 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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