nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Bonding mode not changing

This is a discussion on Bonding mode not changing within the Linux software forums, part of the Linux Getting Started category; I have mode=1 in my modules.conf. However, looking at /proc/net/bonding/bond0 shows that it is in round-robin load balancing phase. I've ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 06-01-2007, 12:41 AM
Junior Member
User
 
Join Date: Mar 2007
Posts: 13
Rep Power: 0
bdptcob
Default Bonding mode not changing

I have mode=1 in my modules.conf. However, looking at /proc/net/bonding/bond0 shows that it is in round-robin load balancing phase. I've restarted networking several times to no avail. Any idea why this is not changing?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-01-2007, 01:11 AM
Member
User
 
Join Date: Jun 2005
Posts: 78
Rep Power: 0
jerry
Default

Reboot the box or remove module and again reload. I hope you have correct syntax in modules.conf file.
Reply With Quote
  #3 (permalink)  
Old 06-01-2007, 02:11 AM
Junior Member
User
 
Join Date: Mar 2007
Posts: 13
Rep Power: 0
bdptcob
Default

Thanks. I figured it out. Problem seemed to stem from having the alias bond0 bonding in the modules.conf while everything else was using modprobe.conf. Moving alias bond0 bonding to modprobe.conf resolved the issue. However,I've encountered another annoyance. For some reason, bonding starts both eth0 and eth1 and then downs eth1 for some reason. This only occurs during boot. If I manually restart the network, both eth0 and eth1 come up and stay up.
Here is my dmesg:

ip_tables: (C) 2000-2002 Netfilter core team
ip_tables: (C) 2000-2002 Netfilter core team
bonding: bond0: enslaving eth0 as a backup interface with a down link.
bonding: bond0: enslaving eth1 as a backup interface with a down link.
tg3: eth0: Link is up at 1000 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
bonding: bond0: link status definitely up for interface eth0.
bonding: bond0: making interface eth0 the new active one.
tg3: eth1: Link is up at 1000 Mbps, full duplex.
tg3: eth1: Flow control is on for TX and on for RX.
bonding: bond0: link status definitely up for interface eth1.
SELinux: initialized (dev rpc_pipefs, type rpc_pipef, uses genfs_contexts
lp: driver loaded but no devices found
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0332e60(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
bonding: bond0: link status definitely down for interface eth1, disabling it
bond0: no IPv6 routers present
eth0: no IPv6 routers present
Reply With Quote
  #4 (permalink)  
Old 06-05-2007, 11:29 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,036
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

may be some sort of bug just update software and kernel to latest version.
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Kubuntu / Ubuntu Lan Ethernet card bonding Tutorial alex.inoa Networking, Firewalls and Security 8 07-24-2008 02:27 PM
Real-Mode & Protected-Mode amsreeku Linux hardware 2 09-04-2007 10:02 PM
Bonding Error puppen Linux software 0 01-19-2007 11:56 AM
LAN Speed for Bonding or Teaming puppen Linux software 11 05-15-2006 07:38 PM
changing dir sparky Shell scripting 8 03-30-2006 04:14 AM


All times are GMT +5.5. The time now is 09:18 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36