Cluster I/O Protocols (CIP) Configuration and Management Manual (H06.16+, J06.05+)
Using the Domain Name Server is the preferred way of resolving names on the network. If a name
server is not available, use a HOSTS or IPNODES file.
Configure the HOSTS File (IP CIP Only)
The HOSTS file is a simple edit type file that contains an entry for each remote host known to your
system. Specify each remote host's IP address, host name, and alias.
Each entry in the HOSTS file has this format:
IP_address host_name [alias...]
The IP_address is a 32-bit numeric value expressed in dotted decimal form. The IP_address must
begin in the first column of an entry in your edit file. The host_name and aliases are alphanumeric
and separated by at least one space. For example:
# HOSTS file
127.0.0.1 me loop geoff mark cyclone
128.1.1.1 CB21 cb21 6
128.1.2.1 CB22 cb22
Notice the first entry beginning with 127.0.0.1 has several aliases. This indicates user can use
any of these aliases to communicate with the destination host that has the IP address 127.0.0.1.
The IP address 127.0.0.1 is a TCP/IP convention that refers to “this” host or loopback.
Specifying an alias for a host is optional, and a host can have more than one alias; however, the
aliases must be separated by spaces and be on the same line. The other entries (beginning with
128.1.1.1) each have two host names: one in uppercase and one in lowercase. Neither the host
name nor the alias is case sensitive.
You can add comments to the HOSTS file by preceding the comment with a pound sign (#). You
can add comments as separate lines of the file or after the IP address and host entry. Include
comments like the line name or hardware address that can be used for reference.
The site update tape (SUT) comes with a sample HOSTS file called SMPLHOST, which is installed
into $SYSTEM.ZTCPIP. Modify this file for your environment.
Configure the TCPIP^HOST^FILE DEFINE
The default behavior of the Domain Name Resolver (DNR) is to use the Domain Name System
(DNS) (and the RESCONF file), rather than the HOSTS file. If you want the DNR to use the HOSTS
file, you must set the TCPIP^HOST^FILE environment variable, using a TACL ADD DEFINE command.
For example:
ADD DEFINE =TCPIP^HOST^FILE, FILE $SYSTEM.ZTCPIP.HOSTS
You also must set the TCPIP^HOST^FILE parameter at each terminal that uses the IP network. Then,
when you invoke a TCP/IP application, the DNR uses the appropriate HOSTS file to resolve
references to host names. For convenience, include an ADD DEFINE command as an entry in the
TACLCSTM file, so that the command is executed automatically every time you log onto the NonStop
system.
Configure the IPNODES File
The IPNODES file contains information regarding the known IPv6 (and IPv4) nodes on the network.
If you are using INET6 communications and want to use a name resolution file, you must create
$SYSTEM.ZTCPIP.IPNODES to support local definitions of IPv4 and IPv6 addresses. (For DUAL
mode, you can either use HOSTS for IPv4 addresses and IPNODES for IPv6 addresses, or you can
put your IPv4 addresses in IPNODES.)
The format of the IPNODES file is the same as for the HOSTS file. For example:
#
# ipnodes - local database associating names of nodes with IP
Configuring CIP 75










