1999-03-17 23:19:44 +03:00
|
|
|
.\" $NetBSD: ethers.5,v 1.5 1999/03/17 20:19:45 garbled Exp $
|
1993-12-16 18:57:28 +03:00
|
|
|
.\"
|
|
|
|
.\" Written by Roland McGrath <roland@frob.com>. Public domain.
|
|
|
|
.\"
|
|
|
|
.Dd December 16, 1993
|
|
|
|
.Dt ETHERS 5
|
1999-03-17 23:19:44 +03:00
|
|
|
.Os
|
1993-12-16 18:57:28 +03:00
|
|
|
.Sh NAME
|
|
|
|
.Nm ethers
|
|
|
|
.Nd Ethernet host name data base
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
1998-04-29 15:33:55 +04:00
|
|
|
.Nm
|
|
|
|
file maps Ethernet MAC addresses to host names.
|
|
|
|
Lines consist of an address and a host name, separated by any number
|
|
|
|
of blanks and/or tab characters.
|
|
|
|
A ``#'' character indicates the beginning of a comment;
|
|
|
|
characters up to the end of
|
1993-12-16 18:57:28 +03:00
|
|
|
the line are not interpreted by routines which search the file.
|
|
|
|
.Pp
|
1998-04-29 15:33:55 +04:00
|
|
|
Ethernet MAC addresses are expressed as six hexadecimal numbers separated
|
|
|
|
by colons, e.g. "08:00:20:00:5a:bc".
|
|
|
|
The functions described in
|
1993-12-16 18:57:28 +03:00
|
|
|
.Xr ethers 3
|
|
|
|
and
|
|
|
|
.Xr ether_aton 3
|
|
|
|
can read and produce this format.
|
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width /etc/ethers -compact
|
|
|
|
.It Pa /etc/ethers
|
|
|
|
The
|
1998-04-29 15:33:55 +04:00
|
|
|
.Nm
|
1993-12-16 18:57:28 +03:00
|
|
|
file resides in
|
|
|
|
.Pa /etc .
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr ethers 3
|
|
|
|
.Sh BUGS
|
|
|
|
A name server should be used instead of a static file.
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm ethers
|
1998-04-29 15:33:55 +04:00
|
|
|
file format was adopted from
|
|
|
|
.Tn SunOS
|
|
|
|
and appeared in
|
1998-02-06 08:54:12 +03:00
|
|
|
.Nx 1.0 .
|