System Administration Guide: IP Services

When Local Files Provide Name Service

On a network that uses local files for name service, machines that run in local files mode consult their individual /etc/inet/hosts files for IPv4 addresses and host names of other machines on the network. Therefore, these machine's /etc/inet/hosts files must contain the following:

The figure below shows the /etc/inet/hosts file for machine tenere. This machine runs in local files mode. Notice that the file contains the IPv4 addresses and host names for every machine on the 192.9.200 network. The file also contains the IPv4 address and interface name timbuktu-201. This interface connects the 192.9.200 network to the 192.9.201 network.

A machine that is configured as a network client uses the local /etc/inet/hosts file for its loopback address and IPv4 address.

Figure 5–1 /etc/inet/hosts File for Machine Running in Local Files Mode

Shows what the hosts file might look like for a machine that is running in local files mode.