IFCFG-BONDING



IFCFG-BONDING

NAME
SYNOPSIS
Bonding Interfaces
Example
Additional Information
BUGS
AUTHOR
SEE ALSO

NAME

ifcfg-bonding − interface bonding configuration

SYNOPSIS

/etc/sysconfig/network/ifcfg-bond*

Bonding Interfaces

To setup a bonding interface you need a configuration file ifcfg-bond<X> with the usual network settings. But you must add additional variables
BONDING_MASTER

must be set to ’yes’ to identify this interface as a bonding interface

BONDING_SLAVE_<X>

here you specify the interface name representing the slave network interfaces.

Note: Please adopt the /etc/udev/rules.d/70-persistent-net.rules rule file to match the hardware by BUS id and not by the MAC address (default). Using MAC address, it is not possible to replace a defect NIC with a new one (having a different MAC), without to adopt either the MAC or the name of the slave interface in the configuration files.
Note also: Bonding slave interfaces are reserved for the bonding and are not usable for any another purposes (unlike e.g. interfaces used for VLANs) and the bonding master manages the slaves itself, e.g. it sets the MAC address on the slaves. To configure this accordingly, set BOOTPROTO=none in the ifcfg file of each slave interfaces to avoids any link-layer or IP setup on these interfaces.

BONDING_MODULE_OPTS

contains bonding options. Here you can set interface timeouts or working modes (’mode=active-backup’ for backup mode). For additional information take a look into the documentation mentioned at the bottom. Note, that this options are not passed as parameters to the bonding kernel module any more, but set via sysfs interface. This variable will be renamed in the feature.

BONDING_SKIP_REMOVE_WORKAROUND

When set to "yes", a bonding interface will be not removed while ifdown any more to avoid problems, e.g. when some third party kernel module, such as Veritas ’llt’ module, does not react correctly to the UNREGISTER event and does not remove its references to the bonding interface causing all network related operation to stuck.

Note: the bonding options are not reverted when this option is enabled and it is required to either explicitly keep the old options and set them to their default setting on bonding configuration changes or to reboot.

Example

Example for a bonding interface on eth0 and eth1 using the backup mode

ifcfg-bond0
STARTMODE=’onboot’
BOOTPROTO=’static’
IPADDR=’192.168.0.1/24’
BONDING_MASTER=’yes’
BONDING_SLAVE_0=’eth0’
BONDING_SLAVE_1=’eth1’
BONDING_MODULE_OPTS=’mode=active-backup miimon=100’

ifcfg-eth0
STARTMODE=’onboot’
BOOTPROTO=’none’
#ETHTOOL_OPTIONS=’wol g’

ifcfg-eth1
STARTMODE=’onboot’
BOOTPROTO=’none’
#ETHTOOL_OPTIONS=’wol g’

Additional Information

For additional and more general information take a look into /usr/src/linux/Documentation/networking/bonding.txt. Maybe you need to install the kernel sources to get this additional documentation.

The configuration of routes for this kind of interface does not differ from ordinary interfaces. See man routes for details.

BUGS

Please report bugs at <http://www.suse.de/feedback>

AUTHOR

Christian Zoz <zoz@suse.de> -- ifup script
Wilken Gottwalt <wgottwalt@suse.de> -- ifcfg-bonding manual page

SEE ALSO

ifcfg(5), ifup(8).






Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.