HP 3PAR Solaris Implementation Guide

2. Check that the iSCSI interfaces are created and configured correctly.
# ifconfig -al
o0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL>mtu 8232 index 1
inet 127.0.0.1 netnask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.10.205 netmask ffffff00 broadcast 192.168.10.255 ether 0:14:4f:b0:53:4c
bge1: flags-1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.105.1.10 netmask ffffff00 broadcast 10.106.1.255 ether 0:14:4f:b0:53:4d
bge2: flags=1000843<P,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
inet 10.105.2.10 netmask ffffff00 broadcast 10.106.2.255 ether 0:14:4f:b0:53:4e
3. Add the IP addresses and a symbolic name for the iSCSI interfaces to the hosts file.
::1 localhost
127.0.0.1 localhost
192.168.10.206 sqa-sunv245
10.105.1.10 bge1
10.105.2.10 bge2
4. Create the following files for both iSCSI interfaces on the host.
/etc/hostname.bge1 with contents:
10.105.1.10 netmask 255.255.255.0
/etc/hostname.bge2 with contents:
10.105.2.10 netmask 255.255.255.0
5. Identify the IP address and netmask for both iSCSI host server interfaces in the netmasks file.
bash-3.00# more /etc/netmasks
## The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
# network-number netmask
## The term network-numberrefers to a number otainedfrom the Internet Network
# Information Center.
## Both the network-number and the netmasks arespecified in
# "decimal dot" notation, e.g.:
##
128.32.0.0 255.255.255.0
10.105.1.10 255.255.255.0
10.105.2.10 255.255.255.0
Setting Up the iSCSI Initiator for Target Discovery
Solaris uses an open iSCSI initiator which supports the following target discovery methods:
Static Device Discovery
SendTargets Dynamic Device Discovery
iSNS Dynamic Device Discovery
NOTE: The Solaris OS does not currently support advertisement of the iSNS server address
through DHCP, although support may be added in the future. The Solaris OS does not support
Service Location Protocol (SLP) discovery of the iSNS server address.
44 Configuring the Host for an iSCSI Connection