16.3. Interface Control Scripts
ifdowninterface scripts are symbolic links to scripts in the
/sbin/directory. When either of these scripts are called, they require the value of the interface to be specified, such as:
ifdowninterface scripts are the only scripts that the user should use to bring up and take down network interfaces.
/etc/sysconfig/network-scripts/network-functions. Refer to Section 16.6, “Network Function Files” for more information.
IPaliases from interface configuration files when more than one
IPaddress is associated with an interface.
- Brings ISDN interfaces up and down.
- Brings IPsec interfaces up and down.
IPv6interfaces up and down.
- Brings up an IPX interface.
- Brings up a PLIP interface.
- Brings up a USB interface for network connections.
- Contains commands to be executed after an interface is brought up or down.
- Brings a PPP interface up or down.
- Adds static routes for a device as its interface is brought up.
- Contains function calls related to bringing up and down an
IPv6tunnel within an
- Brings a SLIP interface up or down.
- Brings up a wireless interface.
/etc/sysconfig/network-scripts/directory can cause interface connections to act irregularly or fail. Only advanced users should modify scripts related to a network interface.
/sbin/servicecommand on the network service (
/etc/rc.d/init.d/network), as illustrated the following command:
service network <action>
service network status