TCP/IPv6 Configuration and Management Manual (G06.29+, H06.03+, J06.03+)

NonStop TCP/IPv6 Protocols and Configuration Files
HP NonStop TCP/IPv6 Configuration and Management Manual524523-012
D-10
IPNODES File
Sample HOSTS File: SMPLHOST
The site update tape (SUT) comes with a sample HOSTS file that is installed into
$SYSTEM.ZTCPIP. The name of this file is SMPLHOST and the contents are shown in
the display:
Modify this file for your environment.
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.)
Use the ADD DEFINE command of TACL to set the TCPIP^NODE^FILE environment
variable. For example,
2> ADD DEFINE =TCPIP^NODE^FILE, FILE $SYSTEM.ZTCPIP.IPNODES
There is no sample IPNODES file on the SUT; you must create this file yourself if you
want to use it. The format of the IPNODES file is the same as for the HOSTS file. For
example:
For each node, a single line should be present with these information:
IP_address canonical_nodename aliases
127.54.12.203 dummy1 loghost
127.54.12.208 dummy2
127.54.12.209 dummy3
127.0.0.1 localhost me
Note. For information about the order in which the sockets library searches the HOSTS and
IPNODES files, see Using the Domain Name Server (DNS) and IPNODES and HOSTS Files
on page 6-6.
#
# ipnodes - local database associating names of nodes with IP
# addresses. IP addresses can be either an IPv4 or an IPv6 address.
# The ipnodes file can be used with, or instead of, the HOSTS file.
#
::170.15.215.72 gry46
2::56:a00:20ff:fe7b:b667 foo # John Smith
16.107.182.52 grand-poohbah bobafet-xx
0:0:0:ffff:0d:1:44:3 bar-mapped
0:0:0:0:d:1:44:3 bar-compatible
1080:0:0:0:8:800:200c:417a some-addr
1080:0:0:0:8:0:0:0 compress-this