summaryrefslogtreecommitdiff
path: root/share/man/man5/ethers.5
blob: fd55b38e1b8d2cb81400b373abd304447291e0f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
51
.\"	$NetBSD: ethers.5,v 1.2 1994/11/30 19:31:16 jtc Exp $
.\"
.\"     Written by Roland McGrath <roland@frob.com>.  Public domain.
.\"
.Dd December 16, 1993
.Dt ETHERS 5
.Os OpenBSD
.Sh NAME
.Nm ethers
.Nd Ethernet host name data base
.Sh DESCRIPTION
The
.Nm ethers
file maps Ethernet addresses to host names.
Lines consist of an address and a host name, separated by any number of blanks and/or tab characters.
A ``#'' indicates the beginning of a comment; characters up to the end of
the line are not interpreted by routines which search the file.
.Pp
Ethernet addresses are expressed as six hexadecimal numbers separated by colons.  The functions described in 
.Xr ethers 3
and
.Xr ether_aton 3
can read and produce this format.
.Pp
The
.Nm ethers
file has support for YP functionality.
.Sh FILES
.Bl -tag -width /etc/ethers -compact
.It Pa /etc/ethers
The
.Nm ethers
file resides in
.Pa /etc .
.El
.Sh SEE ALSO
.Xr ethers 3 ,
.Xr diskless 8
.Sh BUGS
A name server should be used instead of a static file.
.br
Lines in
.Pa /etc/ethers
are limited to
.Ev BUFSIZE
characters (currently 1024).  Longer lines will be ignored.
.Sh HISTORY
The
.Nm ethers
file format was adopted from SunOS and appeared in
NetBSD 0.9b.