File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man8 / ifconfig.8c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:27:17 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v121, HEAD
Power 6/32 Unix version 1.21

.TH IFCONFIG 8C "28 August 1983"
.UC 4
.SH NAME
ifconfig \- configure network interface parameters
.SH SYOPNSIS
.B /etc/ifconfig
interface
[
.I address
] [
.I parameters
]
.SH DESCRIPTION
.I Ifconfig
is used to assign an address
to a network interface and/or configure
network interface parameters.
.I 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. 
For the Ethernet network, the network interface must be assigned with both
Internet and Ethernet station addresses using this command.
.PP 
The
.I interface
parameter is a string of the form 'name unit', e.g. 'en0'.
.PP
The 
.I address 
parameter could be one of the following types:
.IP -
a host name in the file
.I /etc/hosts, 
or 
.IP -
a network name in the file
.I /etc/networks, 
or
.IP -
a DARPA Internet address expressed in the Internet standard
"dot notation", or 
.IP - 
an Ethernet station address whose format is
Ex.x.x.x.x.x where x is a 
.I hexadecimal 
number.
.PP
.I Ifconfig
determines the address type by the sequence of the above list.
The address names can not be any of the parameters described below.
.PP
The following parameters may be set with 
.IR ifconfig :
.TP 15
.B up
Mark an interface ``up''. 
.TP 15
.B down
Mark an interface ``down''.  When an interface is
marked ``down'', the system will not attempt to
transmit messages through that interface. 
.TP 15
.B trailers
Enable the use of a ``trailer'' link level encapsulation when
sending (default).
If a network interface supports
.IR 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.
.TP 15
.B \-trailers
Disable the use of a ``trailer'' link level encapsulation.
.TP 15
.B 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.
.TP 15
.B \-arp
Disable the use of the Address Resolution Protocol.
.PP
.I Ifconfig
displays the current configuration for a network interface
when no optional parameters are supplied.
.PP
Only the super-user may modify the configuration of a network interface.
.SH DIAGNOSTICS
Messages indicating the specified interface does not exit; the
requested address is unknown; the Ethernet station address format is invalid; 
the user is not privileged and tried to alter an interface's configuration.
.SH "SEE ALSO"
rc(8), intro(4N), netstat(1), nstat(8)
.SH "BUGS"
.I
ifconfig
does not display the station address of an Ethernet interface. The user
must use 
.I nstat
to get the station address.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.