TCP/IP Configuration and Management Manual
Configuring the NonStop TCP/IP Subsystem
TCP/IP Configuration and Management Manual—427132-004
3-21
Configuration 3: Startup Files for Two Hosts Using
an X25AM-Based Connection
Command Description
ADD DEFINE =TCPIP^HOST^FILE, 
FILE MJHOSTS
sets the ADD DEFINE =TCPIP^HOST^FILE.
Whenever a TCP/IP process must convert 
from a host name to an IP address, the 
TCP/IP process either uses the DNS or a 
HOSTS file like MJHOSTS. When the ADD 
DEFINE =T=TCPIP^HOST^FILE is set, the 
TCP/IP process uses the file as indicated. 
This sample configuration does not provide 
sample HOSTS files. For sample HOSTS files, 
see The HOSTS File
 on page 3-11.
TCPIP /NAME $ZTC1, NOWAIT, 
CPU 1/2
starts a TCP/IP process (this particular 
command assigns the process name $ZTC1).
CPU 1 causes the TCP/IP process to run as a 
NonStop process pair, with the primary 
process in CPU 1 and the backup process in 
CPU 2.
ADD DEFINE 
=TCPIP^PROCESS^NAME, FILE 
$ZTC1
sets the ADD DEFINE 
=TCPIP^PROCESS^NAME to the process 
name $ZTC1. 
Whenever a TCP/IP process is started using a 
process name other than the default ($ZTC0), 
you must set ADD DEFINE prior to running 
any TCP/IP application (for example, 
LISTNER or TELSERV). Each application 
reads the ADD DEFINE 
=TCPIP^PROCESS^NAME to determine the 
process name to communicate with. If this 
ADD DEFINE is not set, LISTNER and 
TELSERV processes try to communicate with 
$ZTC0. $ZTC0 may be the wrong process or it 
may not even exist.
SCF /IN TCPSUBU1/
invokes SCF to run the commands in the file 
TCPSUBU1; this file contains the commands 
to add the necessary SUBNET and ROUTE 
objects to $ZTC1.










