System Administration Guide: IP Services

ProcedureHow to Configure Hosts for Network Client Mode

Do the following procedure on each host to be configured in network client mode.

  1. Assume the Primary Administrator role, or become superuser.

    The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. 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 Configuring Systems on the Local Network.

  3. 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 IPv4 address from the network configuration server.

  4. Ensure that the /etc/inet/hosts file contains only the localhost name and IP address of the loopback network interface.


    # cat /etc/inet/hosts
    # Internet host table
    #
    127.0.0.1       localhost

    The IPv4 loopback interface has the IP address 127.0.0.1.

    For more information, see Loopback Address. The file should not contain the IP address and host name for the local host (primary network interface).

  5. 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.

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