Configure Hosts for Network Client
- Become superuser.
- Check the directory for the existence of an /etc/nodename file. If one exists, delete it. Eliminating /etc/nodename causes the system to use the hostconfig program to obtain the host name, domain name, and router addresses from the network configuration server.
- Create the file /etc/hostname.interface, if it does not exist. Make sure that the file is empty. An empty /etc/hostname.interface file causes the system to acquire the IP address from the network configuration server. If you are using IPv6, see IPv6 Network Interface Configuration File.
- Ensure that the /etc/inet/hosts file contains only the host name and IP address of the loopback network interface. The file should not contain the IP address and host name for the local machine (primary network interface). If you are using IPv6, see /etc/inet/ipnodes File.
- Check for the existence of an /etc/defaultdomain file. If one exists, delete it. The hostconfig program sets the domain name automatically. If you want to override the domain name set by hostconfig, type the substitute domain name in the file /etc/defaultdomain.
- Ensure that the search paths in the client's /etc/nsswitch.conf reflects the name service requirements for your network.