|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Administration: SAN Configuration and Multipathing Oracle Solaris 11 Information Library|
Immediately upon installation, start IPFC manually with the ipadm command. You can configure the host so that on subsequent reboot, the IPFC network interface starts automatically. This section describes the procedures to start a network interface manually and to configure the host for automatic plumbing upon reboot.
Use this procedure when you want to plumb IPFC with specific netmask values and get the IPFC interface up and running.
Ask your network administrator for an appropriate IP address and netmask information. For example, to enable an IPFC interface associated with fp instance 0 and an IP address of 184.108.40.206, type:
# ipadm create-ip fcip0 # ipadm create-addr -T static -a 220.127.116.11 fcip0/ipv4
For more information, see ipadm(1M).
# ipadm show-if
A system's hostname is set in the svc:/system/identity:node service. For example, the hostname is sys-A and the IPFC network interface is fcip0.
# svccfg -s identity:node svc:/system/identity:node> listprop config/nodename config/nodename astring sys-A
If you need to set the hostname, use syntax similar to the following:
# svccfg -s identity:node setprop config/nodename = "sys-A"
The installation program creates the /etc/inet/hosts file with minimum entries. You must manually make additional entries with a text editor. See the hosts(4) man page for additional information.
The /etc/inet/hosts file contains the hosts database. This file contains the host names and the primary network interface IP addresses, as well as the IP addresses of other network interfaces attached to the system and of any other network interfaces that the machine must know about.
The following example shows an etc/inet/host file.
127.0.0.1 localhost loghost 18.104.22.168 neo1 #This is the local host name 22.214.171.124 fcip0 #Interface to network 126.96.36.199
# svccfg svc:> select network/nis/client:default svc:/network/nis/client:default> select name-service/switch svc:/system/name-service/switch> listprop config/host config/host astring "files nis" svc:/system/name-service/switch> quit