When running in local files mode, a system obtains all TCP/IP configuration information from files that are located in a local directory. In network client mode, the configuration information is provided to all of the systems in the network by a remote network configuration server.
Typically, the following servers on the network run in local files mode:
Network configuration servers
NFS servers
Name servers that supply NIS, LDAP, or DNS services
Mail servers
Routers
Since clients can run in either network client mode or local files mode, on any given network, you can have a combination of these modes with which different systems are configured.
# hostname
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.example.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.0.2, you would type the following information:
192.0.2.0 255.255.255.0
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.0.2.0/22.
192.0.2.0 255.255.252.0
# svccfg -s name-service/switch setprop config/netmask = astring: "files" # svccfg -s name-service/switch:default refresh