You are on page 1of 27

IPv6 Lab Guide

Table of Contents

Laboratory Architecture 4
Network Description 4
Cisco Router Setup 5
Windows Setup 5
Addressing 5
Laboratory Exercise: Configuring IPv6 Interfaces 6
Objectives 6
Command List 6
Task: Configuring the IPv6 Ethernet Interface 6
Task: Finding the Link-local Address of a Windows PC 7
Task: Verifying the IPv6 Link-local Connectivity 7
Task: Configuring a Static IPv6 Address with EUI-64 7
Completion Criteria 8
Laboratory Exercise: Using Neighbor Discovery 9
Objectives 9
Command List 9
Task: Configuring Router Advertisements for Global Addresses 9
Task: Configuring Router Advertisements for Site-Local Addresses 10
Task: Configuring a Site-local network 11
Task: Renumbering the Local Network 12
Completion Criteria 13
Laboratory Exercise: Routing with RIP 14
Objectives 14
Command List 14
Task: Configuring RIP 14
Completion Criteria 14
Laboratory Exercise: Routing with BGP 15
Objectives 15
Command List 15

Copyright  2001, Cisco Systems, Inc.


Scenario 15
Task: Configuring BGP 16
Task: Filtering BGP routes 17
Completion Criteria 17
Laboratory Exercise: Using Tunnels 18
Objectives 18
Command List 18
Scenario 18
Task: Configuring the tunnel 18
Task: Configuring a 6to4 Tunnel 19
Completion Criteria 20
Answers to the Laboratory Exercises 21
Configuring IPv6 Interfaces 21
Using Neighbor Discovery 22
Routing with RIP 25
Routing with BGP 25
Using Tunnels 26

Copyright  2001, Cisco Systems, Inc. Lab Guide 3


Laboratory Architecture
This section describes the laboratory architecture used throughout the course.

Network Description
The laboratory network is an Ethernet backbone connecting all workgroup setups.

vlan0

Workgroup
setup #1
Workgroup
setup #2
Workgroup
setup #3

Figure 1: Overall Lab Architecture

Each setup is a local Ethernet LAN with one PC and one Cisco Systems router with two Ethernet
interfaces. The workgroup interface (Ethernet0/0) of the router is connected to the workgroup
LAN, and the backbone interface (Ethernet1/0) is connected to the backbone. The PC is a
Windows PC with a Microsoft IPv6 stack (router emulated with interface Ethernet 0/0).

Copyright  2001, Cisco Systems, Inc.


serial

con0 Lab
vlanX backbone
E0/0 E1/0 (vlan0)
2600

Figure 2: Workgroup Setup

Cisco Router Setup


This laboratory documentation uses a Cisco 2600 series router as an example. Most if not all
commands and examples should be similar on other routers.
The router has two Ethernet interfaces: the primary (Ethernet0/0) is connected to the workgroup
LAN, and the backbone one (Ethernet1/0) is connected to the backbone LAN. A serial cable is
attached to the console port that enables access to the console from the PC.
An IPv6-enabled image must be installed in the Cisco router. To verify this installation, type:
show ipv6 ?. If a syntax error is displayed, the router is not running an IPv6 image.
The enable password is: ______________.
The userid/password for the Windows login is: ________________.

Windows Setup
The PC has been installed (router emulated). Confifguration with "no ip routing" at global command.
Configured at Interface Ethernet 0/0 of Router Emulated with "ipv6 enable".

Addressing
The whole lab network has the prefix 3ffe:0b00:ffff:/48. Each workgroup LAN has a specific
subnet number, which is the hexadecimal conversion of the setup number inserted in the fourth
place of the address: 3ffe:0b00:ffff:<subnet_number>::/48.

Copyright  2001, Cisco Systems, Inc. Lab Guide 5


Laboratory Exercise 1: Configuring IPv6
Interfaces
Complete the following laboratory exercise to practice the skills learned in the module, IPv6 In-
Depth.

Objectives
In this lab you will complete the following tasks:

n Enable IPv6 on the router

n Configure an Ethernet interface for IPv6

n Identify which addresses are used on a router

n Test basic link-local connectivity

n Configure EUI-64 addresses

Command List
In this laboratory exercise, you will use the following commands listed in logical order. Refer to
this list for configuration command assistance during the laboratory exercise.
ipv6 unicast-routing
ipv6 enable
show ipv6 interface
show interface

debug ipv6 icmp


