HP-UX IPv6 Porting Guide (February 2007)

IPv6 Addressing
Comparing IPv4 and IPv6 Addresses
Chapter 2 7
Comparing IPv4 and IPv6 Addresses
IPv4 addresses are 32-bit addresses represented as four dotted-decimal octets
Example: 10.1.3.7
IPv6 Addresses are 128-bit records represented as eight fields of up to four hexadecimal
digits. A colon separates each field (:).
Example: 8888:7777:6666:5555:4444:3333:2222:1111
Leading Zeros Suppressed
Example: 0008:0007:0006:0005:0004:0003:0002:0001
Is also valid in the format:
8:7:6:5:4:3:2:1
Contiguous Fields Containing only the Digits Zero can be collapsed
Example: 0008:0000:0000:0000:0000:0003:0002:0001
Is also valid in the format:
8::3:2:1
NOTE Only one set of contiguous fields of zeros per IP address can be collapsed.
IPv4-Mapped IPv6 Addresses can display IPv4 Addresses in
Dotted-Decimal Format
IPv4-mapped addresses contain the IPv4 address in the low-order 32-bits. Mixing
hexadecimal format and dotted-decimal format is valid. For example, the IPv4 mapped IPv6
address ::ffff:10.9.8.7 is valid in the following formats:
Table 2-1
0::ffff:0a09:0807 IPv4 mapped IPv6 address
::ffff:0a09:0807 First zero removed