HP-UX IPv6 Transport Administrator's Guide (September 2004)
Configuration
Manual Configuration
Chapter 2 15
only perform as a “6to4” host not as a “6to4” router. Parameters for
“6to4” router configuration are in ifconfig and in
/etc/rc.config.d/netconf-ipv6.
— Automatic tunneling using the IPv4-compatible address is not
supported.
The following sections provide basic examples for configuring an
IP6-in-IP tunnel and a “6to4” tunnel. For more information including
additional optional tunnel parameters not mentioned in these examples,
refer to the /etc/rc.config.d/netconf-ipv6 file and the
ifconfig(1M) man page.
For more information on the tunneling mechanisms, refer to the section
on “Tunneling” on page 62, in Chapter 6, IPv6 Software and Interface
Technology,, later in this Guide.
NOTE SAM has not been enhanced to support the tunneling enhancements
available with the HP-UX 11i v2 September 2004 release.
Creating an IP6-in-IP Point-to-Point Configured Tunnel
If you regularly expect to exchange data between isolated IPv6 networks
over an IPv4 network, you may want to create a configured IP6-in-IP
tunnel. IP6-in-IP tunnels can be set up as host->host; host->router;
router->host or router->router. The IPv6 node can perform the role of a
host or router.
A sample netconf-ipv6 file entry, for configuring the IPv6 node is as
follows:
TUN_INTERFACE_NAME[0]=”iptu0”
TUN_TYPE[0]=”ip6inip”
TUN_LOCAL_ADDRESS[0]=””
TUN_REMOTE_ADDRESS[0]=””
TUN_ENCAP_SRC_ADDRESS[0]=”15.1.1.1”
TUN_ENCAP_DST_ADDRESS[0]=”15.2.2.2”
TUN_INTERFACE_STATE[0]=”up”
This example minimizes the number of variables that need to be
specified. For example, TUN_LOCAL_ADDRESS[0] was not specified
since the IPv6 link-local address for this value can be automatically