IFCONFIG(8N) COMMAND REFERENCE IFCONFIG(8N)
NAME
ifconfig - configure network interface parameters
SYNOPSIS
/etc/ifconfig interface [ address ] [ parameters ]
DESCRIPTION
Ifconfig is used to assign an address to a network interface
and/or configure network interface parameters. Ifconfig
must be used at boot time to define the network address of
each interface present on a machine; it may also be used at
a later time to redefine an interface's address. The
interface parameter is a string of the form nameunit, e.g.
en0, while the address is either a host name present in the
host name data base, hosts(5n), or a DARPA Internet address
expressed in the Internet standard ``dot notation''.
OPTIONS
The following parameters may be set with ifconfig:
up Mark an interface up.
down
Mark an interface down. When an interface is marked
down, the system will not attempt to transmit messages
through that interface.
trailers
Enable the use of a trailer link level encapsulation
when sending (default). If a network interface supports
trailers, the system will, when possible, encapsulate
outgoing messages in a manner which minimizes the number
of memory to memory copy operations performed by the
receiver.
-trailers
Disable the use of a ``trailer'' link level
encapsulation.
arp Enable the use of the Address Resolution Protocol in
mapping between network level addresses and link level
addresses (default). This is currently implemented for
mapping between DARPA Internet addreses and 10Mb/s
Ethernet addresses.
-arp
Disable the use of the Address Resolution Protocol.
debug
Enable device driver specific debugging output.
-debug
Printed 10/17/86 1
IFCONFIG(8N) COMMAND REFERENCE IFCONFIG(8N)
Disable device driver specific debugging output.
Ifconfig displays the current configuration for a network
interface when no optional parameters are supplied.
Only the super-user may modify the configuration of a
network interface.
DIAGNOSTICS
Messages indicating the specified interface does not exit,
the requested address is unknown, the user is not privileged
and tried to alter an interface's configuration.
RETURN VALUE
[0] Ifconfig was successful.
[1] Ifconfig was unsuccessful.
[USAGE] Incorrect command line syntax. Execution
terminated.
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
[NP_WARN] An error warranting a warning message
occurred. Execution continues.
SEE ALSO
intro(4n), netstat(1n), rc(8).
Printed 10/17/86 2
%%index%%
na:72,85;
sy:157,244;
de:401,789;
op:1190,1593;2927,312;
di:3239,263;
rv:3502,624;
se:4126,147;
%%index%%000000000129