TCP/IP Configuration and Management Manual

NonStop Systems Used as Internet Gateways
TCP/IP Configuration and Management Manual427132-004
F-8
Startup Files for HOST1
For the ADD SUBNET command, you can assign the subnet name to be anything you
like provided it is no more than seven alphanumeric characters long and begins with an
alpha character. The DEVICENAME attribute, which specifies the logical interface (LIF)
name associated with the adapter that the NonStop TCP/IP process will access, is
required. (See Hint
on page 1-7 for determining an appropriate LIF). You can have
more than one ServerNet adapter supporting the same NonStop TCP/IP process. You
must have a unique IP address for each ServerNet adapter that is physically attached
to your network. The IP address links the I/O process name and the NonStop TCP/IP
process.
LOOPBACK
When the NonStop TCP/IP process is started, a subnet named #LOOP0 is added
automatically. This subnet provides loopback capability without requiring the use of the
TCP/IP network. When this #LOOP0 subnet is created, it has an address of 0.0.0.0 in
dotted decimal form. For correct operation, the address needs to be changed by using
the command:
ALTER SUBNET #LOOP0, IPADDRESS 127.1
Example F-2. SCFSBNT File for TCPIPUP2
=== SCFSBNT ===== SCFSBNT ==== SCFSBNT ========
== SCF command file to ADD and START SUBNETs
== This file is created to support HOST1 (Refer to
== Figure F-6
)
ALLOW ALL ERRORS
ALLOW ALL WARNINGS
== ADD AND START SUBNET $ZTC0.#SN0
ASSUME PROCESS $ZTC0
ADD SUBNET #SN0,TYPE ETHERNET,DEVICENAME LAN01,IPADDRESS 150.50.130.2
== HELP TCPIP ALTER SUBNET
ALTER SUBNET #LOOP0, IPADDRESS 127.1
== ADD ROUTES
ADD ROUTE #ROU0, DESTINATION 128.30.0.0, GATEWAY 150.50.192.1
ADD ROUTE #ROU1, DESTINATION 150.60.0.0, GATEWAY 150.50.192.1
ADD ROUTE #ROU2, DESTINATION 150.70.0.0, GATEWAY 150.50.192.1
== HELP TCPIP START SUBNETS & ROUTES
START SUBNET *
START ROUTE *
==
== ADD AND START SUBNET $ZTC1.#SN1
==
ASSUME PROCESS $ZTC1
== HELP TCPIP ADD SUBNET
ADD SUBNET #SN1,TYPE ETHERNET,DEVICENAME LAN02,IPADDRESS 150.50.130.3
== HELP TCPIP ALTER SUBNET
ALTER SUBNET #LOOP0, IPADDRESS 127.1
== HELP TCPIP START SUBNET
START SUBNET *
== HELP TCPIP ADD ROUTE
== ADD ROUTES
ADD ROUTE #ROU0, DESTINATION 0.0.0.0, GATEWAY 150.50.192.1
== HELP TCPIP START ROUTE
START ROUTE *
==
=========== END OF SCFSBNT ============= END OF SCFSBNT ===========