View Issue Details

IDProjectCategoryView StatusLast Update
0004991CentOS-6initscriptspublic2011-07-20 20:16
Reporterhbp4c 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version6.0 
Target VersionFixed in Version 
Summary0004991: bonding network channels fails if you quote MASTER="bond0" in ifcfg-ethX files
DescriptionBasically, if the user is consistent with the quotations in the /etc/sysconfig/network-scritps/ifcfg-ethX scripts, they will not be able to bond devices.

In the ifcfg-ethX files, all options are quoted when generated by the system.

If a user manually sets up bonding and follows this quoting example in a slave device file, such as:
DEVICE="eth0"
ONBOOT="yes"
MASTER="bond0"
SLAVE="yes"

When the machine restarts the network service the bonded channel (bond0) will startup but the slave devices will not, which causes the bonded channel to be useless.

However, if the MASTER line is unquoted, such as:
DEVICE="eth0"
ONBOOT="yes"
MASTER=bond0
SLAVE="yes"

Now when the network service restarts the bonded channel will start up correctly and the slave devices will participate in the bonded channel.

Thanks!
Additional Information/etc/sysconfig/network-scripts/ifcfg-bond0 file is set up as:
DEVICE="bond0"
BOOTPROTO="static"
DNS1=
DNS2=
DNS3=
GATEWAY=
IPADDR=
NETMASK=
ONBOOT="yes"
BONDING_OPTS="miimon=100 mode=6"

/etc/modprobe.d/bonding.conf is defined as:
alias netdev-bond0 bonding

ifcfg-ethX files should be modified as exampled in the description.
Service network restart should work (if MASTER is not quoted) or fail (if quoted MASTER).
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2011-07-20 20:16 hbp4c New Issue