Lesson 3: IPv6 Fundamentals
Lesson 3: IPv6 Fundamentals
IPv4
IPv6
4.3 billion unique addresses
211,456 340 undecillion, 282 decillion, 366 nonillion, 920 octillion, 938 septillion, 463 sextillion, 463 quintillion, 374 quadrillion, 607 trillion, 431 billion, 768 million, 211 thousand, 456
Decimal 0
Hex
Binary
9 9
10 A
11 B
12 C
13 D
14 E
15 F
:0: stands for :0000: You can omit preceding 0s in any 16-bit word.
A series of sequential zeroes the address can be shortened to use a single zero in each group, or else the entire grouping can be represented using a double colon (: :).
2001:0000:0000:0000:0000:0000:0000:7334 :DB8: and :0DB8: are equivalent.
= 2001:0:0:0:0:0:0:7334 = 2001::7334
The address
2001:0DB8:0000:0000:1234:0000:A9FE:133E
Client Configuration
Manual
Required for routers
you have 96 bits to work with. If you use some of the 96 bits to route within your network infrastructure, then you are subnetting.
Automatically
From routers DHCPv6 servers
Anycast
Visually similar to global Many destination hosts with the same address Address assigned to multiple devices. Finds nearest based on router cost When an anycast packet is sent, it is delivered to one of the devices, usually the closest one.
Unicast
A unicast packet uniquely identifies an interface
Multicast address
One-to-Many communication packets. Multicast packets are identifiable by their first byte. Defined as FF00::/8 In the second byte shown (the 00 of FF00), the second 0 is whats called the scope.
Interface-local is 01, and link-local is 02 FF01:: is an interface-local multicast.
local scope,
You send the packet to FF02::1 (FF02:0:0:0:0:0:0:1). The all-routers multicast address is FF02::2
Address Prefix 2000:: /3 FE80:: /10 FC00:: /7 FF00:: /8 2001:DB8:: /32 ::1 - ::/1 2001:0000: /32
Scope of Use Global unicast space prefix Link-local address prefix Unique local unicast prefix Multicast prefix Global unicast prefix use for documentation Reserved local loopback address Teredo prefix (discussed later in this chapter)
2002:: /16
Dual stack
Running both IPv4 and IPv6 on the same network Utilizing the IPv4 address space for devices using only
Tunneling
IPv4 addresses and utilizing the IPv6 address space for devices using IPv6 addresses address space inside another
Address translation
one address type (IPv4 or IPv6) to the other so end devices are unaware one address space is talking to another
IPv6 Tunneling
Several tunneling mechanisms for tunneling
IPv6 through the IPv4 address space. Used for unicast IPv6 communication across an IPv4 infrastructure. They include the following:
Intra-Site Automatic Tunnel Addressing Protocol (ISATAP) 6to4 Teredo
router
Intended for use inside a private network. Enabled by default in Windows Server 2008. Tunnel Adapter Local Area Connection* 8 IPv4 embedded in IPv6 e.g., FE80::5EFE:192.168.1.5 All ISATAP clients receive an address for an ISATAP interface. The format of an ISATAP address is as follows: [64bits of prefix] [32bits indicating ISATAP] [32bits IPv4 Address]
ISATAP routers allows IPv4-only and IPv6only hosts to communicate with each other
6to4
Tunnels IPv6 traffic over IPv4 through 6to4 routers. Similar to ISATAP, but designed for public network
(Internet)
2002:/16 prefix
Router advertises 2002: subnet ::/64
hosts auto configure 6to4 address
Toredo
Similar to 6 to4 but unnecessary to upgrade edge
routers. Toredo is used (Preferred) only when no other IPv6 translation is available. Allows clients behind an IPv4 NAT to use IPv6 on the Internet Enabled by default in Windows Server 2008.
Tunnel Adapter Local Area Connection* 9
2001::/32 prefix
32 prefix
64 Teredo IPv4 Hex 64 Internet ID
Neighbor Discovery is a set of messages and processes that determine relationships between neighboring nodes. Some of the ND functions are:
Router discovery Prefix discovery Parameter discovery Address auto-configuration Address resolution Duplicate address detection