IPv6 Address Size (10.3.2)–Cisco IPv4 and IPv6 Address Management
IPv6 addressing will eventually replace IPv4 addressing although both types of addresses will coexist for the foreseeable future. IPv6 overcomes the limitations of IPv4 and has features that better suit current and foreseeable network demands. The 32-bit IPv4 address space provides approximately 4,294,967,296 unique addresses.
IPv6 address space provides 340,282,366,920,938,463,463,374,607,431,768,211,456 addresses, or 340 undecillion addresses, which is roughly equivalent to the number of grains of sand on Earth. Table 10-1 provides a visual to compare the IPv4 and IPv6 address space.
Table 10-1 Number of Zeros for Increasing Levels of Scientific Notation
Number Name | Scientific Notation | Number of Zeros |
1 Thousand | 10 3 | 1,000 |
1 Million | 10 6 | 1,000,000 |
1 Billion | 10 9 | 1,000,000,000 |
1 Trillion | 10 12 | 1,000,000,000,000 |
1 Quadrillion | 10 15 | 1,000,000,000,000,000 |
1 Quintillion | 10 18 | 1,000,000,000,000,000,000 |
1 Sextillion | 10 21 | 1,000,000,000,000,000,000,000 |
1 Septillion | 10 24 | 1,000,000,000,000,000,000,000,000 |
1 Octillion | 10 27 | 1,000,000,000,000,000,000,000,000,000 |
1 Nonillion | 10 30 | 1,000,000,000,000,000,000,000,000,000,000 |
1 Decillion | 10 33 | 1,000,000,000,000,000,000,000,000,000,000,000 |
1 Undecillion | 10 36 | 1,000,000,000,000,000,000,000,000,000,000,000,000 |
The following are other benefits of the IPv6 protocol:
- There is no need for NAT. Each device can have its own globally routable address.
- Autoconfiguration capabilities simplify address administration.
The designers of IPv6 thought that it would be adopted quickly, as the number of remaining available IPv4 address blocks was decreasing rapidly. Initial estimates were that IPv6 would be globally deployed by 2003. Obviously, these estimates were incorrect.
Video—Compare IPv4 and IPv6 Addressing (10.3.3)
Refer to the online course to view this video.
IPv4 and IPv6 Coexistence (10.3.4)
There is no specific date to move to IPv6. Both IPv4 and IPv6 will coexist in the near future, and the transition is taking several years. The IETF has created various protocols and tools to help network administrators migrate their networks to IPv6. The migration techniques can be divided into three categories: dual stack, tunneling, and translation.
Dual Stack
Dual stack enables IPv4 and IPv6 to coexist on the same network segment, as shown in Figure 10-6. Dual stack devices run both IPv4 and IPv6 protocol stacks simultaneously. Known as native IPv6, this means the customer network has an IPv6 connection to its ISP and is able to access content found on the Internet over IPv6.
Figure 10-6 A Dual Stack Topology
Tunneling
Tunneling is a method of transporting an IPv6 packet over an IPv4 network, as shown in Figure 10-7. The IPv6 packet is encapsulated inside an IPv4 packet, similar to other types of data.
Figure 10-7 Routing IPv6 Packets Inside an IPv4 Tunnel
Translation
Network Address Translation 64 (NAT64) enables IPv6-enabled devices to communicate with IPv4-enabled devices using a translation technique similar to NAT for IPv4. An IPv6 packet is translated to an IPv4 packet, and an IPv4 packet is translated to an IPv6 packet. The NAT64 router translates the different IP addresses between networks (the solid line) so that the PCs with different IP addresses can communicate (the dotted line), as shown in Figure 10-8.
Figure 10-8 Translation Between IPv4 and IPv6
IPv6 Features (10.4)
IPv6 is more than just larger address space. A new IP protocol was an opportunity to make performance improvements and provide much-needed new features.
Video—The Hexadecimal Number System (10.4.1)
Refer to the online course to view this video.
Video—Differences Between IPV4 and IPv6 (10.4.2)
Refer to the online course to view this video.
IPv6 Autoconfiguration and Link-Local Addresses (10.4.3)
In addition to the increase in length, IPv6 addresses have other characteristics that are different than IPv4 addresses. Among the differences are the following:
- Address autoconfiguration—Stateless Address Autoconfiguration (SLAAC) allows a host to create its own Internet-routable address (global unicast address, or GUA) without the need for a DHCP server. As shown in Figure 10-9, with the default method, the host receives the prefix (network address), prefix length (subnet mask), and default gateway from the Router Advertisement message of the router. The host can then create its own unique interface ID (host portion of the address) to give itself a routable global unicast address.
Figure 10-9 SLAAC Operation
- Link-local address—A link-local address is used when communicating with a device on the same network.
The developers of IPv6 made improvements to IP and related protocols such as ICMPv6. These improvements include features related to efficiency, scalability, mobility, and flexibility for future enhancements.
Video—IPv6 Address Representation (10.4.4)
Refer to the online course to view this video.