TCP/IP Configuration and Management Manual
Configuring the NonStop TCP/IP Subsystem
TCP/IP Configuration and Management Manual—427132-004
3-7
Configuration 1: Startup Files for a Host in a Basic
NonStop TCP/IP Environment
Subnet Mask
The subnet mask is not altered in this file because the default mask of %hFFFF0000 is
adequate for a class B IP address on a network without subnets. The first two octets of
the IP address are adequate for determining the proper network.
Be aware that adding SUBNETs and routes is not the same as implementing
subnetting. This sample configuration configures a host (HOST1) connected to a single
network which is connected to another network through a router (RTR1). Neither of
these two networks has implemented subnetting. (Subnetting is shown and explained
in Appendix B, NonStop TCP/IP Processes and Protocols.) The use of the SUBNET
object simply means implementing NonStop TCP/IP within the environment.
Next the SUBNETs and routes of the NonStop TCP/IP processes $ZTC0 and $ZTC1
are started.
The HOSTS File
The HOSTS file is 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 the purpose of this sample environment.)
All text following a pound sign (#) is comment text. Use comment text to note revisions
made to the file, the name of the I/O process, 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 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 con1
150.50.130.3 LAN02 lan02 con2
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
Example 3-3. HOSTS File for TCPIPUP2
########## HOSTS FOR HOST1 ########## HOSTS FOR HOST1 ############
# Filename = \CB1.$SYSTEM.ZTCPIP.HOSTS
# Date = January 31/93
127.0.0.1 me loop
150.50.130.2 lan01 con1
150.50.130.3 lan02 con2
150.50.130.4 host2 corp2
150.60.64.2 host3 corp3
150.60.64.3 host4 corp4
150.70.128.2 host5 RD1
150.70.128.3 host6 RD2
###########END OF HOSTS ##################END OF HOSTS ###########