|
install bond0 /sbin/modprobe bonding -o bond0Once /etc/modprobe.conf is configured, and the channel bonding interface and networkinterfaces are configured, the ifup command can be used to bring up the channel bondinginterface.ImportantImportant aspects of the channel bonding interface are controlled through thekernel module. For more information about controlling the bonding modules,refer to Section 5.2, “The Channel Bonding Module”.2.4. Alias and Clone FilesTwo lesser-used types of interface configuration files are alias and clone files.Alias interface configuration files, which are used to bind multiple addresses to a singleinterface, use the ifcfg-: naming scheme.For example, an ifcfg-eth0:0 file could be configured to specify DEVICE=eth0:0 and a staticIP address of 10.0.0.2, serving as an alias of an Ethernet interface already configured to receiveits IP information via DHCP in ifcfg-eth0. Under this configuration, eth0 is bound to adynamic IP address, but the same physical network card can receive request via the fixed,10.0.0.2 IP address.CautionAlias interfaces do not support DHCP.A clone interface configuration file should use the following naming convention:ifcfg--. While an alias file allows multiple addresses for an existinginterface, a clone file is used to specify additional options for an interface. For example, astandard DHCP Ethernet interface called eth0, may look similar to this:DEVICE=eth0 ONBOOT=yes BOOTPROTO=dhcpSince the default value for the USERCTL directive is no if it is not specified, users cannot bringthis interface up and down. To give users the ability to control the interface, create a clone bycopying ifcfg-eth0 to ifcfg-eth0-user and add the following line to ifcfg-eth0-user:USERCTL=yesAlias and Clone Files125 PreviousNext |