1 .\" Japanese Version Copyright (c) 1998 Yoshiki Sugiura
2 .\" all rights reserved.
3 .\" Translated at Sat Jan 31 12:36:58 JST 1998
4 .\" by Yoshiki Sugiura <yoy@mb.kcome.ne.jp>
5 .\" Updated Sat Dec 25 23:56:10 JST 1999
6 .\" by Kentaro Shirakata <argrath@yo.rim.or.jp>
7 .\" Updated & Modified Tue Jan 29 19:24:09 JST 2002
8 .\" by Yuichi SATO <ysato@h4.dion.ne.jp>
10 .\"WORD: Maximum Transfer Unit 最大転送単位
11 .\"WORD: Point-To-Point link ポイント間接続
12 .TH IFCONFIG 8 "14 August 2000" "net-tools" "Linux Programmer's Manual"
15 .\"O ifconfig \- configure a network interface
16 ifconfig \- ネットワーク・インタフェースの設定
19 .B "ifconfig [interface]"
21 .B "ifconfig interface [aftype] options | address ..."
25 .\"O is used to configure the kernel-resident network interfaces. It is
26 .\"O used at boot time to set up interfaces as necessary. After that, it
27 .\"O is usually only needed when debugging or when system tuning is needed.
29 はカーネルによって認識されているネットワーク・インタフェースの設定に使用する。
30 特にブート時に、必要に応じてインタフェースを設定するために使用される。
31 ブート後には、デバッグやシステムチューニングなどの特殊な目的がなければ、
34 .\"O If no arguments are given,
36 .\"O displays the status of the currently active interfaces. If
39 .\"O argument is given, it displays the status of the given interface
40 .\"O only; if a single
42 .\"O argument is given, it displays the status of all interfaces, even
43 .\"O those that are down. Otherwise, it configures an interface.
46 は現在動作しているインタフェースの状態を表示する。
47 もし一つの\fBインタフェース\fRが引数として与えられると、
51 が引数として与えられると、停止しているものも含めて、
53 以上のいずれでもない場合、ifconfig はインタフェースを設定する。
55 .\"O .SH Address Families
57 .\"O If the first argument after the interface name is recognized as
58 .\"O the name of a supported address family, that address family is
59 .\"O used for decoding and displaying all protocol addresses. Currently
60 .\"O supported address families include
62 .\"O (TCP/IP, default),
66 .\"O (AMPR Packet Radio),
68 .\"O (Appletalk Phase 2),
72 .\"O (AMPR Packet radio).
74 サポートされているアドレス・ファミリーの名前として認識されると、
75 すべてのプロトコル・アドレスの解釈と表示は、
77 現在サポートされているアドレス・ファミリーは次の通り:
94 .\"O The name of the interface. This is usually a driver name followed by
95 .\"O a unit number, for example
97 .\"O for the first Ethernet interface.
99 これは通常、ドライバーの名前に装置の番号を付けたものである。
102 は最初のイーサネット・インタフェースである。
105 .\"O This flag causes the interface to be activated. It is implicitly
106 .\"O specified if an address is assigned to the interface.
107 このフラグは、インタフェースを活動状態にする。
108 インタフェースに新しいアドレスを割り当てた場合は、
112 .\"O This flag causes the driver for this interface to be shut down.
113 このフラグは、このインタフェースのドライバを停止する。
116 .\"O Enable or disable the use of the ARP protocol on this interface.
117 ARP プロトコルの使用を有効/無効にする。
120 .\"O Enable or disable the
122 .\"O mode of the interface. If selected, all packets on the network will
123 .\"O be received by the interface.
126 もし有効にすると、ネットワーク上のすべてのパケットは
130 .\"O Enable or disable
131 .\"O .B all-multicast
132 .\"O mode. If selected, all multicast packets on the network will be
133 .\"O received by the interface.
134 .B 全マルチキャスト (all-multicast)
136 もし有効にすると、ネットワーク上のすべてのマルチキャスト・パケットは
140 .\"O This parameter sets the interface metric.
141 この引数はインタフェースメトリックを設定する。
144 .\"O This parameter sets the Maximum Transfer Unit (MTU) of an interface.
145 この引数はインタフェースの最大転送単位 (MTU) を設定する。
148 .\"O Set the remote IP address for a point-to-point link (such as
149 .\"O PPP). This keyword is now obsolete; use the
151 .\"O keyword instead.
152 (PPPのような) ポイント間接続においてリモートの IP アドレスを設定する。
153 この引数はすでに古い仕様となったので、代りに
158 .\"O Set the IP network mask for this interface. This value defaults to the
159 .\"O usual class A, B or C network mask (as derived from the interface IP
160 .\"O address), but it can be set to any value.
161 このインタフェースの IP ネットワークマスクを設定する。この値は通常、
162 (IP アドレスに対応する) クラス A,B,C の ネットマスクがデフォルトで設定
165 .B "add addr/prefixlen"
166 .\"O Add an IPv6 address to an interface.
167 IPv6 アドレスをインタフェースに追加する。
169 .B "del addr/prefixlen"
170 .\"O Remove an IPv6 address from an interface.
171 IPv6 アドレスをインタフェースから削除する。
173 .B "tunnel aa.bb.cc.dd"
174 .\"O Create a new SIT (IPv6-in-IPv4) device, tunnelling to the given destination.
175 新規の SIT (IPv6-in-IPv4) デバイスを作成し、
179 .\"O Set the interrupt line used by this device. Not all devices can
180 .\"O dynamically change their IRQ setting.
181 このデバイスにより使用される割り込みを設定する。
182 ただし、すべてのデバイスで動的な IRQ 設定の変更が可能なわけではない。
185 .\"O Set the start address in I/O space for this device.
186 このデバイスの I/O 開始アドレスを設定する。
189 .\"O Set the start address for shared memory used by this device. Only a
190 .\"O few devices need this.
191 このデバイスにより使用される共有メモリーの開始アドレスを設定する。
192 これは、いくつかのデバイスでのみ必要とされる。
195 .\"O Set the physical port or medium type to be used by the device. Not
196 .\"O all devices can change this setting, and those that can vary in what
197 .\"O values they support. Typical values for
201 .\"O (thin Ethernet),
203 .\"O (twisted-pair 10Mbps Ethernet),
205 .\"O (external transceiver) and so on. The special medium type of
207 .\"O can be used to tell the driver to auto-sense the media. Again, not
208 .\"O all drivers can do this.
209 このデバイスで使用される、物理ポートもしくは媒体タイプを設定する。
210 すべてのデバイスで、この設定の変更が可能なわけではない。
211 また可能なものでも、どの値をサポートしているかはデバイスによって異なる。
217 (twisted-pair 10Mbps イーサネット),
222 ドライバーに媒体を自動検出するよう伝える。
223 同じく、すべてのドライバでこれが可能であるわけではない。
225 .B "[-]broadcast [addr]"
226 .\"O If the address argument is given, set the protocol broadcast
227 .\"O address for this interface. Otherwise, set (or clear) the
228 .\"O .B IFF_BROADCAST
229 .\"O flag for the interface.
230 アドレスを指定すると、このインタフェースに
231 プロトコルブロードキャストアドレスを設定する。
236 .B "[-]pointopoint [addr]"
237 .\"O This keyword enables the
238 .\"O .B point-to-point
239 .\"O mode of an interface, meaning that it is a direct link between two
240 .\"O machines with nobody else listening on it.
242 .\"O If the address argument is also given, set the protocol address of
243 .\"O the other side of the link, just like the obsolete
245 .\"O keyword does. Otherwise, set or clear the
246 .\"O .B IFF_POINTOPOINT
247 .\"O flag for the interface.
248 .B ポイント間接続 (point-to-point)
253 アドレスも指定された場合は、リンクの相手側のプロトコルアドレスを設定する。
261 .\"O Set the hardware address of this interface, if the device driver
262 .\"O supports this operation. The keyword must be followed by the
263 .\"O name of the hardware class and the printable ASCII equivalent of
264 .\"O the hardware address. Hardware classes currently supported include
273 デバイスドライバーがこの操作をサポートしていれば、
274 インタフェースのハードウェアアドレスを設定する。
275 このキーワードの後には、ハードウェアのクラスの名前と
276 ハードウェアアドレスにあたる ASCII 文字列が続かなくてはならない。
287 .\"O Set the multicast flag on the interface. This should not normally be needed
288 .\"O as the drivers set the flag correctly themselves.
289 インタフェースのマルチキャストフラグを設定する。
293 .\"O The IP address to be assigned to this interface.
294 このインタフェースに割り当てる IP アドレス。
297 .\"O Set the length of the transmit queue of the device. It is useful to set this
298 .\"O to small values for slower devices with a high latency (modem links, ISDN)
299 .\"O to prevent fast bulk transfers from disturbing interactive traffic like
300 .\"O telnet too much.
302 遅延が大きく、遅いデバイス (モデム、ISDN) に対して
304 大量転送中に telnet のようなインタラクティブなトラフィックが
308 .\"O Since kernel release 2.2 there are no explicit interface statistics for
309 .\"O alias interfaces anymore. The statistics printed for the original address
310 .\"O are shared with all alias addresses on the same device. If you want per-address
311 .\"O statistics you should add explicit accounting
312 .\"O rules for the address using the
319 同じデバイスの全ての別名アドレスで共通のものとなる。
322 コマンドを使って、そのアドレスの明示的な集計ルールを追加すること。
324 .\"O Interrupt problems with Ethernet device drivers fail with EAGAIN. See
325 .\"O .I http://cesdis.gsfc.nasa.gov/linux/misc/irq-conflict.html
326 .\"O for more information.
327 イーサネットデバイスドライバの割り込み問題により、
330 .I http://cesdis.gsfc.nasa.gov/linux/misc/irq-conflict.html
338 .I /proc/net/if_inet6
341 .\"O While appletalk DDP and IPX addresses will be displayed they cannot be
342 .\"O altered by this command.
343 Appletalk DDP と IPX はアドレスの表示はするが、
344 このコマンドにより変更することはできない。
347 route(8), netstat(8), arp(8), rarp(8), ipchains(8)
350 Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
352 Alan Cox, <Alan.Cox@linux.org>
354 Phil Blundell, <Philip.Blundell@pobox.com>