Refer to How to Configure an IPv4 Interface.
For more information, see the hostname (1) man page.
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.
For example, you would specify deserts.worldwide.com as the value for the domainname property of the nis/domain SMF service as follows:
# domainname domainname
This step makes the change persistent.
For instructions, see Configuring Routing.
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 192.168.3.0/22.
# svccfg -s name-service/switch setprop config/netmask = astring: "files" # svccfg -s name-service/switch:default refresh