Interface Control Scripts - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

Chapter 8. Network Interfaces
— An infrared interface allows information between devices, such as a laptop
ifcfg-irlan0
and a printer, to flow over an infrared link. This works in a similar way to an Ethernet device
except that it commonly occurs over a peer-to-peer connection.
— A Parallel Line Interface Protocol (PLIP) connection works much the same
ifcfg-plip0
way as an Ethernet device, except that it utilizes a parallel port.
— Token Ring topologies are not as common on Local Area Networks (LANs) as
ifcfg-tr0
they once were, having been eclipsed by Ethernet.

3. Interface Control Scripts

The interface control scripts activate and deactivated system interfaces. There are two primary
interface control scripts,
the
/etc/sysconfig/network-scripts/
The
and
ifup
ifdown
When either of these scripts are called, they require the value of the interface to be specified,
such as:
ifup eth0
Caution
The
ifup
use to bring up and take down network interfaces.
The following scripts are described for reference purposes only.
Two files used to perform a variety of network initialization tasks during the process of bringing
up a network interface are
/etc/sysconfig/network-scripts/network-functions
Function Files"
for more information.
After verifying that an interface has been specified and that the user executing the request is
allowed to control the interface, the correct script brings the interface up or down. The following
are common interface control scripts found within the
directory:
— Configures IP aliases from interface configuration files when more than one
ifup-aliases
IP address is associated with an interface.
and
ifup-ippp
ifdown-ippp
128
and
/sbin/ifdown
/sbin/ifup
directory.
interface scripts are symbolic links to scripts in the
and
interface scripts are the only scripts that the user should
ifdown
/etc/rc.d/init.d/functions
— Brings ISDN interfaces up and down.
, that call on control scripts located in
/sbin/
and
. Refer to
Section 4, "Network
/etc/sysconfig/network-scripts/
directory.

Advertisement

Table of Contents
loading

Table of Contents