debug ipv6 nd
ping
show ipv6 neighbors
ipv6 address <prefix>/64 eui-64

Task: Configuring the IPv6 Ethernet Interface


Complete the following steps:
Step 1 Go to configure mode.
Step 2 Enable IPv6 on the router.
Step 3 Go to configure the workgroup Ethernet0/0 interface.

Copyright  2001, Cisco Systems, Inc.


Step 4 Enable IPv6 on the interface.
Step 5 Quit the configure mode.
Step 6 Verify that the Ethernet interface is configured.
Step 7 Identify the type of addresses that are configured.
Step 8 Recalculate the EUI-64 part by looking at the hardware address and verify that the
router calculated the EUI-64 correctly.

Task: Finding the Link-Local Address of a Windows PC


Complete the following steps:
Step 9 Make sure the PC is connected to the Ethernet LAN.
Step 10 Type the "show ipv6 interface e0/0" command on the Windows PC (router emulated).
Step 11 Find the link-local address of the Ethernet interface. That interface shows an Ethernet
MAC address in the Link-Level Address field. On that interface, a link-local is defined.

Task: Verifying IPv6 Link-Local Connectivity


Complete the following steps:
Step 12 Enable console debugging of Internet Control Message Protocol (ICMP) and Neighbor
Discovery (ND) IPv6 packets.
Step 13 From the router, ping the local Ethernet interface of the Windows PC specifying the link-
local address in the ping command destination address. Review the ICMP messages to
ensure understanding. When it asks about the output interface, use the full interface
name without any space.
Step 14 Verify the list of IPv6 neighbors.

Task: Configuring a Static IPv6 Address with EUI-64


Complete the following steps:
Step 15 Configure a global IPv6 address on this interface using the /64 prefix of your subnet and
the EUI-64 format for the host part of the address. Use Table 1.

Copyright  2001, Cisco Systems, Inc. Lab Guide 7


Table 1: Assigned Subnet Prefixes for Global Addresses
Workgroup Setup Number Subnet Prefix
Backbone (0) 3ffe:b00:ffff:0::/64
Workgroup setup #1 3ffe:b00:ffff:1::/64
Workgroup setup #2 3ffe:b00:ffff:2::/64
Workgroup setup #3 3ffe:b00:ffff:3::/64
Workgroup setup #4 3ffe:b00:ffff:4::/64
Workgroup setup #5 3ffe:b00:ffff:5::/64
Workgroup setup #6 3ffe:b00:ffff:6::/64
Workgroup setup #7 3ffe:b00:ffff:7::/64
Workgroup setup #8 3ffe:b00:ffff:8::/64
Workgroup setup #9 3ffe:b00:ffff:9::/64
Workgroup setup #10 3ffe:b00:ffff:A::/64
Workgroup setup #11 3ffe:b00:ffff:B::/64
… …

Step 16 Verify the configuration.

Completion Criteria
This laboratory exercise is complete if you are able to ping from the Cisco router to the PC
workstation using the link-local address of the PC.

Copyright  2001, Cisco Systems, Inc.


Laboratory Exercise 2: Using Neighbor
Discovery
Complete the following laboratory exercise to practice the skills learned in the module, IPv6 In-
Depth.

Objectives
In this lab you will complete the following tasks:

n Configure a router to send Router Advertisements (RAs)

n Configure a network to use site-local addresses

n Configure a network to use global addresses

n Renumber a network

Command List
In this laboratory exercise, you will use the following commands listed in logical order. Refer to
this list for configuration command assistance during the laboratory exercise.

debug ipv6 nd
ipv6 nd prefix-advertisement

ping
ipv6 address

Task: Configuring Router Advertisements for Global Addresses


Complete the following steps:
Step 17 Look at the configuration of the PC and determine if it has received a global address
already.
Step 18 Enable the debugging mode for IPv6 Neighbor Discovery (ND).
Step 19 Go to the configuration mode and then to the Ethernet0/0 interface submode.
Step 20 Enable RAs by using the ND command with the subnet prefix assigned to your LAN
(see Table 2). Because infinite lifetimes are not desired, use 5 minutes (300 seconds) for
the lifetime (both preferred and valid).

Copyright  2001, Cisco Systems, Inc. Lab Guide 9


