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

Configuration
Manual Configuration
Chapter 3 23
Manual Configuration
The following section describes the manual configuration process for
HP-UX 11i v2 IPv6.
Configuring a Primary Interface
To configure an IPv6 link-local address for a primary interface, edit the
IPV6_INTERFACE[0] statement in the
/etc/rc.config.d/netconf-ipv6 file to specify the interface name
and the interface state, either up or down. The interface name must be
the name of the physical interface card, as reported by lanscan.
To manually specify a link-local address for the primary interface, note
that the universal/local “U” bit must be set to 0. That implies, that the
manually configured address for the primary interface must match the
pattern FE80::xMxx:xxxx:xxxx:xxxx where x are hexadecimal digits, and
M is either 0, 1, 4, 5, 8, 9, C, or D. (To be more specific, break M down to
the bit level and thus, M = yy0y, where y can be 0 or 1.)
A sample netconf-ipv6 file entry is as follows:
IPV6_INTERFACE[0]=”lan0”
IPV6_INTERFACE_STATE[0]=”up”
IPV6_LINK_LOCAL_ADDRESS[0]= “fe80::1”
Note that if you do not specify a link-local address, then as described
earlier in the autoconfiguration section, a link-local address is
automatically configured for the primary interface based on the
interface’s 48-bit MAC address.
Configuring Secondary Interfaces
If no IPv6 Router on the LAN advertises network prefixes, you can add
secondary interface entries to the /etc/rc.config.d/netconf-ipv6
file. Editing the netconf-ipv6 file allows you to identify the network
interface name, IPv6 address, and prefix length and also to add entries to
the network routing table.
A sample netconf-ipv6 file entry is as follows: