ethers(4) TCP/IP 5.4.2 ethers(4)
NAME
ethers - Ethernet address to hostname database or YP domain
DESCRIPTION
The ethers file contains information regarding the known (48 bit)
Ethernet addresses of hosts on the Internet. For each host on an
Ethernet, a single line should be present with the following
information:
ethernetaddress officialhostname
Separate items by any number of blanks and/or TAB characters. A `#'
indicates the beginning of a comment extending to the end of line.
The standard form for Ethernet addresses is ``x:x:x:x:x:x'' where x
is a hexadecimal number between 0 and ff, representing one byte. The
address bytes are always in network order. Host names may contain
any printable character other than a space, tab, newline, or comment
character. It is intended that hostnames in the ethers file
correspond to the hostnames in the hosts(4) file.
The etherline() routine from the Ethernet address manipulation
library, ethers(3N) may be used to scan lines of the ethers file.
EXAMPLE
The following is a sample /etc/ethers file:
8:0:1b:0:a0:17 dg1
0:0:77:1a:0:6a sales
8:0:20:0:a7:5d sun1
If you use the domain name system, you should specify fully-qualified
names in addition to official hostnames. Here is the same sample
/etc/ethers file including fully-qualified names:
8:0:1b:0:a0:17 dg1
0:0:77:1a:0:6a sales
8:0:20:0:a7:5d sun1
8:0:1b:0:a0:17 dg1.tnt.acme.com
0:0:77:1a:0:6a sales.tnt.acme.com
8:0:20:0:a7:5d sun1.tnt.acme.com
For more information about the domain name system, see Managing
TCP/IP on the DG/UX (Trademark) System.
FILES
/etc/ethers
SEE ALSO
ethers(3N), hosts(4)
Licensed material--property of copyright holder(s) 1