ifup & ifdown Flashcards
ifup
The ifup and ifdown commands may be used to configure (or, respectively, deconfigure) network interfaces based on interface definitions in the file /etc/network/interfaces.
ifup
-a, –all, Process all interfaces marked auto.
–allow CLASS, Ignorenon-“allow-CLASS” interfaces.
-i, –interfaces FILE, Use FILE for interface definitions.
–state-dir DIR, Use DIR to store state information.
- X, –exclude PATTERN, Exclude interfaces by PATTERN.
- n, –no-act, Print what would happen but don’t do it.
- v, –verbose
- o, OPTION=VALUE, Set OPTION to VALUE as though it were in /etc/network/interfaces.
–no-mappings, Don’t run any mappings.
–no-scripts, Don’t run any hook scripts.
–no-loopback, Don’t act specially on the loopback devices.
–force, Force de/configuration.
–ignore-errors
ifdown
The ifup and ifdown commands may be used to configure (or, respectively, deconfigure) network interfaces based on interface definitions in the file /etc/network/interfaces.
ifdown
-a, –all, Process all interfaces marked auto.
–allow CLASS, Ignorenon-“allow-CLASS” interfaces.
-i, –interfaces FILE, Use FILE for interface definitions.
–state-dir DIR, Use DIR to store state information.
- X, –exclude PATTERN, Exclude interfaces by PATTERN.
- n, –no-act, Print what would happen but don’t do it.
- v, –verbose
- o, OPTION=VALUE, Set OPTION to VALUE as though it were in /etc/network/interfaces.
–no-mappings, Don’t run any mappings.
–no-scripts, Don’t run any hook scripts.
–no-loopback, Don’t act specially on the loopback devices.
–force, Force de/configuration.
–ignore-errors