LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-29-2010, 08:41 AM   #1
Mallika-Gautam
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Thumbs up Bonding driver Issue: Dynamically changing mode (Active-Backup / Broadcast)


Hi,

I am using a fairly old Linux kernel 2.6.23. I am trying to test if it is possible to change mode of a bond interface on the fly i.e. without removing its slaves or tearing down the bond interface.

Here are the steps that I am following -

1. Set up bond0. Do ifconfig bond0 up
2. echo 1 > mode ---> thus setting it to Active-Backup
3. echo +eth0 > slaves; echo +eth1 > slaves

This correctly sets up bond0 in Aactive-Backup mode. Now I join a multicast group. I can see the IGMP Joins only being sent on Active slave (eth0). So far so good.

To change the mode -
1. ifconfig bond0 down
2. echo 3 > mode ---> thus setting it to Broadcast
3. ifconfig bond0 up

If I delete the multicast program, I still see the IGMP Leave messages being sent on eth0 (previously active slave in Active-Backup mode). If I ping via bond0, still I see ARP packets going to eth0 alone.

Is it at all possible to change the mode dynamically? I have tested this behaviour in 2.6.23, 2.6.26 and 2.6.32. But the same result.

Thanks
 
  


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
[SOLVED] Bonding of for fault-tolerance (active-backup) vikas027 Linux - Networking 4 04-03-2013 12:02 PM
Do you need STP enabled to run active active bonding one CentOS4? ch19251 Linux - Networking 1 06-17-2009 09:30 AM
Ethernet Bonding - Active Load Balancing synpse Linux - Networking 3 10-11-2006 06:25 AM
changing samba configuration dynamically ramu_ak Linux - Networking 1 12-28-2003 02:24 PM
wpc11 broadcast mode pgros Linux - Networking 0 07-20-2003 12:57 PM


All times are GMT -5. The time now is 06:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration