ifup - Man Page
Examples (TL;DR)
- Enable interface eth0:
ifup eth0
- Enable all the interfaces defined with "auto" in
/etc/network/interfaces
:ifup -a
Name
ifup ā bring a network interface up
ifdown ā take a network interface down
Synopsis
ifup CONFIG [boot]
ifdown CONFIG
Description
The ifup and ifdown commands may be used to configure (or, respec- tively, deconfigure) network interfaces based on interface definitions in the files /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-<configuration>
These scripts take one argument normally: the name of the configuration (e.g. eth0). They are called with a second argument of "boot" during the boot sequence so that devices that are not meant to be brought up on boot (ONBOOT=no, see below) can be ignored at that time.
Files
- /etc/sysconfig/network
- /etc/sysconfig/network-scripts/ifcfg-<configuration>
The file defining an interface.
See Also
/usr/share/doc/initscripts-*/sysconfig.txt
Info
2009-10-27 System Administration tools and Daemons