You are on page 1of 14

ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

Nombre:
Lab 2: Packet Tracer - Configuring IPv6 Tunneling over IPv4
Topology

IPv6 island
IPv6 island

Addressing Table

For comments Email: Santiago.felici@uv.es Page 1 of 14


ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

Device Interface IP Address/Prefix Default Gateway

G0/0 2001:DB8:1:1::1/64
S0/0/0 172.16.12.1/24
R1
Link-local FE80::1
Tunnel0 FEC0::13:1/112
S0/0/0 172.16.12.1/24
R2
S0/0/1 172.16.23.2/24
G0/1 2001:DB8:1:2::1/64
S0/0/1 172.16.23.3/24
R3
Link-local FE80::1
Tunnel0 FEC0::13:3/112
Sales NIC 2001:DB8:1:1::2/64 FE80::1
Billing NIC 2001:DB8:1:1::3/64 FE80::1
Accounting NIC 2001:DB8:1:1::4/64 FE80::1
Design NIC 2001:DB8:1:2::2/64 FE80::1
Engineering NIC 2001:DB8:1:2::3/64 FE80::1
CAD NIC 2001:DB8:1:2::4/64 FE80::1

Page 2 of 14
ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

Objectives
To configure an IPv6IP tunnel to connect two different IPv6 islands using manual tunnels through a IPv4
cloud. Also we will check the different options for the tunnel and the format of the packets.

Background
In this activity, you will practice configuring IPv6 addresses on a router and connecting different IPv6 islands
through manual IPv6IP tunnel, that it is supported by Packet Tracer (PT). In class, we have seen also 6to4
tunnels that enable automatic tunnel setup, but it is not supported in PTv6.0. You will also practice verifying
your IPv6 addressing implementation and the analysis of ICMP IPv6 packets and HTTP traffic. PTv6.0 also
implements automatic tunnels ISATAP, but it is out of the scope of this course.

Part 1: Configure IPv6 Addressing on the R1 and R3 and check LAN


connectivity
Step 1: Enable R1 and R3 to forward IPv6 packets.
a. Click R1 and then the CLI tab. Press Enter.
b. Enter privileged EXEC mode with R1>enable
c. Enter the ipv6 unicast-routing global configuration command with configure terminal. This
command must be configured to enable the router to forward IPv6 packets.
R1(config)# ipv6 unicast-routing
d. Do the same on R3.
R3(config)# ipv6 unicast-routing

Step 2: Configure IPv6 addressing on Gigabit Interfaces of R1 and R3


a. Configure the IPv6 address with the following command, using the IPv6 given in the Addressing Table.
Fist is configured the global IPv6 address for GigabitEthernet0/0 and next the link local address, that it will
be the gateway for the hosts. Once we have finished, we will activate the interface.:
R1(config)# interface gig0/0
R1(config-if)# ipv6 address 2001:DB8:1:1::1/64
R1(config-if)# ipv6 address FE80::1 link-local
R1(config-if)# no shutdown

b. Do the same on R3 for GigabitEthernet0/1. Check the Addressing Table for the assignment

Step 3: Try to ping in IPv6 from hosts to all other devices, both in Global and Link-local
addresses
a. Open Sales computer configuration window by clicking the icon.
b. Click the Desktop tab > Command Prompt.
c. Test connectivity by entering the following command:
PC> ping 2001:DB8:1:1::1
PC> ping FE80::1

d. Repeat the ping for the other IPv6 using Addressing Table inside the LAN.

Page 3 of 14
ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

e. Repeat the ping with other clients until full connectivity is verified inside the LAN.
f. Try to ping from hosts to any IPv4 cloud or any IPv6 in the other LAN. Does it work? Why?
No funciona, porque el router no tiene IPV6 configurado.

Part 2: Check IPv4 Cloud Connectivity


Step 1: From R1, R2 and R3 check the routing IPv4 table.
a. From R1 try to ping R2 and R3, enter privileged EXEC mode and
R1# ping 172.16.12.2
R1# ping 172.16.23.2
R1# ping 172.16.23.3
b. From R1 check the routing IPv4 table. Can you see all the routes?.
Si el R2 conectado directamente y el R3 a travs del R2.
R1# show ip route
c. Repeat step 1b for R2 and R3.

