TCP/IP Configuration and Management Manual
NonStop Systems Used as Internet Gateways
TCP/IP Configuration and Management Manual—427132-004
F-10
Startup Files for GTWY1
All text following a pound sign (#) is comment text. Use comment text to note revisions 
made to the file, the name of the IOP, the hardware address of the ServerNet adapter, 
and so on. Knowing the hardware address of the ServerNet adapter helps you when 
you test the network through the HP Tandem Services Manager (TSM).
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.50.130.3 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 NonStop TCP/IP 
environment.
The sample configuration assumes that all the hosts and gateways on this small 
internet are NonStop hosts. This HOSTS file easily accommodates the IP addresses 
and names of any host connected to the TCP/IP network. 
Startup Files for GTWY1
GTWY1 is a NonStop system that has two E4SA adapters. The configuration for 
GYWY1 is shown in Figure F-6
. Each E4SA adapter is attached to a different network; 
each has a separate IP address. Since this NonStop system is being configured as a 
gateway, a single NonStop TCP/IP process interfaces with both I/O processes. If you 
configure each E4SA adapter with a separate NonStop TCP/IP process, the system 
could not act as a TCP/IP gateway. Since most of the startup files are very similar to 
those of HOST1 in Startup Files for HOST1
 on page F-5, only the differences between 
Example F-3. HOSTS File for TCPIPUP2
########## HOSTS FOR HOST1 ########## HOSTS FOR HOST1 ############
# Filename = \CB1.$SYSTEM.ZTCPIP.HOSTS 
# Date = January 31/93 
150.50.192.1 GTWY1B gtwy1b gw1b 
128.30.128.1 GTWY1 gtwy1 gw1 
128.30.128.2 GTWY2 gtwy2 gw2 
128.30.128.3 GTWY3 gtwy3 gw3 
127.0.0.1 me loop 
150.50.130.2 LAN01 lan01 con1 
150.50.130.3 LAN02 lan02 con2 
150.50.130.4 HOST2 host2 corp2 
150.60.64.1 GTWY2B hgtwy2b gw2b 
150.60.64.2 HOST3 host3 corp3 
150.60.64.3 HOST4 host4 corp4 
150.70.128.1 GTWY3B gtwy3b gw3b 
150.70.128.2 HOST5 host5 RD1 
150.70.128.3 HOST6 host6 RD2 
###########END OF HOSTS ##################END OF HOSTS ###########










