IPv6 Addressing and Subnetting
Friday, August 27, 2021 3:17 PM
IPv6 Subnetting Using Global Unicast Addresses
Most everyone uses the easiest possible IPv6 prefix length: /64.
theright side of the IPv6, formally called the interface ID(short for interface identifier), acts like
the IPv4 host field.
the prefix length of the global routing prefix is often between /32 and /48, or possibly as long as
/56.
with the commonly used 64being the length of the global routing prefix.-bit interface ID field, the subnet field is typically 64–P bits, with P
Assigning Addresses to Hosts in a Subnet
hosts can learn these same settings dynamically, using either Dynamic Host Configuration
Protocol (DHCP) or a built(SLAAC). -in IPv6 mechanism called Stateless Address Autoconfiguration
Unique Local Unicast Addresses
Unique local unicast addresses act as private IPv6 addresses.
The biggest difference lies in the literal number with the administrative process: the unique local prefixes are not registered with any numbering (unique local addresses begin with hex FD) and
authority and can be used by multiple organizations.
IANA actually reserves prefix FC00::/7, and not FD00::/8, for these addresses. FC00::/7 includes
all addresses that begin with hex FC and FD. However, an RFC (4193) requires the eighth bit of these addresses to be set to 1, which means that in practice today, the unique local addresses all
begin with their first two digits as FD.
Subnetting with Unique Local IPv6 Addresses
With unique local, you create that prefix locally, and the prefix begins with /48, with the first 8
bits set and the next 40 bits randomly chosen.
imagine you chose a 10-hex-digit value of hex 00 0001 0001, prepend a hex FD, making the
entire prefix be FD00:0001:0001::/48, or FD00:1:1::/48 when abbreviated.
The Need for Globally Unique Local Addresses
RFC stresses the importance of choosing your global ID in a way to make it statistically unlikely to be used by other companies.
With IPv6 unique local addresses, if both companies did the right thing and randomly chose a
prefix, they will most likely be using completely different prefixes, making the merger much simpler