install bond0 /sbin/modprobe bonding -o bond0
Once
/etc/modprobe.conf
is configured, and the channel bonding interface and network
interfaces are configured, the
ifup
command can be used to bring up the channel bonding
interface.
Important
Important aspects of the channel bonding interface are controlled through the
kernel module. For more information about controlling the
bonding
modules,
refer to
Section 5.2, “The Channel Bonding Module”
.
2.4. Alias and Clone Files
Two 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 single
interface, use the
ifcfg-<if-name>:<alias-value>
naming scheme.
For example, an
ifcfg-eth0:0
file could be configured to specify
DEVICE=eth0:0
and a static
IP address of 10.0.0.2, serving as an alias of an Ethernet interface already configured to receive
its IP information via DHCP in
ifcfg-eth0
. Under this configuration,
eth0
is bound to a
dynamic IP address, but the same physical network card can receive request via the fixed,
10.0.0.2 IP address.
Caution
Alias interfaces do not support DHCP.
A clone interface configuration file should use the following naming convention:
ifcfg-<if-name>-<clone-name>
. While an alias file allows multiple addresses for an existing
interface, a clone file is used to specify additional options for an interface. For example, a
standard DHCP Ethernet interface called
eth0
, may look similar to this:
DEVICE=eth0 ONBOOT=yes BOOTPROTO=dhcp
Since the default value for the
USERCTL
directive is
no
if it is not specified, users cannot bring
this interface up and down. To give users the ability to control the interface, create a clone by
copying
ifcfg-eth0
to
ifcfg-eth0-user
and add the following line to
ifcfg-eth0-user
:
USERCTL=yes
Alias and Clone Files
125
Summary of Contents for ENTERPRISE LINUX 4.5.0 -
Page 1: ...Red Hat Enterprise Linux 4 5 0 4 5 0 Reference Guide ISBN N A Publication date ...
Page 2: ...Red Hat Enterprise Linux 4 5 0 ...
Page 4: ...Red Hat Enterprise Linux 4 5 0 ...
Page 24: ...xxiv ...
Page 26: ......
Page 36: ...12 ...
Page 72: ...48 ...
Page 112: ...88 ...
Page 122: ...98 ...
Page 140: ...116 ...
Page 142: ......
Page 300: ...276 ...
Page 318: ...294 ...
Page 320: ......
Page 332: ...308 ...
Page 350: ...326 ...
Page 378: ...354 ...
Page 388: ...364 ...
Page 394: ...370 ...
Page 395: ...Part IV Appendixes ...
Page 396: ......