TCP/IP Configuration and Management Manual
NonStop Systems Used as Internet Gateways
TCP/IP Configuration and Management Manual—427132-004
F-6
Startup Files for HOST1
comments, use the word “comment” or a double equal sign (==). Lines which
call other files are discussed separately below.
The line:
ADD DEFINE =TCPIP^HOST^FILE, FILE $SYSTEM.ZTCPIP.HOSTS
sets the =TCPIP^HOST^FILE define to point to the desired HOSTS file. Having this
define set informs the DNR to use the HOSTS file to translate host names to
IP-addresses. For information about the RESOLVER, see RESCONF Details
on
page 3-37 and the
TCP/IP and IPX/SPX Programming Manual.
The RUN command:
TCPIP/NAME $ZTC0, NOWAIT, CPU 1/0
Note. The default NonStop TCP/IP process is $ZTC0 so you do not need to specify defines
and params for NonStop TCP/IP applications such as LISTNER and TELSERV for the first part
of Example F-1
.
Note. The TCP/IP primary and backup processes must be configured in CPUs that have
access to the SAC. See Hint
on page 1-7.
Example F-1. TCPIPUP2 for Host 1
comment ==== TCPIPUP2 =========TCPIPUP2 ========
comment TACL command file to bring up NonStop TCP/IP
comment subsystem
comment Use HOSTS file for name resolution; not DNS
ADD DEFINE =TCPIP^HOST^FILE, FILE &
$SYSTEM.ZTCPIP.HOSTS
comment Initialize the NonStop TCP/IP processes
comment (corresponds to HOST1 in Figure F-6)
TCPIP/NAME $ZTC0, NOWAIT, CPU 1/0
TCPIP/NAME $ZTC1, NOWAIT, CPU 1/0
comment ADD and START SUBNET
SCF/IN $SYSTEM.TCPIP.SCFSBNT/
comment Init LISTNER for FTPSERV, ECHOSERV, FINGSERV for $ZTC0
LISTNER/NAME $LSN0,CPU 4,NOWAIT,PRI 160/3 &
$SYSTEM.ZTCPIP.PORTCONF
comment Initialize TELSERV process for $ZTC0
TELSERV/NAME $ZTN0,CPU 2,NOWAIT,PRI 170/
comment Set TCPIP^PROCESS^NAME to $ZTC1 prior to invoking
comment LISTNER and TELSERV
ADD DEFINE =TCPIP^PROCESS^NAME, FILE $ZTC1
comment Initialize listner for FTPSERV, ECHOSERV,
comment and FINGSERV for $ZTC1
LISTNER/NAME $LSN1,CPU 4, NOWAIT, PRI 160/ &
$SYSTEM.ZTCPIP.PORTCONF/5
comment Initialize TELSERV process for $ZTC1
PARAM TCPIP^PROCESS^NAME $ZTC1
TELSERV/NAME $ZTN1,CPU 2,NOWAIT,PRI 170/
comment ====== END OF TCPIPUP2 ==== END OF TCPIPUP2 ==