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