HP-UX IPv6 Transport Administrator's Guide for TOUR 2.0 (April 2004, rev 2)

IPv6 Software and Interface Technology
Migrating from IPv4 to IPv6
Chapter 7 77
Using ifconfig (ephemeral), enter:
ifconfig ip6tu0 inet6 tunnel ip6inip6 fe80::2 fe80::1 tsrc
3ffe::1 tdst 2ffe::1 up
Editing /etc/rc.config.d/netconf-ipv6 (permanent), add:
TUN_INTERFACE_NAME[0]=”ipt6u0”
TUN_TYPE[0]=”ip6inip6”
TUN_LOCAL_ADDRESS[0]=”fe80::2”
TUN_REMOTE_ADDRESS[0]=”fe80::1”
TUN_ENCAP_SRC_ADDRESS[0]=”3ffe::1”
TUN_ENCAP_DST_ADDRESS[0]=”2ffe::1”
TUN_INTERFACE_STATE[0]=”up”
Configured IP-in-IP6 Tunnel (Host-Host) Example
This section provides an example of how to configure a host-host
IP-in-IP6 configured tunnel. IP-in-IP6 tunnel configuration allows
transmission of IPv4 packets encapsulated in an IPv6 header.
On Local Host:
Using ifconfig (ephemeral), enter:
ifconfig ip6tu0 inet tunnel ipinip6 10.10.10.1 15.15.15.2
tsrc 2ffe::1 tdst 3ffe::1 up
Editing /etc/rc.config.d/netconf-ipv6 (permanent), add:
TUN_INTERFACE_NAME[0]=”ip6tu0”
TUN_TYPE[0]=”ipinip6”
TUN_LOCAL_ADDRESS[0]=”10.10.10.1”
TUN_REMOTE_ADDRESS[0]=”15.15.15.2”
TUN_ENCAP_SRC_ADDRESS[0]=”2ffe::1”
TUN_ENCAP_DST_ADDRESS[0]=”3ffe::1”
TUN_INTERFACE_STATE[0]=”up”
On Remote Host:
Using ifconfig (ephemeral), enter:
ifconfig ip6tu0 inet tunnel ipinip6 15.15.15.2 10.10.10.1
tsrc 3ffe::1 tdst 2ffe::1 up
Editing /etc/rc.config.d/netconf-ipv6 (permanent), add:
TUN_INTERFACE_NAME[0]=”ip6tu0”
TUN_TYPE[0]=”ipinip6”
TUN_LOCAL_ADDRESS[0]=”15.15.15.2”
TUN_REMOTE_ADDRESS[0]=”10.10.10.1”