ifdown (8)Table of Contents
ifdown - take a network interface down
ifdown [-nv] [--no-act] [--verbose] [-i FILE|--interfaces=FILE] [--allow CLASS] -a|IFACE...
- -a, --all
- If given to ifup, affect all interfaces marked auto. Interfaces are brought up in the order in which they are defined in /etc/network/interfaces. If given to ifdown, affect all defined interfaces. Interfaces are brought down in the order in which they are currently listed in the state file. Only interfaces defined in /etc/network/interfaces will be brought down.
- Force configuration or deconfiguration of the interface.
- -h, --help
- Show summary of options.
- Only allow interfaces listed in an allow-CLASS line in /etc/network/interfaces to be acted upon.
- -i FILE, --interfaces=FILE
- Read interface definitions from FILE instead of from /etc/network/interfaces.
- -n, --no-act
- Don’t configure any interfaces or run any "up" or "down" commands.
- Don’t run any mappings. See interfaces(5) for more information about the mapping feature.
- -V, --version
- Show copyright and version information.
- -v, --verbose
- Show commands as they are executed.
- ifup -a
- Bring up all the interfaces defined with auto in /etc/network/interfaces
- ifup eth0
- Bring up interface eth0
- ifup eth0=home
- Bring up interface eth0 as logical interface home
- ifdown -a
- Bring down all interfaces that are currently up.
The program does not configure network interfaces directly; it runs low level utilities such as ifconfig and route to do its dirty work.
- definitions of network interfaces See interfaces(5) for more information.
- current state of network interfaces
The file /etc/network/run/ifstate must be writable for ifup or ifdown to work properly. If that location is not writable (for example, because the root filesystem is mounted read-only for system recovery) then /etc/network/run/ifstate should be made a symbolic link to a writable location. If that is not possible then you can use the --force option to run configuration or deconfiguration commands without updating the file.
Note that the program does not run automatically: ifup alone does not bring up interfaces that appear as a result of hardware being installed and ifdown alone does not bring down interfaces that disappear as a result of hardware being removed. To automate the configuration of network interfaces you need to install other packages such as hotplug(8) or ifplugd(8) .interfaces(5) , ifconfig(8) .
- edac-util (1)
- XCirculateSubwindows (3x)
- pfssize (1)
- pts-subscribe (1)
- Gtk2::Ex::FormFactory::CheckButtonGroup (3pm)
- init_mib_internals (3snmp)
- MPI_Get_count (3)
- orbit-name-server-2 (1)
- QAxScriptEngine (3qt)
- clagtm (3)
- lockfile_create (3)
- Test::Unit::TestCase (3pm)
- SquarifiedTreeMap (3)
- bridge-utils-interfaces (5)
- Mail::Message::Head::ListGroup (3pm)
- tigr-long-orfs (1)
- BN_BLINDING_new (3ssl)
- shell-quote (1p)
- std::ostream (3cxx)
- tping (1)