Commit | Line | Data |
---|---|---|
09e42bf2 KM |
1 | .\" Copyright (c) 1983 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
292f29f3 | 5 | .\" @(#)ifconfig.8 6.1 (Berkeley) %G% |
09e42bf2 | 6 | .\" |
292f29f3 | 7 | .TH IFCONFIG 8C "" |
09e42bf2 KM |
8 | .UC 5 |
9 | .SH NAME | |
10 | ifconfig \- configure network interface parameters | |
11 | .SH SYOPNSIS | |
12 | .B /etc/ifconfig | |
13 | interface | |
14 | [ | |
15 | .I address | |
292f29f3 KM |
16 | [ |
17 | .I dest_address | |
18 | ] ] [ | |
09e42bf2 KM |
19 | .I parameters |
20 | ] | |
21 | .SH DESCRIPTION | |
22 | .I Ifconfig | |
23 | is used to assign an address | |
24 | to a network interface and/or configure | |
25 | network interface parameters. | |
26 | .I Ifconfig | |
27 | must be used at boot time to define the network address | |
28 | of each interface present on a machine; it may also be used at | |
29 | a later time to redefine an interface's address. The | |
30 | .I interface | |
31 | parameter is a string of the form ``name unit'', e.g. ``en0'', while | |
32 | the address is either a host name present in the host name data | |
33 | base, | |
34 | .IR hosts (5), | |
35 | or a DARPA Internet address expressed in the Internet standard | |
36 | ``dot notation''. | |
37 | .PP | |
38 | The following parameters may be set with | |
39 | .IR ifconfig : | |
40 | .TP 15 | |
41 | .B up | |
42 | Mark an interface ``up''. | |
43 | .TP 15 | |
44 | .B down | |
45 | Mark an interface ``down''. When an interface is | |
46 | marked ``down'', the system will not attempt to | |
47 | transmit messages through that interface. | |
48 | .TP 15 | |
49 | .B trailers | |
50 | Enable the use of a ``trailer'' link level encapsulation when | |
51 | sending (default). | |
52 | If a network interface supports | |
53 | .IR trailers , | |
54 | the system will, when possible, encapsulate outgoing | |
55 | messages in a manner which minimizes the number of | |
56 | memory to memory copy operations performed by the receiver. | |
57 | .TP 15 | |
58 | .B \-trailers | |
59 | Disable the use of a ``trailer'' link level encapsulation. | |
60 | .TP 15 | |
61 | .B arp | |
62 | Enable the use of the Address Resolution Protocol in mapping | |
63 | between network level addresses and link level addresses (default). | |
64 | This is currently implemented for mapping between DARPA Internet | |
292f29f3 | 65 | addresses and 10Mb/s Ethernet addresses. |
09e42bf2 KM |
66 | .TP 15 |
67 | .B \-arp | |
68 | Disable the use of the Address Resolution Protocol. | |
292f29f3 KM |
69 | .TP 15 |
70 | .B debug | |
71 | Enable driver dependent debugging code; usually, this turns on | |
72 | extra console error logging. | |
73 | .TP 15 | |
74 | .B \-debug | |
75 | Disable driver dependent debugging code. | |
09e42bf2 KM |
76 | .PP |
77 | .I Ifconfig | |
78 | displays the current configuration for a network interface | |
79 | when no optional parameters are supplied. | |
80 | .PP | |
81 | Only the super-user may modify the configuration of a network interface. | |
82 | .SH DIAGNOSTICS | |
83 | Messages indicating the specified interface does not exit, the | |
84 | requested address is unknown, the user is not privileged and | |
85 | tried to alter an interface's configuration. | |
86 | .SH "SEE ALSO" | |
87 | rc(8), intro(4N), netstat(1) |