Configuring and Administering Network Components in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014

How to Configure a System for Local Files Mode

  1. Become an administrator.
  2. Configure the system's IP interfaces with the assigned IP addresses.

    Refer to How to Configure an IPv4 Interface.

  3. Verify that the host name was set correctly.
    # hostname

    For more information, see the hostname (1) man page.

  4. Verify that the entries in the /etc/inet/hosts are current.

    Oracle Solaris creates entries for the primary network interface, the loopback address, and any additional interfaces that are configured during the installation, if applicable. If the entries are not current, add the IP addresses and corresponding names for any network interfaces that were added to the system after the installation.

  5. Specify the system's fully qualified domain as a property of the nis/domain SMF service.

    For example, you would specify as the value for the domainname property of the nis/domain SMF service as follows:

    # domainname domainname

    This step makes the change persistent.

  6. Add the routing information.

    Note -  If you are using DHCP services, you can skip this step.

    For instructions, see Configuring Routing.

  7. Add the netmask information, if applicable.

    Note -  If you are using DHCP services, you can skip this step.
    1. Type the network number and the netmask in the /etc/inet/netmasks file.

      To create entries, use the format network-number netmask. For example, to specify the Class C network number 192.168.83, you would type the following information:

      For CIDR addresses, convert the network prefix to the equivalent dotted decimal representation. For example, type the following information to express the CIDR network prefix
    2. Change the lookup source for the netmask in the name-service/switch property so that only local files are searched, then refresh the instance.
      # svccfg -s name-service/switch setprop config/netmask = astring: "files"
      # svccfg -s name-service/switch:default refresh
  8. Reboot the system.