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

Table Of Contents
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-ipv6file 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-ipv6file
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:
IPV6_SECONDARY_INTERFACE_NAME[1]="lan0:1"
IPV6_ADDRESS[1]="2001:db8::5432"
IPV6_PREFIXLEN[1]="64"
IPV6_SECONDARY_INTERFACE_STATE[1]="up"
DHCPV6_ENABLE[1]=0
NOTE: The interface configuration is overwritten if a router advertises the prefix. In the
previous sample netconf-ipv6 file, the lan0 interface can be a different address if
the router advertises a prefix.
Always set DHCPV6_ENABLE to 0.
For more information about specifying interface names for multiple interfaces, refer to
Chapter 4: “ IPv6 Addressing and Concepts” (page 46).
Manual Configuration 25