[Ilugc] Bonding and Duplex settings problem

  • From: anandhg02@xxxxxxxxx (Anandh G)
  • Date: Sat Aug 12 12:14:47 2006

Dear Girish,
For my 1st query you mean the same. I am doing link
aggrigation only. But as i mentioned, if I put the
channel bonding in load balancing and fault tolerant
mode, I am getting packet drops. But in fault tolerant
only mode, the ping is normal.

In my 2nd query, I had setup the link aggrigation only
after changing the duplex setting of both the
interface to FULL.

--- Girish Venkatachalam <girish1729@xxxxxxxxx> wrote:

Anandh,
--- Anandh G <anandhg02@xxxxxxxxx> wrote:

Hi,
I have two queries.
One:
I had setup bonding in RHEL 3 using 2 interface
connected to the same switch. I had given the
bonding
settings in /etc/modules.conf
alias bond0 bonding
 options bond0 miimonfiltered=100 mode=1
 
It is working fine for failover setup (mode=1),
but
I
want it for load balancing. If I change to load
balance and failover setup (mode=0), I am getting
packet drops, if I do a ping test. How to do load
balance and failover setup, any suggestion. Should
I
have to do any configuration in the switch level
for
the two ports.
 
First of all I don't have experience doing what you
are doing , so very likely I am wrong. However I
have
done something similar; so I can give you some
pointers.

I don't understand what you mean by load balancing?
Do
you mean link aggregation? As I figured out that is
what is often implied by channel bonding. For
instance, if you have two separate links with
bandwidth 1 MBps each , then by bonding the two
together you can achieve  2 MBps throughput. This
was
my understanding of channel bonding. Kindly correct
me
if I am wrong. 

If that is indeed the case, then I am even more
confused how come you are getting packet drops in a
simple ping scenario since ping hardly stresses the
network card or even the network. You should never
get
dropped packets while pinging inside the network. 

Or by any chance are you running stress tools like
sing or fping or whatever? 
Two:
My two 100Mbps ethernet are showing "Half Duplex",
in
the ethtool command. I changed to to full duplex
using
ethtool
#ethtool -s eth0 autoneg off speed 100 duplex full
#ethtool -s eth1 autoneg off speed 100 duplex full
It is now changing to full duplex. But after
restart
of the server, it is reverting to half duplex. In
the
switch level, the port has been set to full
duplex.
What should be done for the changes to be made
permanent.

Sorry but I think you should not be telling the
kernel
whether your card is full duplex or half duplex. The
kernel should figure that out by its own probing
mechanism. Maybe this is why you are getting dropped
packets? 

Hope my inputs help you investigate further.

Best,
Girish


            


___________________________________________________________

To help you stay safe and secure online, we've
developed the all new Yahoo! Security Centre.
http://uk.security.yahoo.com
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx
with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com ;



Regards,
Anandh G


                
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

Other related posts: