Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chapter
1 Overview
Outline
2 Introduction
3 Address Space Allocation
4 Autoconfiguration
5 Renumbering, Address
Types and Migration
1
Before we start
Please write down the following Key Terms on a blank piece of paper leaving a
small underline before and after each word. Label your paper IPv6 Pre/Post
Concept Check.
_____ IPng _____
_____ IPv6 _____
_____ CIDR _____
_____ NAT _____
_____ Autoconfiguration_____
_____ Unicast _____
_____ Multicast _____
_____ Anycast _____
_____ IPv4-Compatible _____
_____ IANA _____
_____ VLSM _____
_____ ICANN _____
_____ Dual-Stack _____
_____ Tunneling _____
_____ Translation _____
_____ Node _____
_____ Packet _____
Pre Check of Knowledge
1. Rate yourself as to your perceived
knowledge of these key words.
IPv6 Defined
Internet Protocol version 6
Originally known as IPng, or IP Next
Generation
Network Layer protocol for packet switched
networks
Successor of IPv4 which supports about 4.3
billion addresses (232 addresses)
IPv6 increased the number of addresses to
(2128 addresses)
4
Benefits
IPv6 longer address length is needed for:
Routing Aggregation
Autoconfiguration of Addresses
Easier allocation of address blocks
Flexibility of ISPs to subdivide blocks for
customers
Organizations can subdivide blocks for
internal networks
Embedded Quality of Service (QoS) to
support services like VoIP & IP Video
Okay, so what happened to
IPv5?
IPv5 was NOT a successor to IPv6
Known as Internet ST (Stream
Protocol)
Experimental protocol.Not in public
use
Whats driving the need
for IPv6??
Internet growth Medical
Mobile devices Imaging
PDAs
Mobile phones
Animal Tags
Tablet PCs Media Services
Gaming Traffic Control
Voice/Video Planes
Security Automobiles
Monitoring
Appliances
Hotspots
2. Introduction
8
Zero compression
9
Example 1
Show the unabbreviated colon hex notation for the
following IPv6 addresses:
a. An address with 64 0s followed by 64 1s.
b. An address with 128 0s.
c. An address with 128 1s.
d. An address with 128 alternative 1s and 0s.
Solution
a. 0000:0000:0000:0000:FFFF:FFFF:FFFF:FFFF
b. 0000:0000:0000:0000:0000:0000:0000:0000
c. FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF
d. AAAA:AAAA:AAAA:AAAA:AAAA:AAAA:AAAA:AAAA
Solution:
a. 0:0:FFFF::
b. 1234:2346::1111
c. 0:1::1200:1000
d. ::FFFF:24.123.12.6
11
Example 3
Decompress the following addresses and show
the complete unabbreviated IPv6 address:
a. 1111::2222
b. ::
c. 0:1::
d. AAAA:A:AA::1234
Solution
a. 1111:0000:0000:0000:0000:0000:0000:2222
b. 0000:0000:0000:0000:0000:0000:0000:0000
c. 0000:0001:0000:0000:0000:0000:0000:0000
d. AAAA:000A:00AA:0000:0000:0000:0000:1234
12
IPv6 Number of
Addresses
To give some idea about the number of
IPv6 addresses, let us assume that the
number of people on the planet earth is
soon to be 234 (more than 16 billion). Each
person can have 294 addresses to use.
If we assign 260 addresses to the users
each year (almost one billion each
second), it takes 268 years to deplete
addresses.
3. Address Space Allocation
Like the address space of IPv4, the address space of IPv6 is
divided into several blocks of varying size and each block is
allocated for special purpose.
Most of the blocks are still unassigned and have been left
aside for future use.
To better understand the allocation and the location of each
block in address space, we first divide the whole address
space into several blocks.
This division shows where each actual block is located .
14
Unspecified address
15
Example 4
Compare the unspecified address in IPv4 to the
unspecified addresses in IPv6.
Solution
In both architectures, an unspecified address is
an all-zero address. In IPv4 this address is part of
class A address; in IPv6 this address is part of the
reserved block.
16
Loopback address
17
Example 5
Compare the loop addresses in IPv4 to the
loopback address in IPv6.
Solution
There are two differences in this case. In classful
addressing, a whole block is allocated for
loopback addresses; it is the 127.0.0.0/8 -
127.255.255.255 , in IPv6 only one address is
allocated as the loopback address; it is
the ::1/128. In addition, the loopback block in
classful addressing is part of the class A block. In
IPv6, it is only one single address in the reserved
block.
You can find more about IP Reserved, Loopback
and Private Addresses by visiting this website:
http://www.tcpipguide.com/free/t_IPReservedPriv
18
Compatible address
19
The Three Levels of Hierarchy
Solution
We only need to change the seventh bit of the
first octet from 0 to 1, insert two octet FFFE and
change the format to colon hex notation. The
result is F7A9:23FF:FE14:7AD2 in colon hex.
23
Example 7
An organization is assigned the block
2000:1456:2474/48. What is the CIDR notation for
the blocks in the first and second subnets in this
organization?
Solution
Theoretically, the first and second subnets should
use the block with subnet identifier 000116 and
000216. This means that the blocks are
2000:1456:2474:0001/64
and
2000:1456:2474:0002/64.
24
Example 8
An organization is assigned the block
2000:1456:2474/48. What is the IPv6 address of
an interface in the third subnet if the IEEE
physical address of the computer is (F5-A9-23-14-
7A-D2)16.
Solution
The interface identifier is F7A9:23FF:FE14:7AD2
(see Example 7). If we add this identifier to the
global prefix and the subnet identifier, we get:
25
4. Autoconfiguration
Solution
The host first creates its interface identifier as
F7A9:23FF:FE11:9BE2
using the Ethernet MAC address read from its NIC
card.
Assuming that this address is unique, the host
sends a router solicitation message and receives
the router advertisement message that
announces the combination of global unicast
prefix and the subnet identifier
3A21:1216:2165:1232:F7A9:23FF:FE11:9BE2
27 as
5-RENUMBERING , ADDRESS
TYPES and MIGRATION
To allow sites to change the service provider, renumbering of
the address prefix (n) was built into IPv6 addressing.
As we discussed before, each site is given a prefix by the
service provider to which it is connected. If the site changes
the provider, the address prefix needs to be changed.
A router to which the site is connected to can advertise a new
prefix and let the site use the old prefix for a short time
before disabling it. In other words, during the transition
period, a site has two prefixes.
28
IPv6 Provider-Based
Addresses
The first IPv6 addresses will be allocated to a provider-based plan
The following fields have a variable length (recommended lengths are in() )
Provider: Id of Internet access provider (16 bits)
Subscriber: Id of the organization at provider (24 bits)
Subnetwork: Id of subnet within organization (16 bits)
Interface: identifies an interface at a node (48 bits)
IPv6 Address Types
Unicast identifies a single interface on a
single node. A unicast packet is delivered
to the identified single interface.
Multicast - identifies a set of interfaces
that belong to different nodes. A multicast
packet is delivered to all identified
interfaces.
Anycast a global unicast address such as
DNS that is assigned to a set of interfaces
that belong to different nodes. An anycast
packet is delivered to the closest interface.
For more information on Unicast, Multicast and Anycast, you may
visit the website:
http://www.omnisecu.com/tcpip/ipv6/unicast-multicast-anycast-types-
of-network-communication-in-ipv6.php
Reflection as a group.
Summary
IPv6 or Internet Protocol Version 6 is the successor to
IPv4 or Internet Protocol Version 4. It is needed to
address the need for additional address space with an
ever growing Internet population as well as new
internet devices.
IPv6 addresses are written in Colon Hex notation.
IPv6 addresses are Unicast, Multicast, and Anycast.
Broadcast is not part of IPv6.
IPv6 has four special addresses: Reserved, Private,
Loopback, and Unspecified.
Two colons in an address represent successive leading
zeroes.
Full IPv6 deployment will take years. IPv4 and IPv6
must coexist in the meantime. Dual-Stack, Tunneling,
Translation, and IPv6/IPv4 Address Embedding all
make the migration easier.