version 1 showing authors affecting page license.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
ifupdown |
|
|
2 |
!!!ifupdown |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
NOTES |
|
|
8 |
FILES |
|
|
9 |
AUTHOR |
|
|
10 |
SEE ALSO |
|
|
11 |
---- |
|
|
12 |
!!NAME |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
ifup - bring a network interface up |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
ifdown - take a network interface down |
|
|
19 |
!!SYNOPSIS |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
__ifup [[-sinv] [[--interfaces=__''file''__] [[--no-act] |
|
|
23 |
[[--verbose] [[-a|__''ifaces''__]__ |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
__ifdown [[-sinv] [[--interfaces=__''file''__] |
|
|
27 |
[[--no-act] [[--verbose] |
|
|
28 |
[[-a|__''ifaces''__]__ |
|
|
29 |
!!DESCRIPTION |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
The __ifup__ and __ifdown__ commands may be used to |
|
|
33 |
configure (or, respectively, deconfigure) network |
|
|
34 |
interfaces, based on descriptions of the interfaces entered |
|
|
35 |
into the file ''/etc/network/interfaces''. |
|
|
36 |
!!OPTIONS |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
These programs follow the usual GNU command line syntax, |
|
|
40 |
with long options starting with two dashes (`-'). A summary |
|
|
41 |
of options is included below. |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
__-h, --help__ |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
Show summary of options. |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
__-V, --version__ |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
Show copyright and version information. |
|
|
54 |
|
|
|
55 |
|
|
|
56 |
__-a, --all__ |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
Affect all interfaces marked __auto__. |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
__-i__ file__, --interfaces__ file |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
Read interface definitions from a different |
|
|
66 |
file. |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
__-v, --verbose__ |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
Show commands being executed. |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
__-n, --no-act__ |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
Don't actually execute the commands (this doesn't disable |
|
|
79 |
mappings, however) |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
__--no-mappings__ |
|
|
83 |
|
|
|
84 |
|
|
|
85 |
Don't run any mappings. |
|
|
86 |
|
|
|
87 |
|
|
|
88 |
__--force__ |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
Force de/configuration of interface. |
|
|
92 |
!!NOTES |
|
|
93 |
|
|
|
94 |
|
|
|
95 |
The __ifup__ and __ifdown__ programs don't actually |
|
|
96 |
know anything about configuring interfaces themselves but |
|
|
97 |
instead invoke lower-level utilities such as __ifconfig__ |
|
|
98 |
and __route__ to do the actual dirtywork. The main |
|
|
99 |
advantages to using __ifup__ and __ifdown__ instead of |
|
|
100 |
calling the lower-level utilities directy is the ability to |
|
|
101 |
keep all your interface specifications in a single (easily |
|
|
102 |
parsable) file, and to not have to deal with the various |
|
|
103 |
idiosyncracies of the lower-level commands. |
|
|
104 |
!!FILES |
|
|
105 |
|
|
|
106 |
|
|
|
107 |
__/etc/network/interfaces__ |
|
|
108 |
|
|
|
109 |
|
|
|
110 |
Descriptions of all the network interfaces the system |
|
|
111 |
has. |
|
|
112 |
|
|
|
113 |
|
|
|
114 |
__/etc/network/ifstate__ |
|
|
115 |
|
|
|
116 |
|
|
|
117 |
Current state of network interfaces. |
|
|
118 |
!!AUTHOR |
|
|
119 |
|
|
|
120 |
|
|
|
121 |
The ifupdown suite written by Anthony Towns |
|
|
122 |
!!SEE ALSO |
|
|
123 |
|
|
|
124 |
|
|
|
125 |
interfaces(5), ifconfig(8), |
|
|
126 |
---- |