Ipv6 Network Addresses: 1 © 2016 Cisco And/Or Its Affiliates. All Rights Reserved. Cisco Confidential
Ipv6 Network Addresses: 1 © 2016 Cisco And/Or Its Affiliates. All Rights Reserved. Cisco Confidential
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 1
IPv6 Packet
Limitations of IPv4
• IPv4 has been updated to address new challenges.
• Three major issues still exist with IPv4:
• IP address depletion – IPv4 has a limited number of unique
public IPv4 addresses available. Although there are about
4 billion IPv4 addresses, the exponential growth of new IP-
enabled devices has increased the need.
• Internet routing table expansion – A routing table contains
the routes to different networks in order to make the best
path determination. As more devices and servers are
connected to the network, more routes are created. A large
number of routes can slow down a router.
• Lack of end-to-end connectivity – Network Address
Translation (NAT) was created for devices to share a single
IPv4 address. However, because they are shared, this can
cause problems for technologies that require end-to-end
connectivity.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
IPv6 Packet
Introducing IPv6
• In the early ‘90s, the IETF started
looking at a replacement for IPv4 –
which led to IPv6.
• Advantages of IPv6 over IPv4
include:
• Increased address space – based on 128-
bit addressing vs. 32-bit with IPv4
• Improved packet handling – fewer fields
with IPv6 than IPv4
• Eliminates the need for NAT – no need to
share addresses with IPv6
• There are roughly enough IPv6
addresses for every grain of sand on
Earth.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
IPv4 Issues
The Need for IPv6
IPv6 versus IPv4:
• Has a larger 128-bit address space
• 340 undecillion addresses
• Solves limitations with IPv4
• Adds enhancement like address auto-
configuration.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
IPv4 Issues
IPv4 and IPv6 Coexistence
Migration from IPv4 to IPv6 Techniques
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
IPv6 Addressing
IPv6 Address Representation (Cont.)
Preferred format for IPv6 representation
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
IPv6 Addressing
Rule 1 – Omit Leading 0s
In order to reduce or compress IPv6
• First rule is to omit leading zeros in any hextet.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
IPv6 Addressing
Rule 2 – Omit All 0 Segments
Rule 2 – Omit All 0 Segments
• A double colon (::) can replace any single, contiguous
string of one or more 16-bit segments (hextets) consisting
of all 0s.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
IPv6 Addressing
Rule 2 – Omit All 0 Segments (Cont.)
Rule 2 – Omit All 0 Segments
• A double colon (::) can replace any single, contiguous
string of one or more 16-bit segments (hextets) consisting
of all 0s.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
Types of IPv6 Addresses
IPv6 Address Types
Three types of IPv6 addresses:
• Unicast- Single source IPv6 address.
• Multicast - An IPv6 multicast address
is used to send a single IPv6 packet to
multiple destinations.
• Anycast - An IPv6 anycast address is
any IPv6 unicast address that can be
assigned to multiple devices.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
Types of IPv6 Addresses
IPv6 Prefix Length
The IPv6 prefix length is used to indicate the network portion of an IPv6 address:
• The prefix length can range from 0 to 128.
• Typical IPv6 prefix length for most LANs is /64
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
Types of IPv6 Addresses
IPv6 Unicast Addresses
Global Unicast - These are
globally unique, Internet
routable addresses.
Link-local - used to
communicate with other
devices on the same local
link. Confined to a single link.
Unique Local - used for local
addressing within a site or
between a limited number of
sites.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
Types of IPv6 Addresses
IPv6 Link-Local Unicast Addresses
IPv6 link-local addresses:
• Enable a device to communicate
with other IPv6-enabled devices
on the same link only.
• Are created even if the device
has not been assigned a global
unicast IPv6 address.
• Are in the FE80::/10 range.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
IPv6 Unicast Addresses
Structure of an IPv6 Global Unicast Address
Currently, only global unicast
addresses with the first three bits
of 001 or 2000::/3 are being
assigned
A global unicast address has three
parts:
• Global routing prefix - network,
portion of the address that is
assigned by the provider. Typically
/48.
• Subnet ID – Used to subnet within
an organization.
• Interface ID - equivalent to the
host portion of an IPv4 address.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
IPv6 Unicast Addresses
EUI-64 Process and Randomly Generated
If the client must generate its own Interface
ID:
• The Interface ID can be created using the EUI-
64 process or a randomly generated 64-bit
number
An EUI-64 Interface ID is represented in
binary and is made up of three parts:
• 24-bit OUI from the client MAC address, but
the 7th bit (the Universally/Locally (U/L) bit) is
reversed.
• The inserted 16-bit value FFFE (in
hexadecimal).
• 24-bit Device Identifier from the client MAC
address.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
IPv6 Unicast Addresses
EUI-64 Process and Randomly Generated (Cont.)
Randomly Generated Interface IDs
• Windows uses a randomly generated Interface ID
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
IPv6 Unicast Addresses
Dynamic Link-Local Addresses
Link-local address can be established dynamically or configured manually.
Cisco IOS routers use EUI-64 to generate the Interface ID for all link-local address on IPv6
interfaces.
Drawback to using the dynamically assigned link-local address is the long interface ID, therefore
they are often configured statically.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
IPv6 Unicast Addresses
Static Link-Local Addresses
Manual Configuration of the link-local address allows the creation of a simple, easy to
remember address.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21
IPv6 Multicast Addresses
Assigned IPv6 Multicast Addresses
There are two types of IPv6 multicast
addresses:
• Assigned multicast - reserved multicast
addresses for predefined groups of devices
• Solicited node multicast
Two common IPv6 assigned multicast
groups:
• FF02::1 All-nodes multicast group – This is a
multicast group that all IPv6-enabled devices
join. Similar to a broadcast in IPv4
• FF02::2 All-routers multicast group – This is
a multicast group that all IPv6 routers join.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
IPv6 Multicast Addresses
Solicited-Node IPv6 Multicast Addresses
Solicited-node multicast address:
• Mapped to .a special Ethernet multicast address
• Allows Ethernet NIC to filter frame on destination
MAC.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24