8.2.5.4 Lab - Identifying IPv6 Addresses
8.2.5.4 Lab - Identifying IPv6 Addresses
8.2.5.4 Lab - Identifying IPv6 Addresses
Topology
Objectives
Part 1: Identify the Different Types of IPv6 Addresses Review the different types of IPv6 addresses. Match the IPv6 address with the correct type.
Part 2: Examine a Host IPv6 Network Interface and Address Check PC IPv6 network address settings.
Part 3: Practice IPv6 Address Abbreviation Study and review the rules for IPv6 address abbreviation. Practice compressing and decompressing IPv6 addresses.
Part 4: Identify the Hierarchy of the IPv6 Global Unicast Address Network Prefix Study and review the hierarchy of the IPv6 network prefix. Practice deriving network prefix information from an IPv6 address.
Background / Scenario
With the depletion of the Internet Protocol version 4 (IPv4) network address space and the adoption and transition to IPv6, networking professionals must understand how both IPv4 and IPv6 networks function. Many devices and applications already support IPv6. This includes extensive Cisco device Internetwork Operating System (IOS) support and workstation/server operating system support, such as that found in Windows and Linux. This lab focuses on IPv6 addresses and the components of the address. In Part 1, you will identify the IPv6 address types, and in Part 2, you will view the IPv6 settings on a PC. In Part 3, you will practice IPv6 address abbreviation, and in Part 4, you will identify the parts of the IPv6 network prefix with a focus on global unicast addresses.
Required Resources
1 PC (Windows 7 or Vista with Internet access) Note: The IPv6 protocol is enabled in Windows 7 and Vista by default. The Windows XP operating system does not enable IPv6 by default and is not recommended for use with this lab. This lab uses Windows 7 PC hosts.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 1 of 10
Chapter 7 Lab D
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 2 of 10
Chapter 7 Lab D
Type of IPv6 Address Loopback address, any address, unspecified address, or IPv4compatible Global unicast address (a routable address in a range of addresses that is currently being handed out by the Internet Assigned Numbers Authority [IANA]) Link-local (a unicast address which identifies the host computer on the local network) Unique-local (a unicast address which can be assigned to a host to identify it as being part of a specific subnet on the local network) Multicast address
0000 to 00FF
There are other IPv6 address types that are either not yet widely implemented, or have already become deprecated, and are no longer supported. For instance, an anycast address is new to IPv6 and can be used by routers to facilitate load sharing and provide alternate path flexibility if a router becomes unavailable. Only routers should respond to an anycast address. Alternatively, site-local addresses have been deprecated and replaced by unique-local addresses. Site-local addresses were identified by the numbers FEC0 in the initial hextet. In IPv6 networks, there are no network (wire) addresses or broadcast addresses as there are in IPv4 networks.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 3 of 10
Chapter 7 Lab D
b. Click the Windows Start button and then Control Panel and change View by: Category to View by: Small icons. c. Click the Network and Sharing Center icon.
d. On the left side of the window, click Change adapter settings. You should now see icons representing your installed network adapters. Right-click your active network interface (it may be a Local Area Connection or a Wireless Network Connection), and then click Properties. e. You should now see your Network Connection Properties window. Scroll through the list of items to determine whether IPv6 is present, which indicates that it is installed, and if it is also check marked, which indicates that it is active.
f.
Select the item Internet Protocol Version 6 (TCP/IPv6) and click Properties. You should see the IPv6 settings for your network interface. Your IPv6 properties window is likely set to Obtain an IPv6 address automatically. This does not mean that IPv6 relies on the Dynamic Host Configuration Protocol (DHCP). Instead of using DHCP, IPv6 looks to the local router for IPv6 network information and then autoconfigures its own IPv6 addresses. To manually configure IPv6, you must provide the IPv6 address, the subnet prefix length, and the default gateway. Note: The local router can refer host requests for IPv6 information, especially Domain Name System (DNS) information, to a DHCPv6 server on the network.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 4 of 10
Chapter 7 Lab D
g. After you have verified that IPv6 is installed and active on your PC, you should check your IPv6 address information. To do this, click the Start button, type cmd in the Search programs and files form box, and press Enter. This opens a Windows command prompt window. h. Type ipconfig /all and press Enter. Your output should look similar to this: C:\Users\user> ipconfig /all
Windows IP Configuration <output omitted> Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix Description . . . . . . . . . . Physical Address. . . . . . . . DHCP Enabled. . . . . . . . . . Autoconfiguration Enabled . . . Link-local IPv6 Address . . . . IPv4 Address. . . . . . . . . . Subnet Mask . . . . . . . . . . Lease Obtained. . . . . . . . . Lease Expires . . . . . . . . . Default Gateway . . . . . . . . DHCP Server . . . . . . . . . . DHCPv6 IAID . . . . . . . . . . DHCPv6 Client DUID. . . . . . . . . . . . . . . . . . . . . : : : : : : : : : : : : : :
Intel(R) Centrino(R) Advanced-N 6200 AGN 02-37-10-41-FB-48 Yes Yes fe80::8d4f:4f4d:3237:95e2%14(Preferred) 192.168.2.106(Preferred) 255.255.255.0 Sunday, January 06, 2013 9:47:36 AM Monday, January 07, 2013 9:47:38 AM 192.168.2.1 192.168.2.1 335554320 00-01-00-01-14-57-84-B1-1C-C1-DE-91-C3-5D
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 5 of 10
Chapter 7 Lab D
i.
You can see from the output that the client PC has an IPv6 link-local address with a randomly generated interface ID. What does it indicate about the network regarding IPv6 global unicast address, IPv6 uniquelocal address, or IPv6 gateway address? IPv6 unique local address ____________________________________________________________________________________
j.
What kind of IPv6 addresses did you find when using ipconfig /all? IPv6 unique local address and IPv6 Global unicast address ____________________________________________________________________________________
Step 1: Study and review the rules for IPv6 address abbreviation.
Rule 1: In an IPv6 address, a string of four zeros (0s) in a hextet can be abbreviated as a single zero. 2001:0404:0001:1000:0000:0000:0EF0:BC00 2001:0404:0001:1000:0:0:0EF0:BC00 (abbreviated with single zeros) Rule 2: In an IPv6 address, the leading zeros in each hextet can be omitted, trailing zeros cannot be omitted. 2001:0404:0001:1000:0000:0000:0EF0:BC00 2001:404:1:1000:0:0:EF0:BC00 (abbreviated with leading zeros omitted) Rule 3: In an IPv6 address, a single continuous string of four or more zeros can be abbreviated as a double colon (::). The double colon abbreviation can only be used one time in an IP address. 2001:0404:0001:1000:0000:0000:0EF0:BC00 2001:404:1:1000::EF0:BC00 (abbreviated with leading zeroes omitted and continuous zeros replaced with a double colon) The image below illustrates these rules of IPv6 address abbreviation:
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 6 of 10
Chapter 7 Lab D
Part 4: Identify the Hierarchy of the IPv6 Global Unicast Address Network Prefix
In Part 4, you will study and review the characteristics of the IPv6 network prefix to identify the hierarchical network components of the IPv6 network prefix.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 7 of 10
Chapter 7 Lab D
Most global unicast (routable) addresses use a 64-bit network prefix and a 64-bit host address. However, the network portion of an IPv6 address is not restricted to 64 bits in length and its length is identified at the end of the address by slash notation, followed by a decimal number indicating its length. If the network prefix is /64, then the network portion of the IPv6 address is 64 bits long from left to right. The host portion, or interface ID, which is the last 64 bits, is the remaining length of the IPv6 address. In some cases, as with a loopback address, the network prefix can be /128, or one hundred and twenty eight bits long. In this case, there are no bits left over for the interface identifier, and therefore, the network is restricted to a single host. Here are some examples of IPv6 addresses with different network prefix lengths: Global unicast address: Loopback address: Multicast address: All networks address: 2001:DB8:0001:ACAD:0000:0000:0000:0001/64 ::1/128 FF00::/8 ::/0 (similar to a quad zero address in IPv4) fe80::8d4f:4f4d:3237:95e2%14 (notice that the slash fourteen at the end of the address is represented by a percent sign and the decimal number of fourteen. This address was taken from the output of an ipconfig /all command in the Windows Command Prompt)
Link-local address
From left to right, the network portion of an IPv6 global unicast address has a hierarchical structure that will give the following information: 1) IANA Global Routing Number (the first three binary bits are fixed as 001) 200::/12 2) Regional Internet Registry (RIR) Prefix (bits /12 to /23) 2001:0D::/23 (the hexadecimal D character is 1101 in binary. Bits 21 to 23 are 110, and the last bit is part of the ISP Prefix) 3) Internet service provider (ISP) Prefix (the bits up to /32) 2001:0DB8::/32 4) Site Prefix or Site Level Aggregator (SLA) which is assigned to the customer by the ISP (the bits up to /48) 2001:0DB8:0001::/48 5) Subnet Prefix (assigned by the customer; the bits up to /64) 2001:0DB8:0001: ACAD::/64 6) Interface ID (the host is identified by the last 64 bits in the address) 2001:DB8:0001:ACAD:8D4F:4F4D:3237:95E2/64 The image below shows that the IPv6 address can be grouped into four basic parts: 1) Global Routing Prefix /32
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 8 of 10
CCNA: Network Basics 2) Site Level Aggregator (SLA) /48 3) Subnet ID (LAN) /64 4) Interface ID (last 64 bits)
Chapter 7 Lab D
The host portion of the IPv6 address is called the Interface ID, because it does not identify the actual host, but rather the hosts network interface card. Each network interface can have multiple IPv6 addresses, and therefore, can also have multiple interface IDs.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 9 of 10
Chapter 7 Lab D
Reflection
1. How do you think you must support IPv6 in the future? _______________________________________________________________________________________ _______________________________________________________________________________________ 2. Do you think IPv4 networks continue on, or will everyone eventually switch over to IPv6? How long do you think it will take? Las redes Ipv4 continuaran por algn tiempo, debido a que gran parte de la red la conforman las redes de pequeas y medianas empresas, las cuales no poseen planes de migracin a IPv6.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 10 of 10