[Next] [Previous] [Up] [Top] [Contents]

19.2 Host Names and addresses

19.2.1 Static Tables

The table of host names and IP addresses is kept in /etc/hosts, in the form:

# IP-address hostname alias

127.0.0.1 localhost loghost

128.146.116.4 nyssa nyssa.acs.ohio-state.edu loghost

128.146.116.1 tardis tardis.acs.ohio-state.edu

Generally you will keep the local host name here, it's server, or for a server, it's diskless clients, and maybe a few other frequently used machines.

Diskless machines require that the server know their ethernet address, kept in the /etc/ethers, e.g:

# ethernet-address hostname

00:00:A7:00:11:3D bongo


Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]