TCP/IP (Parallel Library) Configuration and Management Manual
Configuring Parallel Library TCP/IP for Complex and
Heavy-Use Environments
HP NonStop TCP/IP (Parallel Library) Configuration and Management Manual—522271-006
3-28
Example for Two Gateways — Standard Listening
Model
The HOSTS File
The HOSTS file is the file used in the absence of a Domain Name Server for resolving
the common names of hosts into their corresponding IP addresses. (The HOSTS file
shown is customized for this example.)
All text following a pound sign (#) is comment text. Use comment text to note revisions
made to the file.
Begin the IP addresses of the hosts in column one of the HOSTS file. Separate the
host name from the address by at least one space. You may have as many aliases as
can fit on a single entry line.
The lines in the HOSTS file:
127.0.0.1 me loop
150.50.130.2 LAN01 lan01 doc1
150.60.64.2 LAN02 lan02 doc2
provide flexibility in testing the environment. When you use the ECHO service to send
an echo datagram to me or loop, you are testing the client and server capabilities of
your own ECHO service. If you send an ECHO datagram to lan01 or lan02, you also
are testing the actual physical-network connection for your HOST1 Parallel Library
TCP/IP environment.
The example assumes that all the hosts and gateways on this intranet are NonStop
hosts. This HOSTS file easily accommodates the IP addresses and names of any host
connected to the TCP/IP network.
Example 3-9. HOSTS File for TCPIPUP6
########## HOSTS FOR HOST ########## HOSTS FOR HOST ############
# Filename = \CB1.$SYSTEM.ZTCPIP.HOSTS
# Date = January 31/93
150.50.130.1 GTWY1 gtwy1 gw1
127.0.0.1 me loop
150.50.130.2 LAN01 lan01 con1
150.60.64.2 LAN02 lan02 con2
150.60.64.1 GTWY2 gtwy2 gw2
150.60.64.3 LAN03 lan03 con 3
150.50.130.4 LAN04 lan04 corp4
###########END OF HOSTS ##################END OF HOSTS ###########