Questions about EthernetChannelBonding

Source: Internet
Author: User
For more information about EthernetChannelBonding-general Linux technology-Linux technology and application, see the following. [I = s] This post was last edited by luodeke

The younger brother recently took the RHCE course and just learned how to set the Ethernet Channel Bonding on Sunday. According to the steps in this book, he set it as follows:
The steps in the book are as follows:
1: Set bond0 to/etc/modprobe. conf.
2: To the/etc/sysconfig/network-scripts/below cp A ifcfg-bond0 out, and made the configuration in it, the configuration is as follows:
DEVICE = bond0
ONBOOT = yes
IPADDR = 192.168.0.2
GATEWAY = 192.168.0.1
NETMASK = 255.255.255.0
BONDING_IPTS = "mode = 1 miimon = 50"
BOOTPROTO = static
Then there are the settings for those NICs, And the slave device only has different names, so I only list the settings for one Nic
DEVICE = eth0
MASTER = bond0
SLAVE = yes
ONBOOT = yes
After the service network restart, the network restarted successfully, but the anti-redundancy experiment failed. Later, I searched for it on the Internet and found that the book was missing a step, that is, in/etc/modprobe. in the conf file, add options bond0 mode = 1 miimon = 50. My service network restart is still not successful, and it is not successful After reboot, but after I shut down, I can start the system again (not restart ). So I made another experiment to put/etc/modprobe. the options bond0 mode = 1 miimon = 50 in the conf file commented out, and the service network restart network, this time the anti-redundancy was successful, so I shut down and started the system experiment again, this time, when the first network card is disconnected, it cannot be pinged.
My problem is, does anyone know the cause, and how to prevent redundancy when the system is restarted without shutdown. I used VMware to experiment. The system is rhel5.4.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.