Part 3: Configuring IPv6IP tunnel


Step 1: Configure the tunnel interface in R1.
a. In R1 enter the commands to the IPv6IP tunnel. Within this command we specify the IPv6 address for the
virtual tunnel interface, the mode of the tunnel (that is to transport IPv6 packets over IPv4) and the
definition of the added IPv4 header (with source address the IPv4 from Serial0/0/0 and destination
172.16.23.3 that is R3).
R1(config-if)# interface Tunnel0
ipv6 address FEC0::13:1/112
tunnel source Serial0/0/0
tunnel destination 172.16.23.3
tunnel mode ?
b. Which different modes have the tunnel interface?
gre generic route encapsulation protocol
ipv6ip IPv6 over IP encapsulation
c. Select tunnel mode ipv6ip ? and what different types of IPv6IP tunnels do we have?
isatap IPv6 automatic tunnelling using ISATAP
d. Select only tunnel mode ipv6ip

Step 2: Configure the tunnel interface in R3.


a. Enter the commands to the IPv6IP tunnel
R3(config-if)# interface Tunnel0
ipv6 address FEC0::13:3/112
tunnel source Serial0/0/1
tunnel destination 172.16.12.1

Page 4 of 14
ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

tunnel mode ipv6ip

Step 3: Check the IPv6 connectivity within the tunnel between R1 and R3.
a. From R1 try to ping R3
R1# ping FEC0::13:3

Step 4: Routing IPv6 packets though the tunnel


a. In R1 enter to define an IPv6 static route to reach the R3s LAN. The static route is defined for IPv6 with
route command, where it is specified the network destination and its prefix, and the next hop (a directly
connected router through an interface). In this case, the next hop specified is the IPv6 at the end of the
tunnel, that we can reach through the virtual tunnel.
R1(config)# ipv6 route 2001:DB8:1:2::/64 FEC0::13:3
b. In R3 enter to define an IPv6 static route to reach the R1s LAN
R3(config)# ipv6 route 2001:DB8:1:1::/64 FEC0::13:1

Part 4: Test and Verify Network Connectivity


Step 1: Check the IPv6 ping. Repeat Part 1 Step 3
a. Open any client computer configuration window by clicking the icon.
b. Click the Desktop tab > Command Prompt.
c. Test connectivity to any IPv6 host and server, by entering the following command. Does it work?
Si funciona
PC> ping 2001:DB8:1:2::1
d. Repeat the ping command with other clients until full connectivity is verified.

Step 2: Open the server web pages from the clients.


a. Click Sales and click the Desktop tab.
b. Click Web Browser. Enter 2001:DB8:1:1::4 in the URL box and click Go. The Accounting website
should appear. Does it work?
Si que funciona.
c. Enter 2001:DB8:1:2::4 in the URL box and click Go. The CAD website should appear. Does it work?
Si que funciona.
d. Repeat steps 1a through 1d for the rest of the clients.

Part 5: Analyzing the packets


Step 1: Analyzing the ICMP IPv6IP tunnel packets
a. Change the Packet Tracer mode to Simulation instead of Real Time, clicking in the bottom at the right
corner.
b. Select ICMP and HTTP from the Event List Filters.

Page 5 of 14
ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

1) Click Edit Filters to display the available visible events. Toggle the Show All/None check box and
notice how the check boxes switch from unchecked to checked or checked to unchecked, depending
on the current state.
2) Click the Show All/None check box until all boxes are cleared and then select ICMPv6 and HTTP.
Click anywhere outside of the Edit Filters box to hide it. The Visible Events should now only display
HTTP.
c. Open Sales client computer configuration window by clicking the icon.
d. Click the Desktop tab > Command Prompt.
PC> ping 2001:DB8:1:2::4
e. Because time in Simulation mode is event-driven, you must use the Capture/Forward button to display
network events.
f. In the screen you will see the different packets, as envelopes. Also, you will see in the simulation panel
the different packets. In the simulation panel, choose one packet in the IPv4 cloud and analyze its
content, by selecting on the right side of the panel, the Info column. Use the Inbound PDU details tabs to
answer the following questions.
1) Which is the protocol identification in the IPv4 header?
0x29
2) Which is the source and destination of the IPv4 header?
SRC IP: 172.16.12.1
DST IP: 172.16.23.3
3) Which is the protocol identification in the IPv6 header?
0x6
4) Which is the source and destination of the IPv6 header?
SRC IP: 2001:DB8:1:1::2
DST IP: 2001:DB8:1:2::4