Table 2: Assigned Subnet Prefixes for Global Addresses
Workgroup Setup Number Subnet Prefix
Backbone (0) 3ffe:b00:ffff:0::/64
Workgroup setup #1 3ffe:b00:ffff:1::/64
Workgroup setup #2 3ffe:b00:ffff:2::/64
Workgroup setup #3 3ffe:b00:ffff:3::/64
Workgroup setup #4 3ffe:b00:ffff:4::/64
Workgroup setup #5 3ffe:b00:ffff:5::/64
Workgroup setup #6 3ffe:b00:ffff:6::/64
Workgroup setup #7 3ffe:b00:ffff:7::/64
Workgroup setup #8 3ffe:b00:ffff:8::/64
Workgroup setup #9 3ffe:b00:ffff:9::/64
Workgroup setup #10 3ffe:b00:ffff:A::/64
Workgroup setup #11 3ffe:b00:ffff:B::/64
… …

Step 21 Verify that your PC now has an IPv6 address that was automatically configured with
this subnet prefix. Note that the previously configured link-local address is still present
and valid.
Step 22 Verify connectivity using the ping command on the Cisco router to the PC using the new
assigned address of the PC as the ping destination address.

Task: Configuring Router Advertisements for Site-Local Addresses


Complete the following steps:
Step 23 Configure the site-local address of the workgroup Ethernet0/0 interface by using the
subnet prefix assigned to your LAN for the site-local addresses (see Table 3). Use EUI-
64 format.

Copyright  2001, Cisco Systems, Inc.


Table 3: Assigned Subnet Prefixes for Site-Local Addresses
Workgroup Setup Number Subnet Prefix
Backbone (0) fec0:0:0:0::/64
Workgroup setup #1 fec0:0:0:1::/64
Workgroup setup #2 fec0:0:0:2::/64
Workgroup setup #3 fec0:0:0:3::/64
Workgroup setup #4 fec0:0:0:4::/64
Workgroup setup #5 fec0:0:0:5::/64
Workgroup setup #6 fec0:0:0:6::/64
Workgroup setup #7 fec0:0:0:7::/64
Workgroup setup #8 fec0:0:0:8::/64
Workgroup setup #9 fec0:0:0:9::/64
Workgroup setup #10 fec0:0:0:A::/64
Workgroup setup #11 fec0:0:0:B::/64
… …

Step 24 In the workgroup Ethernet0/0 interface config mode, enable RAs by using the ND
command with the subnet prefix assigned to your LAN for site-local addresses (see
Table 3). Use 5 minutes (300 seconds) for the lifetime.
Step 25 Verify that your PC now has an IPv6 address configured with this subnet prefix.
Step 26 Verify the connectivity to the PC by using the ping command on the Cisco router to the
PC using the new assigned address of the PC as the ping destination address (that is, the
fec0:… address).
Step 27 Explain why the site-local prefixes in Table 3 (that is, fec0:0:0:A::/64) was not
abbreviated by replacing the extra zeros (:0:0:) with a double colon (::) as in
fec0::A::/64.

Task: Configuring a Site-Local network


Complete the following steps:
Step 28 Configure the site-local address of the backbone Ethernet1/0 interface by using the
subnet prefix assigned to the backbone. Use your setup number for the host part. See
Table 4 for assignments.

Copyright  2001, Cisco Systems, Inc. Lab Guide 11


Table 4: Assigned Site-Local Addresses for Backbone Ethernet1/0 Interface
Workgroup Setup Number Site-Local Address for Ethernet1/0 Interface
Backbone (0) network fec0::/64
Workgroup setup #1 fec0::1/64
Workgroup setup #2 fec0::2/64
Workgroup setup #3 fec0::3/64
Workgroup setup #4 fec0::4/64
Workgroup setup #5 fec0::5/64
Workgroup setup #6 fec0::6/64
Workgroup setup #7 fec0::7/64
Workgroup setup #8 fec0::8/64
Workgroup setup #9 fec0::9/64
Workgroup setup #10 fec0::A/64
Workgroup setup #11 fec0::B/64
… …

Step 29 Verify the connectivity by a ping to one of the other workgroup routers.

Task: Renumbering the Local Network


Complete the following steps:
Step 30 Configure the new address of the workgroup Ethernet0/0 interface by using the new
global subnet prefix assigned to your LAN (see Table 5). Use EUI-64 format.

Copyright  2001, Cisco Systems, Inc.


