HP-UX IPv6 Transport Administrator Guide HP-UX 11i v3 (5992-6426, May 2013)
Table Of Contents
- HP-UX IPv6 Transport Administrator Guide
- Contents
- About This Document
- 1 Features Overview
- IPv6 Transport
- New IPv6 Transport Features
- Support for RFC 3542 (Advanced Sockets API for IPv6)
- Configurable Policy Table Support
- Anycast Address Support
- Support for RFC 4291 (IP Version 6 Addressing Architecture)
- Support for RFC 4213 (Basic Transition Mechanisms for IPv6 Hosts and Routers)
- Support for RFC 3484 (Default Address Selection for Internet Protocol version 6 (IPv6))
- Support for RFC 3493 (Basic Socket Interface Extensions for IPv6)
- Support for RFC 4584 (Extension to Sockets API for Mobile IPv6)
- Support for RFC 4193 (Unique Local IPv6 Unicast Addresses)
- Support for RFC 4443 (Internet Control Message Protocol for IPv6 (ICMPv6))
- Support for IPv6 over VLAN
- Ability to Disable Autoconfiguration Based on Router Advertisements
- Support for RFC 3810 (Multicast Listener Discovery Version 2 (MLDv2))
- Support for RFC 3376 (Internet Group Management Protocol Version 3 (IGMPv3))
- Support for RFC 3678 (Socket Extension to Multicast Source Filter API)
- Support for RFC 4941 (Privacy Extensions for Stateless Address Autoconfiguration in IPv6)
- New ndd Tunables
- IPv6 Transport Features Available in the Core HP-UX 11i v3 Operating System
- Limitations
- IPv6 Transport
- 2 Configuration
- Configuring IPv6 Interfaces and Addresses
- Stateless Autoconfiguration
- Manual Configuration
- Configurable Policy Table for Default Address Selection for IPv6
- Host Names and IPv6 Addresses
- 3 Troubleshooting
- 4 IPv6 Addressing and Concepts
- 5 IPv6 Software and Interface Technology
- 6 Utilities
- A IPv6 ndd Tunable Parameters
- Index

To configure a secondary interface with an anycast address, enter:
ifconfig lan0:2 inet6 2001:db8::6 anycast
To add a default IPv6 route, enter:
route inet6 add net default 2001:db8::1
To create an IP6-in-IP tunnel, enter:
ifconfig iptu0 inet6 tunnel ip6inip tsrc 192.1.1.1 tdst 192.2.2.2 up
To create a “6to4” tunnel, enter:
ifconfig iptu0 inet6 tunnel 6to4 2002:f0e:8cc::1 tsrc 15.13.1.2 up
NOTE: Remember that configuration using ifconfig and route is ephemeral, and
not maintained after a system reboot.
Configurable Policy Table for Default Address Selection for IPv6
The source address selection and destination address ordering are based on the default
policies specified by the default address selection for IPv6 (RFC 3484). You can override
the default policies and configure new policies using the ip6addrpol command and
the /etc/rc.config.d/ip6addrpol.conf configuration file.
Configuring Policies Using the ip6addrpol.conf File
Address selection policies are loaded from the ip6addrpol.conf file at boot time. If
the configuration file does not exist or is empty, the default policy table as defined in
RFC 3484 is automatically loaded.
Each entry in the configuration file must contain the following fields:
• Prefix/Prefixlen
• Precedence
• Label
Prefix must be an IPv6 address prefix. You can specify IPv4 prefixes using the
IPv4-mapped IPv6 address format.
Prefixlen represents the prefix length and must be a value from 0 to 128.
Precedence is used for sorting destination addresses. Precedence must be an integer
value in the range 0 to 999999999. The precedence value is used to sort the destination
addresses in the descending order of precedence.
Label allows policies that prefer a particular source address prefix for use with a
destination address prefix. The algorithms used to choose the source address prefer to
use a source address S with a destination address D if Label(S) = Label(D). Label
must be an integer value in the range 0 to 999999999. The label value is used to match
a particular source address prefix with a destination address prefix.
30 Configuration