Step 2: Analyzing the HTTP IPv6IP tunnel packets


a. Click Sales and click the Desktop tab. Click Web Browser. Enter 2001:DB8:1:2::4 in the URL box and
click Go.
b. In the simulation panel, choose one in the IPv4 cloud and analyze its content, by selecting on the right
side of the panel, the Info column.
1) Which is the protocol identification in the IPv4 header?
0x29
2) Which is the source and destination of the IPv4 header?
SRC IP: 172.16.12.1
DST IP: 172.16.23.3

3) Which is the protocol identification in the IPv6 header?


0x6
4) Which is the source and destination of the IPv6 header?
SRC IP: 2001:DB8:1:1::2

Page 6 of 14
ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

DST IP: 2001:DB8:1:2::4

Part 6: Once complete this lab, save the routers configuration by cut and
paste in a txt file and prepare a report.
a. Click R1, R2 and R3, then the CLI tab. Enter privileged EXEC mode and execute #show run and copy
and paste till the end command in each configuration. Save in separate files, with the name of the router
and the name of the lab session.
b. Prepare a report with the answers; you can use this document with different color, where you can include
at the end the different routers configurations.

R1:
R1#show run
Building configuration...

Current configuration : 1128 bytes


!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
!
!
!
!
!
ip cef
ipv6 unicast-routing
!
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1524379B
!
!
!
!

Page 7 of 14
ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Tunnel0
no ip address
mtu 1476
ipv6 address FEC0::13:1/112
tunnel source Serial0/0/0
tunnel destination 172.16.23.3
tunnel mode ipv6ip
!
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:1:1::1/64
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/2
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 172.16.12.1 255.255.255.0
!
interface Serial0/0/1

Page 8 of 14
ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router eigrp 1
network 172.16.0.0
!
ip classless
!
ip flow-export version 9
!
ipv6 route 2001:DB8:1:2::/64 FEC0::13:3
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
End

R2:
R2# sh run
Building configuration...

Current configuration : 887 bytes


!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R2

Page 9 of 14
ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX15245XH0
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/2

Page 10 of 14
ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 172.16.12.2 255.255.255.0
clock rate 4000000
!
interface Serial0/0/1
ip address 172.16.23.2 255.255.255.0
clock rate 4000000
!
interface Vlan1
no ip address
shutdown
!
router eigrp 1
network 172.16.0.0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
End

R3:
R3#sh run
Building configuration...

Page 11 of 14
ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

Current configuration : 1128 bytes


!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R3
!
!
!
!
!
!
!
!
ip cef
ipv6 unicast-routing
!
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1524D17P
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Tunnel0
no ip address
mtu 1476

Page 12 of 14
ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

ipv6 address FEC0::13:3/112


tunnel source Serial0/0/1
tunnel destination 172.16.12.1
tunnel mode ipv6ip
!
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:1:2::1/64
!
interface GigabitEthernet0/2
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
no ip address
clock rate 2000000
shutdown
!
interface Serial0/0/1
ip address 172.16.23.3 255.255.255.0
!
interface Vlan1
no ip address
shutdown
!
router eigrp 1
network 172.16.0.0
!
ip classless
!
ip flow-export version 9
!
ipv6 route 2001:DB8:1:1::/64 FEC0::13:1
!

Page 13 of 14
ACNP /RSSI -- Master ASMT /IT Lab 2- Tunnel IPv6IP

!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end

Page 14 of 14

You might also like