Red Hat Enterprise Linux 5-the network interface bound to the link aggregation mode (mode = 4) cannot use the given DHCP address

Source: Internet
Author: User
Red Hat Enterprise Linux 5-a network interface bound in link aggregation mode cannot use the given DHCP address

Define a network interfaceBond0For example, and useIfcfg-bond0The configuration file is as follows:

Device = bond0
Bootproto = DHCP
Type = Bonding
Onboot = Yes
Userctl = No
Bonding_opts = "miimon = 100 mode = 4 lacp_rate = 1 xmit_hash_policy = 1"

Two Ethernet devices have been configured to belong to the binding set, and the network switch is set to use the link aggregation (lacp). However, the console displays a message indicating that the link is closed during startup, the IP address provided by DHCP is not accepted and usedBond0Interface.

Solution

This is a known vulnerability that has been fixed in rhes v5.6 but does not seem to be resolved yet. On rhes v6.0, the same configuration can run normally. Therefore, update it to the next major version.

What operations can be performed in v5.6 and later versions?

As an escape method, add the following lines/Etc/rc. LocalMedium:

IFUP bond0

After all other network interfaces are started, the system readsRC. LocalFile. Then, all the commands in the file will be executed. In this case, the link is created on the secondary Eni, And the DHCP client can successfully capture and apply the dynamic IP address.

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.