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

Table Of Contents
Figure 9 Primary Interface Address Autoconfiguration
If you mark an interface “up” without assigning a primary address, the system derives
a link-local address by performing the following 4 steps:
1. Taking the LAN card’s 48-bit link-level address (“MAC address 8:0:9:78:f3:39)
0000 1000 0000 0000 0000 1001 0111 1000 1111 0011 0011 1001
and putting it into an EUI-64 identifier by:
2. Putting two bytes (0xffee) into the middle (bit 24) of the 48-bit link-level address
8:0:9:ff:fe:78:f3:39;
0000 1000 0000 0000 0000 1001 1111 1111 1111 1110 0111 1000 1111 0011 0011 1001
and flipping the Universal/local bit (as described in RFC 4291) to form a 64-bit
EIU-64 interface identifier a:0:9:ff:fe:78:f3:39
0000 1010 0000 0000 0000 1001 1111 1111 1111 1110 0111 1000 1111 0011 0011 1001
3. Prepending the well-known prefix fe80::/10
4. Forming a 128-bit link-local unicast address for the primary
interfacefe80::a00:9ff:fe78:f339
View the configuration by typing
ifconfig lan0 inet6
lan0: flags=4800841<UP,RUNNING,MULTICAST,ONLINK>
inet6 fe80::a00:9ff:fe78:f339 prefix 10
Secondary Interface Autoconfiguration
If an IPv6 router on the network advertises network prefixes in router advertisements,
IPv6 derives a second IPv6 address based on the interface identifier. IPv6 assigns this
address to a secondary interface for the network interface. The host adds the router as
one of its default gateways. In general, there are as many secondary interfaces configured
as there are prefixes advertised by the router.
Figure 10 shows a general example of Secondary Interface Autoconfiguration.
Stateless Address Autoconfiguration 49