7.2.5.5 Lab - Configuring IPv6 Addresses On Network Devices - ILM
7.2.5.5 Lab - Configuring IPv6 Addresses On Network Devices - ILM
Version)
Instructor Note: Red font color or Gray highlights indicate text that appears in the instructor copy only.
Topology
Addressing Table
Prefix
Device Interface IPv6 Address Length Default Gateway
Objectives
Part 1: Set Up Topology and Configure Basic Router and Switch Settings
Part 2: Configure IPv6 Addresses Manually
Part 3: Verify End-to-End Connectivity
Background / Scenario
Knowledge of the Internet Protocol version 6 (IPv6) multicast groups can be helpful when assigning IPv6
addresses manually. Understanding how the all-router multicast group is assigned and how to control address
assignments for the Solicited Nodes multicast group can prevent IPv6 routing issues and help ensure best
practices are implemented.
In this lab, you will configure hosts and device interfaces with IPv6 addresses and explore how the all-router
multicast group is assigned to a router. You will use show commands to view IPv6 unicast and multicast
addresses. You will also verify end-to-end connectivity using the ping and traceroute commands.
Note: The routers used with CCNA hands-on labs are Cisco 1941 ISRs with Cisco IOS Release 15.2(4)M3
(universalk9 image). The switches used are Cisco Catalyst 2960s with Cisco IOS Release 15.0(2) (lanbasek9
image). Other routers, switches and Cisco IOS versions can be used. Depending on the model and Cisco IOS
version, the commands available and output produced might vary from what is shown in the labs. Refer to the
Router Interface Summary table at the end of the lab for the correct interface identifiers.
Note: Make sure that the routers and switches have been erased and have no startup configurations. If you
are unsure, contact your instructor.
Instructor Note: Refer to the Instructor Lab Manual for the procedures to initialize and reload devices.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 20
Lab - Configuring IPv6 Addresses on Network Devices
Instructor Note: The default bias template used by the Switch Database Manager (SDM) does not provide
IPv6 address capabilities. Verify that SDM is using either the dual-ipv4-and-ipv6 template or the lanbase-
routing template. The new template will be used after reboot even if the config is not saved.
S1# show sdm prefer
Follow these steps to assign the dual-ipv4-and-ipv6 template as the default SDM template:
S1# configure terminal
S1(config)# sdm prefer dual-ipv4-and-ipv6 default
S1(config)# end
S1# reload
Required Resources
1 Router (Cisco 1941 with Cisco IOS software, Release 15.2(4)M3 universal image or comparable)
1 Switch (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable)
2 PCs (Windows 7 with terminal emulation program, such as Tera Term)
Console cables to configure the Cisco IOS devices via the console ports
Ethernet cables as shown in the topology
Note: The Gigabit Ethernet interfaces on Cisco 1941 routers are autosensing and an Ethernet straight-
through cable may be used between the router and PC-B. If using another model Cisco router, it may be
necessary to use an Ethernet crossover cable.
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.
Instructor Note: For instructions on how to enable IPv6 and configure host addresses with Windows XP refer
to the Instructor Lab Manual.
Part 1: Set Up Topology and Configure Basic Router and Switch Settings
Step 1: Cable the network as shown in the topology.
Step 3: Verify that the PC interfaces are configured to use the IPv6 protocol.
Verify that the IPv6 protocol is active on both PCs by ensuring that the Internet Protocol Version 6
(TCP/IPv6) check box is selected in the Local Area Connection Properties window.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 20
Lab - Configuring IPv6 Addresses on Network Devices
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 20
Lab - Configuring IPv6 Addresses on Network Devices
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 20
Lab - Configuring IPv6 Addresses on Network Devices
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 5 of 20
Lab - Configuring IPv6 Addresses on Network Devices
Has an IPv6 unicast address been assigned to the network interface card (NIC) on PC-B? _________ No
b. Enable IPv6 routing on R1 using the IPv6 unicast-routing command.
R1 # configure terminal
R1(config)# ipv6 unicast-routing
R1(config)# exit
R1#
*Dec 17 18:29:07.415: %SYS-5-CONFIG_I: Configured from console by console
c. Use the show ipv6 interface g0/0 command to see what multicast groups are assigned to interface
G0/0. Notice that the all-router multicast group (FF02::2) now appears in the group list for interface G0/0.
Note: This will allow the PCs to obtain their IP address and default gateway information automatically
using Stateless Address Autoconfiguration (SLAAC).
R1# show ipv6 interface g0/0
GigabitEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::1
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 20
Lab - Configuring IPv6 Addresses on Network Devices
Why did PC-B receive the Global Routing Prefix and Subnet ID that you configured on R1?
____________________________________________________________________________________
____________________________________________________________________________________
R1 G0/0 is now part of the All-router multicast group, FF02::2. This allows it to send Router Advertisement
(RA) messages with the Global Network Address and Subnet ID information to all nodes on the LAN.
Notice that it also sent the link-local address, FE80::1, as the Default Gateway. The PCs will receive their
IP address and default gateway via SLAAC.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 7 of 20
Lab - Configuring IPv6 Addresses on Network Devices
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 8 of 20
Lab - Configuring IPv6 Addresses on Network Devices
b. Click the Use the following IPv6 address radio button. Refer to the Addressing Table and enter the IPv6
address, Subnet prefix length, and Default gateway information. Click OK.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 9 of 20
Lab - Configuring IPv6 Addresses on Network Devices
d. Repeat Steps 4a to c to enter the static IPv6 information on PC-B. For the correct IPv6 address
information, refer to the Addressing Table.
e. Issue the ipconfig command from the command line on PC-B to verify the IPv6 address information.
Note: You can also test connectivity by using the global unicast address, instead of the link-local address.
b. Ping the S1 management interface from PC-A.
c. Use the tracert command on PC-A to verify that you have end-to-end connectivity to PC-B.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 10 of 20
Lab - Configuring IPv6 Addresses on Network Devices
Note: If end-to-end connectivity is not established, troubleshoot your IPv6 address assignments to verify
that you entered the addresses correctly on all devices.
Reflection
1. Why can the same link-local address, FE80::1, be assigned to both Ethernet interfaces on R1?
_______________________________________________________________________________________
_______________________________________________________________________________________
Link-local packets never leave the local network, so the same link-local address can be used on an interface
associated to a different local network.
2. What is the Subnet ID of the IPv6 unicast address 2001:db8:acad::aaaa:1234/64?
_______________________________________________________________________________________
th
0 (zero) or 0000 (zeros). The 4 hextet is the Subnet ID of an IPv6 address with a prefix of /64. In the
th
example the 4 hextet contains all zeros and the IPv6 Omitting All 0 Segment rule is using the double colon to
depict the Subnet ID and the first two hextets of the Interface ID.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 11 of 20
Lab - Configuring IPv6 Addresses on Network Devices
Router Model Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2
1800 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
1900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1)
2801 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/1/0 (S0/0/0) Serial 0/1/1 (S0/0/1)
(F0/0) (F0/1)
2811 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
2900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1)
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.
Device Configs
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 12 of 20
Lab - Configuring IPv6 Addresses on Network Devices
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/0/1
no ip address
shutdown
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
control-plane
!
banner motd ^C
**********************************************
* Warning: Unauthorized access is prohibited! *
**********************************************
^C
!
line con 0
password 7 01100F175804
login
line aux 0
line 2
no activation-character
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 13 of 20
Lab - Configuring IPv6 Addresses on Network Devices
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password 7 104D000A0618
login
transport input all
!
scheduler allocate 20000 1000
!
end
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 14 of 20
Lab - Configuring IPv6 Addresses on Network Devices
!
interface FastEthernet0/3
shutdown
!
interface FastEthernet0/4
shutdown
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 15 of 20
Lab - Configuring IPv6 Addresses on Network Devices
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
!
ip http server
ip http secure-server
!
banner motd ^C
**********************************************
* Warning: Unauthorzed access is prohibited! *
**********************************************
^C
!
line con 0
password 7 121A0C041104
login
line vty 0 4
password 7 121A0C041104
login
line vty 5 15
password 7 121A0C041104
login
!
end
Router R1 (Final)
R1#show run
Building configuration...
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 16 of 20
Lab - Configuring IPv6 Addresses on Network Devices
ipv6 unicast-routing
ipv6 cef
multilink bundle-name authenticated
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:ACAD:A::1/64
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:ACAD:1::1/64
!
interface Serial0/0/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/0/1
no ip address
shutdown
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
control-plane
!
banner motd ^C
**********************************************
* Warning: Unauthorzed access is prohibited! *
**********************************************
^C
!
line con 0
password 7 01100F175804
login
line aux 0
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 17 of 20
Lab - Configuring IPv6 Addresses on Network Devices
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password 7 104D000A0618
login
transport input all
!
scheduler allocate 20000 1000
!
end
Switch S1 (Final)
S1#sh run
Building configuration...
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 18 of 20
Lab - Configuring IPv6 Addresses on Network Devices
interface FastEthernet0/1
shutdown
!
interface FastEthernet0/2
shutdown
!
interface FastEthernet0/3
shutdown
!
interface FastEthernet0/4
shutdown
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 19 of 20
Lab - Configuring IPv6 Addresses on Network Devices
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
ipv6 address FE80::B link-local
ipv6 address 2001:DB8:ACAD:1::B/64
!
ip http server
ip http secure-server
!
!
banner motd ^C
**********************************************
* Warning: Unauthorzed access is prohibited! *
**********************************************
^C
!
line con 0
password 7 121A0C041104
login
line vty 0 4
password 7 121A0C041104
login
line vty 5 15
password 7 121A0C041104
login
!
end
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 20 of 20