Module 4 - Topic 2 - IPv6
Module 4 - Topic 2 - IPv6
IPv6 Addressing
17/10/2024 1
Objectives
17/10/2024 2
Why we need IPv6 Addressing
• One of the main benefits of IPv6 over previously used IPv4 is the large
address-space that contains (addressing) information to route packets for
the next generation Internet.
• IPv6 supports 128-bit address space and can potentially support 2128.
• With this large address-space scheme, IPv6 has the capability to provide
unique addresses to each and every device or node.
• An IPv6 address is 128 bits in length and consists of eight, 16-bit fields,
with each field bounded by a colon. Each field must contain a hexadecimal
number, in contrast to the dotted-decimal notation of IPv4 addresses. In the
next figure, the x's represent hexadecimal numbers.
17/10/2024 4
Parts of the IPv6 Address
• The leftmost three fields (48 bits) contain the site prefix. The prefix
describes the public topology that is usually allocated to your site by an ISP
or Regional Internet Registry (RIR).
• The next field is the 16-bit subnet ID, which you (or another administrator)
allocate for your site. The subnet ID describes the private topology, also
known as the site topology, because it is internal to your site.
• The rightmost four fields (64 bits) contain the interface ID, also referred to
as a token. The interface ID is either automatically configured from the
interface's MAC address or manually configured in EUI-64 format.
17/10/2024 5
Parts of the IPv6 Address
• 2001:0db8:3c4d:0015:0000:0000:1a2f:1a2b
• This example shows all 128 bits of an IPv6 address. The first 48 bits,
2001:0db8:3c4d, contain the site prefix, representing the public topology.
• The next 16 bits, 0015, contain the subnet ID, representing the private
topology for the site.
• The IPv6 addressing architecture allows you use the two-colon (::) notation
to represent contiguous 16-bit fields of zeros.
• For example, you might abbreviate the IPv6 address in Figure 3-2 by
replacing the two contiguous fields of zeros in the interface ID with two
colons.
• You can also omit any leading zeros in a field, such as changing 0db8 to
db8.
17/10/2024 7
Abbreviating IPv6 Addresses
• You can use the two colon notation to replace any contiguous fields of all
zeros in the IPv6 address.
17/10/2024 8
Prefixes in IPv6
• The leftmost fields of the IPv6 address contain the prefix, which is used for
routing IPv6 packets. IPv6 prefixes have the following format:
• prefix/length in bits
17/10/2024 9
Prefixes in IPv6
• 2001:db8:3c4d::/48
17/10/2024 10
Prefixes in IPv6
• You can also specify a subnet prefix, which defines the internal topology of
the network to a router. The example IPv6 address has the following subnet
prefix.
• 2001:db8:3c4d:15::/64
• The subnet prefix always contains 64 bits. These bits include 48 bits for the
site prefix, in addition to 16 bits for the subnet ID.
17/10/2024 11
Prefixes in IPv6
17/10/2024 12
IPv6 Addressing Methods
17/10/2024 13
IPv6 Addressing Methods
17/10/2024 14
Types of IPv6 address
Prefix Allocation Fraction of Address Space
0000 0000 Reserved 1/256
0000 0001 Unassigned (UA) 1/256
0000 001 Reserved for NSAP 1/128
0000 01 UA 1/64
0000 1 UA 1/32
0001 UA 1/16
001 Global Unicast 1/8
010 UA 1/8
011 UA 1/8
100 UA 1/8
17/10/2024 15
Types of IPv6 address
Prefix Allocation Fraction of Address Space
101 UA 1/8
110 UA 1/8
1110 UA 1/16
1111 0 UA 1/32
1111 10 UA 1/64
1111 110 UA 1/128
1111 1110 0 UA 1/512
1111 1110 10 Link-Local Unicast Addresses 1/1024
1111 1110 11 Site-Local Unicast Addresses 1/1024
1111 1111 Multicast Address 1/256
17/10/2024 16
Summary
At the end of this session we have learned about
• IPv6 Addressing
17/10/2024 17