Professional Documents
Culture Documents
Ipv6 Format
Ipv6 Format
Ipv6 Format
Internet connected devices have become pervasive, leading to a massive increase in the
number of devices that connect to the internet. The 32-bit IPv4 address system has
approximately 4.3 billion possible addresses and many of those are reserved.
Since every device that connects to the internet is assigned an IP address, the addresses
available under the IPv4 addressing standard have been exhausted. To help remedy this
situation, the Internet Engineering Task Force (IETF) developed the IPv6 standard in the mid
1990's.
• IPv6 format
• IPv6 components
• IPv6 address types
IPv6 Format
The following list describes the format of an IPv6 address:
Because IPv6 addresses are so long, there are rules you can use to simplify an address. These
rules are:
• Leading zeros can be omitted in each section. For example, the quartet 0284 could
also be written as 284.
• An address with consecutive zeros can be expressed more concisely by substituting a
double colon for the group of zeros. For example:
◦ FEC0:0000:0000:0000:78CD:1283:F398:23AB
◦ FEC0::78CD:1283:F398:23AB (concise form)
Removing the zeros and simplifying the address is also known as address
compression.
1 of 6 1/19/23, 1:58 AM
Firefox https://labsimapp.testout.com/v6_0_534/index.html/pro...
• You can use address compression only once per address. For example,
FEC2:0000:0000:0000:78CA:0000:0000:23AB can be abbreviated as:
◦ FEC2::78CA:0:0:23AB
or
◦ FEC2:0:0:0:78CA::23AB
but not
◦ FEC2::78CA::23AB
IPv6 Components
An IPv6 address is divided into two equal parts. The left side is the pre�x and the right side is
the interface ID. The pre�x is comparable to the network ID in a IPv4 address and the
interface ID is comparable to the host ID.
IPv6
Description
Components
• The pre�x can be divided into various parts that identify things such as
geographic region, the ISP, the network, and the subnet.
• The �rst 48-bits of the address de�ne the site pre�x. The site pre�x de�nes
the location of the address and is assigned by the local ISP.
• The next 16-bits make up the subnet ID. This de�nes the network the device
is connected to.
• CIDR notation can be used to indicate the pre�x-length. As with an IPv4
Pre�x address, this shows which portion of the address used for the pre�x (network
address).
◦ To indicate the pre�x length, add a slash (/) followed by the pre�x
length.
◦ Full quartets with trailing 0s in the pre�x address can be omitted (e.g.,
2001:0DB8:4898:DAFC::/64).
• Because addresses can be allocated based on physical location, the pre�x
generally identi�es the location of the host. The pre�x is often referred to as
the global routing pre�x.
The last 64-bits in the address is the interface ID. This is a unique identi�er for each
device, similar to a MAC address.
To ensure that the interface ID is unique for every host on the network, IPv6 uses the
2 of 6 1/19/23, 1:58 AM
Firefox https://labsimapp.testout.com/v6_0_534/index.html/pro...
Extended Unique Identi�er 64 (EUI-64) format. Following are some details of the
EUI-64 format:
• Since each device is hard-wired with a unique 48-bit hardware address called
the MAC address, the EUI-64 format uses it to generate a unique interface ID.
• The EUI-64 format:
1. Converts the MAC address to binary.
2. Flips the 7th bit from the left (from 1 to 0 or 0 to 1). This bit is called the
universal/local (U/L) bit.
3. Inserts the 16-bit hexadecimal value FFFE in the middle.
For example, the address for a host with a MAC address of 20-0C-
FB-BC-A0-07 would start with the following EUI-64 interface ID:
200C:FBFF:FEBC:A007
The interface ID can also be generated using a special algorithm that generates a
completely randomized ID. This guarantees that each device will have a unique ID.
Address
Description
Type
Unicast addresses are assigned to a single interface for the purpose of allowing one host to
send and receive data. Packets sent to a unicast address are delivered to the interface
Unicast identi�ed by that address.
3 of 6 1/19/23, 1:58 AM
Firefox https://labsimapp.testout.com/v6_0_534/index.html/pro...
Link-local addresses (also known as local link addresses) are valid only on the
current subnet. These addresses are similar to an APIPA IPv4 address.
Details include:
• Because unique local addresses are not registered with IANA, they
cannot be used on a public network without address translation.
• Unique local addresses have an FC00::/7 pre�x and include
addresses beginning with FC or FD.
• Following the pre�x, the next 40 bits are used for the Global ID. The
Global ID is generated randomly, creating a high probability of
Unique
uniqueness on the entire internet.
local
• Following the Global ID, the remaining 16 bits in the pre�x are used
for subnet information.
• Unique local addresses are likely to be globally unique, but they are
not globally routable. Unique local addresses can be routed
between sites by a local ISP.
The process for designing a network addressing scheme when using unique
local addresses is similar to that used for global unicast addresses. The key
di�erence is how the pre�x is de�ned. Because the address range is not
registered, a global routing pre�x does not have to be requested from an
ISP. Instead, each organization de�nes its own pre�x.
4 of 6 1/19/23, 1:58 AM
Firefox https://labsimapp.testout.com/v6_0_534/index.html/pro...
• FF02::1 is for all nodes on the local link. This is the equivalent of the IPv4 subnet
broadcast address. FF01::1 is for all interfaces on a node.
• FF02::2 is for all routers on the local link. FF01::2 is for all routers on node-local.
• FF02::1:2 is for all DHCP servers or DHCP relay agents on the local link. DHCP relay
agents forward these packets to other subnets.
The anycast address is a unicast address that is assigned to more than one interface,
typically belonging to di�erent hosts. An anycast packet is routed to the nearest interface
having that address (based on routing protocol decisions). Details include:
• An anycast address is the same as a unicast address. Assigning the same unicast
address to more than one interface makes it an anycast address.
Anycast
• A anycast address can be a link-local, unique local, or global unicast address.
• When assigning an anycast address to an interface, it must be explicitly identi�ed
as an anycast address to distinguish it from a unicast address.
• You can use anycast addresses to locate the nearest server of a speci�c type. For
example, the nearest DNS or network time server.
5 of 6 1/19/23, 1:58 AM
Firefox https://labsimapp.testout.com/v6_0_534/index.html/pro...
The local loopback address for the local host is 0:0:0:0:0:0:0:1 (also identi�ed as ::1 or
Loopback ::1/128). The local loopback address is not assigned to an interface. It can verify that the
TCP/IP protocol stack is properly installed on the host.
6 of 6 1/19/23, 1:58 AM