Table 5: NEW Assigned Subnet Prefixes
Workgroup Setup Number NEW Subnet Prefix
Backbone (0) 3ffe:b00:ffff:1000::/64
Workgroup setup #1 3ffe:b00:ffff:1001::/64
Workgroup setup #2 3ffe:b00:ffff:1002::/64
Workgroup setup #3 3ffe:b00:ffff:1003::/64
Workgroup setup #4 3ffe:b00:ffff:1004::/64
Workgroup setup #5 3ffe:b00:ffff:1005::/64
Workgroup setup #6 3ffe:b00:ffff:1006::/64
Workgroup setup #7 3ffe:b00:ffff:1007::/64
Workgroup setup #8 3ffe:b00:ffff:1008::/64
Workgroup setup #9 3ffe:b00:ffff:1009::/64
Workgroup setup #10 3ffe:b00:ffff:100A::/64
Workgroup setup #11 3ffe:b00:ffff:100B::/64
… …

Step 31 Enable RAs by using the ND command with the new subnet prefix assigned to your
LAN (see Table 5). Use 5 minutes (300 seconds) for the lifetime.
Step 32 Verify that your PC has a new address with the new prefix.
Step 33 Modify the Neighbor Advertisements (NAs) for the 3ffe:b00:ffff:<subnet number> (the
“old” one) by making the preferred lifetime equal to zero.
Step 34 Verify that your PC now deprecates the use of the “old” address prefix and prefers the
new one.
Step 35 Verify the connectivity to the PC by using the ping command on the Cisco router to the
PC using the new assigned address of the PC.

Completion Criteria
This laboratory exercise is complete if you were able to ping and reach the neighbor PC for each
task.

Copyright  2001, Cisco Systems, Inc. Lab Guide 13


Laboratory Exercise 3: Routing with RIP
Complete the following laboratory exercise to practice the skills learned in the module, IPv6
Routing Protocol Support.

Objectives
In this lab you will complete the following tasks:

n Configure RIP on a router

Command List
In this laboratory exercise, you will use the following commands listed in logical order. Refer to
this list for configuration command assistance during the laboratory exercise.
debug ipv6 routing
ipv6 router rip
ipv6 rip
show ipv6 route

Task: Configuring RIP


Complete the following steps:
Step 36 Enable the debugging mode for IPv6 routing.
Step 37 Configure a RIP process on the router with a table name.
Step 38 Enable RIP on each Ethernet interface, using the same table name.
Step 39 Verify that the routing table is updated by entries coming from the other workgroup
routers.
Step 40 Verify IPv6 connectivity using the ping command on the PC. Use the global IPv6
address of a PC in another workgroup as the destination address of the ping command.

Completion Criteria
This laboratory exercise is complete if you are seeing routing updates from other workgroup
routers.

Copyright  2001, Cisco Systems, Inc.


Laboratory Exercise 4: Routing with BGP
Complete the following laboratory exercise to practice the skills learned in the module, IPv6
Routing Protocol Support.

Objectives
In this lab you will complete the following tasks:

n Configure a Border Gateway Protocol (BGP) router, and establish a BGP peering session

n Filter prefixes
For this exercise, you will be working with another workgroup.

Command List
In this laboratory exercise, you will use the following commands listed in logical order. Refer to
this list for configuration command assistance during the laboratory exercise.
debug bgp ipv6
router bgp
no bgp default ipv4-unicast
neighbor
address-family
network
ipv6 prefix-list
show ipv6 route bgp
show ipv6 neighbors

Scenario
In this exercise, your local network represents a completely autonomous site. Your site will be
peering with another site, exchanging routes using BGP.

Copyright  2001, Cisco Systems, Inc. Lab Guide 15


Task: Configuring BGP
Complete the following steps:
Step 41 Ask your peer, which is another workgroup, about its router address and autonomous
system (AS) number. Use the table below to find your AS number.

Table 6: Assigned AS Numbers


Workgroup Setup Number AS Number
Backbone (0) 65000
Workgroup setup #1 65001
Workgroup setup #2 65002
Workgroup setup #3 65003
Workgroup setup #4 65004
Workgroup setup #5 65005
Workgroup setup #6 65006
Workgroup setup #7 65007
Workgroup setup #8 65008
Workgroup setup #9 65009
Workgroup setup #10 65010
Workgroup setup #11 65011
… …

Step 42 Enable debugging of BGP.


Step 43 Define your router as a BGP router with your AS number.
Step 44 Because IPv4 has not been configured yet and the BGP protocol uses the IPv4 address
as an identifier, a special command to identify the router-id is needed. The router-id to
use is the IPv4 address of your router that will be used in the next lab. Use Table 7
below to find your router-id. Then use the command: bgp router-id <your router-id> to
identify your router.

