HP-UX IPv6 Transport Administrator Guide HP-UX 11i v3 (5992-6426, May 2013)

Table Of Contents
On Remote Host:
Using ifconfig (ephemeral), enter:
ifconfig ip6tu0 inet6 tunnel ip6inip6 fe80::2 fe80::1 tsrc 2001:db8:3::1 tdst 2001:db8:2::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]=2001:db8:3::1
TUN_ENCAP_DST_ADDRESS[0]=2001:db8:2::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 2001:db8:2::1 tdst 2001:db8:3::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]=2001:db8:2::1
TUN_ENCAP_DST_ADDRESS[0]=2001:db8:3::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 2001:db8:3::1 tdst 2001:db8:2::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
TUN_ENCAP_SRC_ADDRESS[0]=2001:db8:3::1
TUN_ENCAP_DST_ADDRESS[0]=2001:db8:2::1
TUN_INTERFACE_STATE[0]=up
58 IPv6 Software and Interface Technology