TCP/IPv6 Configuration and Management Manual (G06.24+)

Quick Start
HP NonStop TCP/IPv6 Configuration and Management Manual524523-008
1-20
Configure the Subsystem for DUAL-Mode, Address
Autoconfiguration and Configured Tunneling
(defined by the attribute IPTSRC) must be an IPv4 address belonging to a SUBNET on
your system. In this example, IPTSRC is the IP address of SUBNET SN3.
1. Find a LIF for communication by following the procedure Select a LIF of TYPE
ETHERNET for communications. on page 1-3.
2. Create the TCPIPUP command file:
Note. Before following any of these procedures, you must have real values for the variables in
the examples (indicated with italics).
Example 1-10. TCPIPUPA Command File, DUAL-Mode, Address
Autoconfiguration and Configured Tunneling
CLEAR ALL
==SCF commands
SCF/INLINE/
INLPREFIX +
+ ASSUME PROCESS $ZZTCP
+ START MON *
+ DELAY 30
+ ALTER MON *, FAMILY DUAL
== Configure the loopback subnet ==
+ ABORT SUBNET LOOP0
+ ALTER SUBNET LOOP0, IPADDRESS 127.1
+ ALTER SUBNET LOOP0, FAMILY INET6, IPV6 UP
+ START SUBNET LOOP0
== Add Host Id and Host Name information (optional)
+ ALTER MON *, HOSTID 172.14.215.27, HOSTNAME "www.company.com"
==Add a SUBNET for DUAL support
+ ADD SUBNET SN3, TYPE ETHERNET, FAMILY DUAL, &
IPADDRESS 172.14.215.27, DEVICENAME L018, &
SUBNETMASK 255.255.255.0, IPV6RAENABLE ON, &
IPV6PREFIX "3FFE:A::/64"
+START SUBNET SN3
== Add a configured tunnel. The other end of the tunnel
== must have a corresponding set up.
+ ADD SUBNET IPT1, TYPE TUNNEL, FAMILY INET6, &
IPTSRC 172.14.215.27, IPTDST 172.17.215.240
==Bring up the configured tunnel
+ ALTER SUBNET IPT1, FAMILY INET6, IPV6 UP
== Add a route for the tunnel
+ ADD ROUTE DEF, IPV6DESTINATION "3ffe:b::/64", &
SUBNET "IPT1", FAMILY INET6
== Add a default gateway route for IPv4. To add a default route
== for IPv6, see Add Routes on page 5-7
+ ADD ROUTE GW1, DESTINATION 0.0.0.0, GATEWAY 172.14.215.1
+ START SUBNET *
+ START ROUTE *