Copyright  2001, Cisco Systems, Inc.


Table 7: Assigned Router-id
Workgroup Setup Number Router-id
Backbone (0) 192.168.30.100
Workgroup setup #1 192.168.30.101
Workgroup setup #2 192.168.30.102
Workgroup setup #3 192.168.30.103
Workgroup setup #4 192.168.30.104
Workgroup setup #5 192.168.30.105
Workgroup setup #6 192.168.30.106
Workgroup setup #7 192.168.30.107
Workgroup setup #8 192.168.30.108
Workgroup setup #9 192.168.30.109
Workgroup setup #10 192.168.30.110
Workgroup setup #11 192.168.30.111
… …

Step 45 Deactivate the IPv4 default peering.


Step 46 Activate the peering with your neighbor using its address and AS number. Use the site-
local address of your neighbor. Announce your global prefix and your site-local prefix of
your LAN to your neighbor.
Step 47 Look at the BGP routing table to determine if you received BGP routes from your
neighbor.

Task: Filtering BGP routes


Complete the following steps:
Step 48 Filter the site-local prefix (fec0::/10) so that you do not receive or send them.
Step 49 Verify that you do not send any site-local routes in BGP. Only your workgroup IPv6
prefix should be advertised.

Completion Criteria
This laboratory exercise is complete if you are able to see the received BGP routes in the routing
table.

Copyright  2001, Cisco Systems, Inc. Lab Guide 17


Laboratory Exercise 5: Using Tunnels
Complete the following laboratory exercise to practice the skills learned in the module, “IPv6
Integration and Coexistence Strategies.

Objectives
In this lab you will complete the following tasks:

n Configure static tunnels

n Configure 6to4 tunnels

For this exercise, you will be working with another workgroup.

Command List
In this laboratory exercise, you will use the following commands listed in logical order. Refer to
this list for configuration command assistance during the laboratory exercise.
interface tunnel
ipv6 address
tunnel source
tunnel destination
tunnel mode
ipv6 route

Scenario
In this exercise, a tunnel will be established with another workgroup router. In this scenario, the
backbone network is IPv4 only. IPv6 communication between workgroups will be possible by
tunneling IPv6 in IPv4.

Task: Configuring the Tunnel


Complete the following steps:
Step 1 First disable both RIP and BGP. Depending on the commands you typed before, you
may want to do a cleanup by writing the configuration and reload. Remove the site-local
address on your Ethernet1/0 interface.
Step 2 Using Table 8 below, configure the IPv4 address of the backbone Ethernet/1 interface.

Copyright  2001, Cisco Systems, Inc.


Table 8: Assigned IPv4 Addresses
Workgroup Setup Number IPv4 Address IPv4 Address in Hex
Backbone (0) 192.168.30.100 C0A8:1E64
Workgroup setup #1 192.168.30.101 C0A8:1E65
Workgroup setup #2 192.168.30.102 C0A8:1E66
Workgroup setup #3 192.168.30.103 C0A8:1E67
Workgroup setup #4 192.168.30.104 C0A8:1E68
Workgroup setup #5 192.168.30.105 C0A8:1E69
Workgroup setup #6 192.168.30.106 C0A8:1E6A
Workgroup setup #7 192.168.30.107 C0A8:1E6B
Workgroup setup #8 192.168.30.108 C0A8:1E6C
Workgroup setup #9 192.168.30.109 C0A8:1E6D
Workgroup setup #10 192.168.30.110 C0A8:1E6E
Workgroup setup #11 192.168.30.111 C0A8:1E6F
… …

Step 3 Request the IPv4 address of the tunnel endpoint of your neighbor.
Step 4 Configure a tunnel interface using tunnel0.
Step 5 Use an IPv6 unnumbered address from the Ethernet0/0 interface.
Step 6 Identify the source and destination address of the tunnel, followed by the tunnel mode.
Step 7 Configure a static route for the global address of the subnet of the other workgroup LAN
to point to the tunnel interface.
Step 8 Verify connectivity using the ping command on the Cisco router to the IPv6 address of
the tunnel endpoint (which is the Ethernet0/0 global address).
Step 9 Verify connectivity by using the ping command from your PC to the other PC.

Task: Configuring a 6to4 Tunnel


