CLASS="CHAPTER" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" >

Chapter 3. Address types

Table of Contents
3.1. Addresses without a special prefix
3.1.1. Localhost address
3.1.2. Unspecified address
3.1.3. IPv6 address with embedded IPv4 address
3.2. Network part, also known as prefix
3.2.1. Link local address type
3.2.2. Site local address type
3.2.3. Unique Local IPv6 Unicast Addresses
3.2.4. Global address type "(Aggregatable) global unicast"
3.2.5. Multicast addresses
3.2.6. Anycast addresses
3.3. Address types (host part)
3.3.1. Automatically computed (also known as stateless)
3.3.2. Manually set
3.4. Prefix lengths for routing
3.4.1. Prefix lengths (also known as "netmasks")
3.4.2. Matching a route

Like IPv4, IPv6 addresses can be split into network and host parts using subnet masks.

IPv4 has shown that sometimes it would be nice, if more than one IP address can be assigned to an interface, each for a different purpose (aliases, multi-cast). To remain extensible in the future, IPv6 is going further and allows more than one IPv6 address to be assigned to an interface. There is currently no limit defined by an RFC, only in the implementation of the IPv6 stack (to prevent DoS attacks).

Using this large number of bits for addresses, IPv6 defines address types based on some leading bits, which are hopefully never going to be broken in the future (unlike IPv4 today and the history of class A, B, and C).

Also the number of bits are separated into a network part (upper 64 bits) and a host part (lower 64 bits), to facilitate auto-configuration.