
162 Chapter 13. Network Scripts
Within each of the interface configuration files, the following values are common:
• BOOTPROTO= protocol , where protocol is one of the following:
• none — No boot-time protocol should be used.
• bootp — The BOOTP protocol should be used.
• dhcp — The DHCP protocol should be used.
• BROADCAST=
address , where address is the broadcast address.
• DEVICE= name , where name is the name of the physical device (except
dynamically-allocated PPP devices where it is the logical name).
• IPADDR=
address , where address is the IP address.
• NETMASK= mask , where mask is the netmask value.
• NETWORK= address , where address is the network address.
• ONBOOT= answer , where answer is one of the following:
• yes — This device should be activated at boot-time.
• no — This device should not be activated at boot-time.
• USERCTL= answer , where answer is one of the following:
• true — Non-root users are allowed to control this device.
• false — Non-root users are not allowed to control this device.
Other common interface configuration files that use these options include ifcfg-lo, which controls
the IP protocol’s local loopback device, ifcfg-irlan0, which arranges settings for the first infrared
device, ifcfg-plip0, which controls the first PLIP device, and ifcfg-tr0, used with the first
Token Ring device.
A local loopback interface is often used in testing, as well as a variety of applications that require an
IP address pointing back to the same system. Any data sent to the loopback device is immediately
returned to the host’s network layer.
The infrared interface allows information between devices, such as a laptop and a printer, to flow over
an infrared link, which 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 way, except that it utilizes
a parallel port.
Token Ring topologies are not as common on Local Area Networks as they once were, having been
eclipsed by Ethernet.
13.1.2. Dialup Interfaces
If you connect to the Internet via PPP dialup connection, you need a configuration file for that interface
as well.
This file is created automatically for you when you use RP3 or Kppp to create a dialup account. In
addition, any changes to dialup account settings are reflected in these interface configuration files. The
Official Red Hat Linux Getting Started Guide contains instructions for using these GUI-based dialup
Commenti su questo manuale