Professional Documents
Culture Documents
4.2.2. Channel Bonding Interfaces: Prev Next
4.2.2. Channel Bonding Interfaces: Prev Next
Prev
Next
After the channel bonding interface is created, the network interfaces to be bound together must be configured by adding the M A S T E R =and S L A V E =directives to their configuration files. The configuration files for each of the channelbonded interfaces can be nearly identical. For example, if two Ethernet interfaces are being channel bonded, both e t h 0and e t h 1may look like the following example:
D E V I C E = e t h < N > B O O T P R O T O = n o n e O N B O O T = y e s M A S T E R = b o n d 0 S L A V E = y e s U S E R C T L = n o
In this example, replace < N >with the numerical value for the interface. For a channel bonding interface to be valid, the kernel module must be loaded. To ensure that the module is loaded when the channel bonding interface is brought up, create a new file as root named < b o n d i n g > . c o n fin the / e t c / m o d p r o b e . d /directory. Note that you can name this file anything you like as long as it ends with a . c o n fextension. Insert the following line in this new file:
a l i a sb o n d < N >b o n d i n g
Replace < N >with the interface number, such as 0 . For each configured channel bonding interface, there must be a corresponding entry in your new / e t c / m o d p r o b e . d / < b o n d i n g > . c o n ffile.
29/08/13
Parameters for the bonding kernel module must be specified as a spaceseparated list in the B O N D I N G _ O P T S = " < b o n d i n gp a r a m e t e r s > "directive in the ifcfgbond< N >interface file. Do not specify options for the bonding device in / e t c / m o d p r o b e . d / < b o n d i n g > . c o n f , or in the deprecated / e t c / m o d p r o b e . c o n ffile. For further instructions and advice on configuring the bonding module and to view the list of bonding parameters, refer to Section 30.5.2, The Channel Bonding Module.
Prev
4.2. Interface Configuration Files
Up
Home
Next
4.2.3. Alias and Clone Files
docs.fedoraproject.org/en-US/Fedora/13/html/Deployment_Guide/s2-networkscripts-interfaces-chan.html
2/2