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

Table Of Contents
automatically assigned a link-local IPv6 address by the system when the interface is
configured (marked “up”). This link-local IPv6 address is generated by prepending a
fixed local address prefix (fe80::) to a token derived from the MAC address. (The
address is verified to be unique.) This allows each IPv6 interface to have at least one
source address that can be used by Neighbor Discovery.
If an IPv6 router on the network advertises network prefixes in router advertisements,
IPv6 derives secondary IPv6 addresses based on the network interface identifier of the
primary interface and on the network prefixes advertised. IPv6 assigns this address to a
secondary interface for the network interface.
Refer to “Stateless Address Autoconfiguration” (page 48) in Chapter 4 of this guide, and
the ifconfig(1M) man page for more information.
Configuring a Primary Interface (Required)
To configure a primary interface, edit the IPV6_INTERFACE[0] statement in the
/etc/rc.config.d/netconf-ipv6 file to specify the interface name, such as lan0.
The interface name must be the name of the physical interface card, as reported by
lanscan.
A sample netconf-ipv6 file entry is as follows:
IPV6_INTERFACE[0]="lan0"
IPV6_INTERFACE_STATE[0]="up"
Again, in the above example, the address is automatically assigned. Note that
autoconfiguration is not mandatory, manual specification of the address is also allowed
and is described below.
Configuring Secondary Interfaces
If an IPv6 router that advertises network prefixes resides on the LAN, a secondary interface
is automatically configured after the primary interface comes up. IPv6 builds additional
secondary interfaces for each network prefix advertised.
If you manually configure a link-local address for the primary interface, then
autoconfigured secondary addresses are derived from the interface identifier part of the
manually configured address for the primary interface.
For example, if an IPv6 router on the LAN advertises two prefixes (such as
2001:db8:2::/64and 2001:db8:3::/64), HP-UX 11i v2 IPv6 configures two
secondary interfaces.
Configuring Route Information
HP-UX 11i v2 IPv6 automatically configures network routes based on the prefix information
received from an IPv6 router. HP-UX 11i v2 IPv6 automatically adds the router to its list
of default gateways if the router advertises a non-zero router-lifetime value.
24 Configuration