Complete the following steps:
Step 10 To clean up, disable the tunnel0 interface and erase the global and site-local addresses in
addition to the prefix advertisements on the Ethernet0/0 interface.
Step 11 Configure the 6to4 address on the workgroup Ethernet0/0 interface using subnet id 0 and
eui-64.
Step 12 Configure the 6to4 tunnel on tunnel1 interface using the ipv6 unnumbered command to
Ethernet0/0. Add a route for 2002::/16 pointing to that tunnel interface.
Step 13 Enable RAs for your LAN by using the ND command with the 6to4 subnet prefix
assigned to your LAN. Use 5 minutes (300 seconds) for the lifetime.
Step 14 Verify that your PC now has an IPv6 address that was automatically configured with the
6to4 subnet prefix.

Copyright  2001, Cisco Systems, Inc. Lab Guide 19


Step 15 Verify IPv6 connectivity using the ping command on the PC. Use the 6to4 IPv6 address
of a PC in another workgroup as the destination address of the ping command.

Completion Criteria
This laboratory exercise is complete if you are to reach the endpoints.

Copyright  2001, Cisco Systems, Inc.


Answers to the Laboratory Exercises
Lab Exercise 1: Configuring IPv6 Interfaces
Step 1 configure terminal
Step 2 ipv6 unicast-routing
Step 3 interface Ethernet0/0
Step 4 ipv6 enable (Make sure the interface is up: no shutdown)
Step 5 quit
Step 6 show ipv6 interface Ethernet0/0. Ensure that the interface has joined the following
multicast groups: FF02::1, FF02:2.

show ipv6 interface ethernet0/0


Ethernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is
FE80::250:3EFF:FEE6:7EC0
No global unicast address is configured
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFE6:7EC0
MTU is 1500 bytes

Step 7 The link-local address is configured.


Step 8 Put “FF:FE” in the middle of the hardware address and use the global bit.
Step 9 N/A
Step 10 C:>ipv6 if (router emulated "no ip routing", "ipv6 enable", "sh ipv6 interface e0/0")

