Q.How to Configure Hosts for Network Client Mode (It will get info from DHCP server)

Answer: Search the /etc directory for the nodename file.
If such a file 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. See “Network Configuration Procedures” on page 101.

Create the /etc/hostname.interface file, if it does not exist.
Ensure that the file is empty. An empty /etc/hostname.interface file causes the system to acquire the IP address from the network configuration server.

Ensure that the /etc/inet/hosts file contains only the host name and IP address of the loopback network interface.
# cat /etc/inet/hosts
# Internet host table
# localhost

The IPv4 loopback interface has the IP address For more information, see “Loopback Address” on page 186. The file should not contain the IP address and host name for the local host (primary network interface).

Check for the existence of an /etc/defaultdomain file.
If such a file exists, delete it.
The hostconfig program automatically sets the domain name. To override the domain name that is set by hostconfig, type the substitute domain name in the
/etc/defaultdomain file.

Ensure that the search paths in the client’s /etc/nsswitch.conf file reflect the name service requirements for your network.