Rev | Line | |
---|
[9] | 1 | .TH IFCONFIG 8
|
---|
| 2 | .SH NAME
|
---|
| 3 | ifconfig \- configure a TCP/IP device
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | .B ifconfig
|
---|
| 6 | .RB [ \-I
|
---|
| 7 | .IR ip-device ]
|
---|
| 8 | .RB [ \-h
|
---|
| 9 | .IR ipaddr ]
|
---|
| 10 | .RB [ \-n
|
---|
| 11 | .IR netmask ]
|
---|
| 12 | .RB [ \-m
|
---|
| 13 | .IR mtu ]
|
---|
| 14 | .RB [ \-iva ]
|
---|
| 15 | .SH DESCRIPTION
|
---|
| 16 | .B Ifconfig
|
---|
| 17 | initializes a TCP/IP device setting the IP address and/or netmask. It will
|
---|
| 18 | report the address and netmask set. This command may be used if the system
|
---|
| 19 | has not been configured properly yet. It is only used at boot time to set a
|
---|
| 20 | fixed address for a system without a physical ethernet. Normally the
|
---|
| 21 | .B inet
|
---|
| 22 | task will find it out by itself from the RARP server.
|
---|
| 23 | .SH OPTIONS
|
---|
| 24 | .TP
|
---|
| 25 | .B \-h
|
---|
| 26 | The decimal TCP/IP address to set.
|
---|
| 27 | .TP
|
---|
| 28 | .B \-n
|
---|
| 29 | The netmask to set.
|
---|
| 30 | .TP
|
---|
| 31 | .B \-m
|
---|
| 32 | The mtu to set. (Minix-vmd only.)
|
---|
| 33 | .TP
|
---|
| 34 | .B \-i
|
---|
| 35 | Don't set the IP address or netmask if already set. This way ifconfig cannot
|
---|
| 36 | interfere if the numbers have been found out by RARP.
|
---|
| 37 | .TP
|
---|
| 38 | .B \-v
|
---|
| 39 | Report IP address and netmask. This is the default action if there are no
|
---|
| 40 | other options.
|
---|
| 41 | .TP
|
---|
| 42 | .B \-a
|
---|
| 43 | Report the IP addresses and netmasks of all configured interfaces.
|
---|
| 44 | .SH "SEE ALSO"
|
---|
| 45 | .BR hostaddr (1),
|
---|
| 46 | .BR rarpd (8),
|
---|
| 47 | .BR inet (8),
|
---|
| 48 | .BR boot (8).
|
---|
| 49 | .SH AUTHOR
|
---|
| 50 | Kees J. Bot (kjb@cs.vu.nl)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.