Step 11 make sure PC (router emulated on inet e0/0 is "no shutdown"

Step 12 debug ipv6 nd; debug ipv6 icmp


Step 13 ping fe80::<link-local address of the pc> on the Ethernet0/0 interface. You could also
use ping ipv6 command.
Step 14 show ipv6 neighbors

Copyright  2001, Cisco Systems, Inc. Lab Guide 21


show ipv6 neighbors
IPv6 Address Age Link-layer Addr State
Interface
FE80::200:86FF:FE3C:9C12 0 0000.863c.9c12 REACH
Ethernet0/0

Step 15 interface Ethernet0/0


ipv6 address 3ffe:0b00:ffff:<subnet number>::/64 eui-64
You can delete the ipv6 enable statement, because an ipv6 address statement enables ipv6 on that
interface.

show ipv6 interface ethernet0/0


Ethernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is
FE80::250:3EFF:FEE6:7EC0
Global unicast address(es):
3FFE:B00:FFFF:1:250:3EFF:FEE6:7EC0, subnet is
3FFE:B00:FFFF:1::/64
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFE6:7EC0
MTU is 1500 bytes

Step 16 show ipv6 interface ethernet0/0

Lab Exercise 2: Using Neighbor Discovery


Make sure you have the following configuration in your router:
ipv6 unicast-routing
interface Ethernet0/0
ipv6 address 3ffe:0b00:ffff:<subnet number>::/64 eui-64

Interface 3 (site 1):


uses Neighbor Discovery
link-level address: 00-00-86-3c-9c-12
preferred address 3ffe:b00:ffff:1:200:86ff:fe3c:9c12,
infinite/infinite (addrconf)
preferred address fe80::200:86ff:fe3c:9c12,
infinite/infinite
multicast address ff02::1, 1 refs, not reportable
multicast address ff02::1:ff3c:9c12, 2 refs, last reporter
link MTU 1500 (true link MTU 1500)

You understand that the PC already received a global address. With Cisco IOS,
when an interface has an address, the router sends RAs to each configured
interface, with the information taken from the address. But it sends advertisements
with infinite lifetimes.

Step 17 C> ipv6 if (router emulated "sh ipv6 int e0/0")


Step 18 debug ipv6 nd

Copyright  2001, Cisco Systems, Inc.


Step 19 Interface Ethernet0/0
Step 20 ipv6 nd prefix-advertisement 3ffe:0b00:ffff:<subnet number>::/64 300 300 onlink
autoconfig.

Interface 3 (site 1):


uses Neighbor Discovery
link-level address: 00-00-86-3c-9c-12
preferred address 3ffe:b00:ffff:1:200:86ff:fe3c:9c12,
7192s/292s (addrconf)
preferred address fe80::200:86ff:fe3c:9c12,
infinite/infinite
multicast address ff02::1, 1 refs, not reportable
multicast address ff02::1:ff3c:9c12, 2 refs, last
reporter
link MTU 1500 (true link MTU 1500)

Step 21 C> ipv6 if (router emulated "sh ipv6 int e0/0")


Without any ipv6 nd prefix-advertisement statement, a router sends an RA with
infinite lifetimes. When one adds this statement, the preferred lifetime of the PC uses
immediately the new preferred lifetime sent by the router. The valid lifetime may not
be kept as infinite, so the PC uses 8000 secs and then decreases to the new valid
lifetime.
Step 22 ping <global address of the pc>
Step 23 interface Ethernet0/0
ipv6 address fec0:0:0:<subnet number>::/64 eui-64
Step 24 ipv6 nd prefix-advertisement fec0:0:0:<subnet number>::/64 300 300 onlink
autoconfig

Interface 3 (site 1):


uses Neighbor Discovery
link-level address: 00-00-86-3c-9c-12
preferred address fec0::1:200:86ff:fe3c:9c12, 294s/294s
(addrconf)
preferred address 3ffe:b00:ffff:1:200:86ff:fe3c:9c12,
5049s/294s (addrconf)
preferred address fe80::200:86ff:fe3c:9c12,
infinite/infinite
multicast address ff02::1, 1 refs, not reportable
multicast address ff02::1:ff3c:9c12, 3 refs, last reporter
link MTU 1500 (true link MTU 1500)

You now see that a new address (fec0::1:…) is configured.

Step 25 C> ipv6 if (router emulated "sh ipv6 int e0/0")


Step 26 ping <site-local address of the pc>
Step 27 Only one “::”may be used inside an address.
Step 28 interface ethernet1/0
ipv6 address fec0::<setup number>/64

Copyright  2001, Cisco Systems, Inc. Lab Guide 23


Make sure that the interface is not shutdown.
Step 29 ping <another workgroup router site local address>
Step 30 interface Ethernet0/0
ipv6 address 3ffe:0b00:ffff:100<subnet number>::/64 eui-64
Step 31 ipv6 nd prefix-advertisement 3ffe:0b00:ffff:100<subnet number>::/64 300 300
onlink autoconfig

Interface 3 (site 1):


uses Neighbor Discovery
link-level address: 00-00-86-3c-9c-12
preferred address 3ffe:b00:ffff:1001:200:86ff:fe3c:9c12,
261s/261s (addrconf)
preferred address fec0::1:200:86ff:fe3c:9c12, 261s/261s
(addrconf)
preferred address 3ffe:b00:ffff:1:200:86ff:fe3c:9c12,
3066s/261s (addrconf)
preferred address fe80::200:86ff:fe3c:9c12,
infinite/infinite
multicast address ff02::1, 1 refs, not reportable
multicast address ff02::1:ff3c:9c12, 4 refs, last reporter
link MTU 1500 (true link MTU 1500)

You can see that there are now two global addresses configured on this
interface.

Step 32 C>ipv6 if (router emulated "sh ipv6 int e0/0")


Step 33 no ipv6 nd prefix-advertisement 3ffe:0b00:ffff:<subnet number>::/64 300 300 onlink
autoconfig
ipv6 nd prefix-advertisement 3ffe:0b00:ffff:<subnet number>::/64 300 0 onlink
autoconfig

Interface 3 (site 1):


uses Neighbor Discovery
link-level address: 00-00-86-3c-9c-12
preferred address 3ffe:b00:ffff:1001:200:86ff:fe3c:9c12,
289s/289s (addrconf)
preferred address fec0::1:200:86ff:fe3c:9c12, 289s/289s
(addrconf)
deprecated address 3ffe:b00:ffff:1:200:86ff:fe3c:9c12,
2740s/0s (addrconf)
preferred address fe80::200:86ff:fe3c:9c12,
infinite/infinite
multicast address ff02::1, 1 refs, not reportable
multicast address ff02::1:ff3c:9c12, 4 refs, last reporter
link MTU 1500 (true link MTU 1500)

You can see now that the old global address is deprecated because the preferred
lifetime is 0, but it is still valid. This means that current connections remain but
new connections use the new global preferred address.

Copyright  2001, Cisco Systems, Inc.


Step 34 C> ipv6 if (router emulated "sh ipv6 int e0/0")
Step 35 ping <new global address of the pc>

Lab Exercise 3: Routing with RIP


Step 36 debug ipv6 routing
You may want to also enable a specific RIP debug: debug ipv6 rip
Step 37 ipv6 router rip RT0
Step 38 interface ethernet0/0
ipv6 rip RT0 enable
interface ethernet1/0
ipv6 rip RT0 enable
Step 39 show ipv6 route
You should see RIP routes learned from other workgroups.
Step 40 ping <global address of a pc on another workgroup LAN>

Lab Exercise 4: Routing with BGP


Step 41 If there is an instructor setup available, you may use the router address and AS number
of the instructor setup for the peering.
Step 42 debug bgp ipv6
Step 43 router bgp <your as number>
Step 44 bgp router-id <your router-id>
Step 45 no bgp default ipv4-unicast
Step 46 neighbor <peer site-local address> remote-as <peer as number>
address-family ipv6
neighbor <peer site-local address> activate
network <your global network prefix>/64
network <your site local prefix>/64
exit
If there is an instructor setup available, you may peer with that router.
Step 47 show ipv6 route bgp
Step 48 address-family ipv6
neighbor <peer site-local address> prefix-list nositelocal in
exit address-family
ipv6 prefix-list nositelocal seq 5 deny fec0::/10 le 128
ipv6 prefix-list nositelocal seq 10 permit ::/0 le 64
Step 49 show ipv6 route bgp

Copyright  2001, Cisco Systems, Inc. Lab Guide 25


Lab Exercise 5: Using Tunnels

Step 50 no ipv6 router rip RT0


no router bgp <your AS number>
interface ethernet1/0
no ipv6 address fec0:<setup number>/64
Step 51 interface ethernet1/0
ip address 192.168.30.<your number> 255.255.255.0
Step 52 You may use the instructor setup if one is available.
Step 53 interface tunnel0
Step 54 ipv6 unnumbered ethernet0/0
Step 55 tunnel source ethernet1/0
tunnel destination <ipv4 address of your neighbor>
tunnel mode ipv6ip
Step 56 ipv6 route <subnet of your neighbor>/64 Tunnel0
Step 57 ping <global ipv6 address of the E0/0 interface of your neighbor>
Step 58 C> ping6 <address of the neighbor pc> (router emulated "ping")
Step 59 no interface tunnel0
interface ethernet0/0
no ipv6 address 3ffe:b00:ffff:100<subnet number>::/64 eui-64
no ipv6 address fec0:0:0:<subnet number>::/64 eui-64
no ipv6 nd prefix-advertisement 3ffe:b00:ffff:100<subnet number>::/64 300
300 onlink autoconfig
no ipv6 nd prefix-advertisement fec0:0:0:<subnet number>::/64 300 300
onlink autoconfig
Step 60 interface ethernet0/0
ipv6 address 2002:<ipv4 address encoded in hex>::/64 eui-64
Step 61 interface Tunnel1
ipv6 unnumbered Ethernet0/0
tunnel source Ethernet1/0
tunnel mode ipv6ip 6to4
ipv6 route 2002::/16 Tunnel1
Step 62 interface Ethernet0/0
ipv6 nd prefix-advertisement 2002:<ipv4 address encoded in hex>::/64 300
300 onlink autoconfig
Step 63 C> ipv6 if (router emulated "sh ipv6 int e0/0")

Copyright  2001, Cisco Systems, Inc.


Interface 3 (site 1):
uses Neighbor Discovery
link-level address: 00-00-86-3c-9c-12
preferred address 2002:c0a8:1e65:0:200:86ff:fe3c:9c12,
216s/216s (addrconf)
deprecated address 3ffe:b00:ffff:1:200:86ff:fe3c:9c12,
6949s/0s (addrconf)
preferred address 3ffe:b00:ffff:1001:200:86ff:fe3c:9c12,
216s/216s (addrconf)
preferred address fec0::1:200:86ff:fe3c:9c12, 216s/216s
(addrconf)
preferred address fe80::200:86ff:fe3c:9c12,
infinite/infinite
multicast address ff02::1, 1 refs, not reportable
multicast address ff02::1:ff3c:9c12, 5 refs, last reporter
link MTU 1500 (true link MTU 1500)

Step 64 C> ping6 <address of the other workgroup pc> (router emulated "ping")

Copyright  2001, Cisco Systems, Inc. Lab Guide 27

You might also like