TCP/IPv6 Configuration and Management Manual (G06.29+, H06.03+, J06.03+)

Example Illustrations and Adding Features to the
Basic Configuration
HP NonStop TCP/IPv6 Configuration and Management Manual524523-012
5-6
Adding More Features
The IPTSRC and IPTDST attributes set the IPv4 source and destination addresses
in the encapsulating header. These addresses are local and destination end points
for data communications. The local endpoint SUBNET, in this case SN3 with
address 172.14.215.27, must be configured before you add the configured tunnel.
(For more information about tunnels, see How IPv6 Tunnels Work on page A-18.)
Next you have to add an IPv6 default route.
Adding More Features
This subsection shows you how to add these features to this basic configuration:
Add Routes
Specify IPv6 Addresses on page 5-7
Add Routes
These examples show how to add various static routes to the configurations. To add
static routes, you need to know the IP address of the destination network. Add the
route commands to the configuration file after the START SUBNET command.
This example creates as many static IPv6 routes to the network 3ffe:1200:215:1::/64
through gateway 3ffe:1200:214:1:208:a4ff:fe2b:3006 as there are IPv6 SUBNETs
configured in the subsystem (in the examples, only one SUBNET is configured so one
route is generated):
+ADD ROUTE *.V6RT1, FAMILY INET6, &
IPV6DESTINATION "3ffe:1200:215:1::/64", &
IPV6GATEWAY "3ffe:1200:214:1:208:a4ff:fe2b:3006", &
ALLROUTES ON
+START ROUTE V6RT1
This example creates an IPv6 route to network fec0:10:50::/48 through the configured
tunnel:
+ADD ROUTE *.V6RT2, FAMILY INET6, &
IPV6DESTINATION "FEC0:10:50::/48", SUBNET "IPT1"
This example adds multiple IPv6 default routes through a gateway. The “::” argument
indicates that it is a default route.
+ADD ROUTE *.V6RT3, FAMILY INET6, &
IPV6DESTINATION "::", &
IPV6GATEWAY "DEC:5:CD::A00:2BFf:FE2A:LED3", ALLROUTES ON
To following example creates an IPv4 static route:
+ADD ROUTE $ZZTCP.*.MR1, DESTINATION 192.17.72.0, &
GATEWAY 172.17.214.1
Note. If you are adding routes to an Ethernet-failover pair, you must add the route to both
SUBNETs in the pair.