ifup & ifdown Flashcards

1
Q

ifup

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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.
A
  • 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ifdown

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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.
A
  • 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly