Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.