Académique Documents
Professionnel Documents
Culture Documents
This publication, CCNA LAB WORKBOOK, was developed by Mohamed Ouamer. All rights
reserved. No part of this publication may be reproduced or distributed in any form or by any
means without the prior written permission of Mohamed Ouamer.
Cisco®, Cisco Systems®, CCDA®, CCNA®, CCDP®, CCNP®, CCIE®, CCSI®, the Cisco
Systems logo and the CCIE logo are trademarks or registered trademarks of Cisco Systems,
Inc. in the United States and certain other countries. All other trademarks are trademarks of
their respective owners.
If you have questions or concerns about our Copyright information, please email us at
contact@networkexperttraining.com.
DISCLAIMER
The following publication, CCNA LAB WORKBOOK, is developed to assist candidates in the
preparation for Cisco Systems’ CCNA exam.
While every effort has been made to ensure that all material is as complete and accurate as
possible, the enclosed material is presented on an “as is” basis. Neither the authors nor
networkexperttraining.com assume any liability or responsibility to any person or entity with
respect to loss or damages incurred from the information contained in this workbook.
ERRATA
Although we have taken every care to ensure the accuracy of our contents, mistakes do
happen. If you find a mistake in this workbook—maybe a mistake in text or configuration—we
would be grateful if you would report this to us. By doing this you can save other readers from
frustration, and help to improve subsequent versions of this workbook. If you find any errata,
report them by contacting us at support@networkexperttraning.com. Once your errata have
been verified, your submission will be accepted and the errata added to the list of existing
errata. . The existing errata can be requested by by contacting us at
support@networkexperttraning.com.
TABLE OF CONTENTS:
I. Network diagram:
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
HTTP://WWW.NETWORKEXPERTTRAINING.COM
PAGE 1/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R2:
hostname R2
!
line con 0
exec-timeout 0 0
logging synchronous
!
line vty 0 4
exec-timeout 0 0
logging synchronous
password cisco
login
!
!
end
R3:
hostname R3
!
line con 0
exec-timeout 0 0
logging synchronous
!
line vty 0 4
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
HTTP://WWW.NETWORKEXPERTTRAINING.COM
PAGE 2/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
exec-timeout 0 0
logging synchronous
password cisco
login
!
!
end
III. Tasks:
1. Enable IPV6 on the fastethernet interfaces, and activate forwarding of IPv6 packets on the
routers.
2. Configure an IPV6 global address on each fastethernet interface using the IPv6 prefix
2001:1:2:3::/64 and the interface MAC address. R3 should learn the IPv6 address of the
interface F0/0 automatically. Disable RAs on R2’s F0/0 interface.
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
HTTP://WWW.NETWORKEXPERTTRAINING.COM
PAGE 3/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
IV. Solutions:
Task 1:
R1:
R1#configure terminal
R1(config)#ipv6 unicast-routing
R1(config)#interface FastEthernet0/0
R1(config-if)#ipv6 enable
R1(config-if)#end
R1#
R2:
R2#configure terminal
R2(config)#ipv6 unicast-routing
R2(config)#interface FastEthernet0/0
R2(config-if)#ipv6 enable
R2(config-if)#end
R2#
R3:
R3#configure terminal
R3(config)#ipv6 unicast-routing
R3(config)#interface FastEthernet0/0
R3(config-if)#ipv6 enable
R3(config-if)#end
R3#
Verification
R1:
R1#show ipv6 interface fastEthernet 0/0
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::C000:9FF:FEA8:0
No Virtual link-local address(es):
No global unicast address is configured
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFA8:0
MTU is 1500 bytes
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
HTTP://WWW.NETWORKEXPERTTRAINING.COM
PAGE 4/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R1#debug ipv6 nd
ICMP Neighbor Discovery events debugging is on
R1#
ICMPv6-ND: Sending NS for FE80::C000:9FF:FEA8:0 on FastEthernet0/0
ICMPv6-ND: DAD: FE80::C000:9FF:FEA8:0 is unique.
ICMPv6-ND: Sending NA for FE80::C000:9FF:FEA8:0 on FastEthernet0/0
ICMPv6-ND: Linklocal FE80::C000:9FF:FEA8:0 on FastEthernet0/0, Up
ICMPv6-ND: Address FE80::C000:9FF:FEA8:0/10 is up on FastEthernet0/0
ICMPv6-ND: Received NA for FE80::C001:9FF:FEA8:0 on FastEthernet0/0 from
FE80::C001:9FF:FEA8:0
ICMPv6-ND: Received NA for FE80::C002:9FF:FEA8:0 on FastEthernet0/0 from
FE80::C002:9FF:FEA8:0
R2:
R2#show ipv6 interface fastEthernet 0/0
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::C001:9FF:FEA8:0
No Virtual link-local address(es):
No global unicast address is configured
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFA8:0
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ICMP unreachables are sent
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND advertised reachable time is 0 milliseconds
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
HTTP://WWW.NETWORKEXPERTTRAINING.COM
PAGE 5/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R2#debug ipv6 nd
ICMP Neighbor Discovery events debugging is on
R2#
ICMPv6-ND: Sending NS for FE80::C001:9FF:FEA8:0 on FastEthernet0/0
ICMPv6-ND: DAD: FE80::C001:9FF:FEA8:0 is unique.
ICMPv6-ND: Sending NA for FE80::C001:9FF:FEA8:0 on FastEthernet0/0
ICMPv6-ND: Linklocal FE80::C001:9FF:FEA8:0 on FastEthernet0/0, Up
ICMPv6-ND: Address FE80::C001:9FF:FEA8:0/10 is up on FastEthernet0/0
ICMPv6-ND: Received NA for FE80::C002:9FF:FEA8:0 on FastEthernet0/0 from
FE80::C002:9FF:FEA8:0
ICMPv6-ND: Received NA for FE80::C000:9FF:FEA8:0 on FastEthernet0/0 from
FE80::C000:9FF:FEA8:0
R3:
R3#show ipv6 interface fastEthernet 0/0
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::C002:9FF:FEA8:0
No Virtual link-local address(es):
No global unicast address is configured
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFA8:0
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ICMP unreachables are sent
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND advertised reachable time is 0 milliseconds
ND advertised retransmit interval is 0 milliseconds
ND router advertisements are sent every 200 seconds
ND router advertisements live for 1800 seconds
ND advertised default router preference is Medium
Hosts use stateless autoconfig for addresses.
R3#
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
HTTP://WWW.NETWORKEXPERTTRAINING.COM
PAGE 6/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R3#debug ipv nd
ICMP Neighbor Discovery events debugging is on
R3#
ICMPv6-ND: Sending NS for FE80::C002:9FF:FEA8:0 on FastEthernet0/0
ICMPv6-ND: DAD: FE80::C002:9FF:FEA8:0 is unique.
ICMPv6-ND: Sending NA for FE80::C002:9FF:FEA8:0 on FastEthernet0/0
ICMPv6-ND: Linklocal FE80::C002:9FF:FEA8:0 on FastEthernet0/0, Up
ICMPv6-ND: Address FE80::C002:9FF:FEA8:0/10 is up on FastEthernet0/0
ICMPv6-ND: Received NA for FE80::C000:9FF:FEA8:0 on FastEthernet0/0 from
FE80::C000:9FF:FEA8:0
The IPV6 enable command activates the IPV6 protocol on a specific interface. Once Ipv6
is enabled on the interface, a link-local IPV6 address is generated based on the Layer-2
identifier. This IPV6 address is assigned to the interface after its uniqueness is verified and
confirmed via the DAD feature.
The link-local IPv6 address should be unique per link. Multiple interfaces on the same
router can share the same IPv6 link-local address. But two interfaces on the same link cannot
share the same IPV6 link-local address.
Task 2:
R1:
R1#configure terminal
R1(config)#interface FastEthernet0/0
R1(config-if)# ipv6 address 2001:1:2:3::/64 eui-64
R1(config-if)#end
R1#
R2:
R2#configure terminal
R2(config)#interface F0/0
R2(config-if)#ipv6 nd ra suppress
R2(config-if)#ipv6 address 2001:1:2:3::/64 eui-64
R2(config-if)#end
R2#
R3:
R3#configure terminal
R3(config)#interface f0/0
R3(config-if)#ipv6 address autoconfig
R3(config-if)#end
R3#
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
HTTP://WWW.NETWORKEXPERTTRAINING.COM
PAGE 7/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
Verification
R1:
R1#show ipv6 interface fastEthernet 0/0
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::C000:9FF:FEA8:0
No Virtual link-local address(es):
Global unicast address(es):
2001:1:2:3:C000:9FF:FEA8:0, subnet is 2001:1:2:3::/64 [EUI]
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFA8:0
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ICMP unreachables are sent
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND advertised reachable time is 0 milliseconds
ND advertised retransmit interval is 0 milliseconds
ND router advertisements are sent every 200 seconds
ND router advertisements live for 1800 seconds
ND advertised default router preference is Medium
Hosts use stateless autoconfig for addresses.
R1#
R2:
R2#show ipv6 interface fastEthernet 0/0
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::C001:9FF:FEA8:0
No Virtual link-local address(es):
Global unicast address(es):
2001:1:2:3:C001:9FF:FEA8:0, subnet is 2001:1:2:3::/64 [EUI]
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFA8:0
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ICMP unreachables are sent
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
HTTP://WWW.NETWORKEXPERTTRAINING.COM
PAGE 8/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R3:
R3#debug ipv nd
ICMP Neighbor Discovery events debugging is on
R3#
ICMPv6-ND: Sending RS on FastEthernet0/0
ICMPv6-ND: Received RA from FE80::C000:9FF:FEA8:0 on FastEthernet0/0
ICMPv6-ND: Prefix Information change for 2001:1:2:3::/64, 0x0 -> 0xE0
ICMPv6-ND: Adding prefix 2001:1:2:3::/64 to FastEthernet0/0
ICMPv6-ND: Sending NS for 2001:1:2:3:C002:9FF:FEA8:0 on FastEthernet0/0
ICMPv6-ND: Autoconfiguring 2001:1:2:3:C002:9FF:FEA8:0 on FastEthernet0/0
R3#
ICMPv6-ND: DAD: 2001:1:2:3:C002:9FF:FEA8:0 is unique.
ICMPv6-ND: Sending NA for 2001:1:2:3:C002:9FF:FEA8:0 on FastEthernet0/0
ICMPv6-ND: Address 2001:1:2:3:C002:9FF:FEA8:0/64 is up on FastEthernet0/0
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
HTTP://WWW.NETWORKEXPERTTRAINING.COM
PAGE 9/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
Because RAs are disabled on R2’s f0/0 interface, R2 will not respond to R3’s RS
messages. As a result, R3 will receive only RAs generated by R1 as shown in the output of the
debug ipv6 nd command, and It will configure the IPv6 address of the interface F0/0 using the
prefix supplied by R2 which 2001:1:2:3::/64.
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
HTTP://WWW.NETWORKEXPERTTRAINING.COM
PAGE 10/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
V. Links:
For more information about the commands used in this lab, use the following links:
1. debug ipv6 nd
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_03.html#wp203578
3
2. ipv6 address
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_05.html#wp213884
4
5. ipv6 nd ra suppress
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_07.html#wp213703
4
6. ipv6 unicast-routing
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_09.html#wp215679
8
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
HTTP://WWW.NETWORKEXPERTTRAINING.COM
PAGE 11/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
LAB 2: RIPNG
I. Network diagram:
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 1/13
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R2:
hostname R2
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
exec-timeout 0 0
logging synchronous
password cisco
login
!
!
end
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 2/13
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
III. Tasks:
1. Configure IPv6 addresses on R1 and R2 according to the network diagram. Make sure the
64-bit host portion of these addresses is calculated automatically.
2. Enable RIPng on R1 and R2’interfaces.
3. Set the maximum path parameter to the value of 2.
4. Configure R1 and R2 to forward RIP12 updates to the UDP port 6666 using the multicast
group FF02::ABCD.
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 3/13
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
IV. Solutions:
Task 1:
R1:
ipv6 unicast-routing
interface FastEthernet0/0
ipv6 address 2002::/64 eui-64
!
interface FastEthernet0/1
ipv6 address 2002:1::/64 eui-64
R2:
ipv6 unicast-routing
interface FastEthernet0/0
ipv6 address 2002::/64 eui-64
!
interface FastEthernet0/1
ipv6 address 2002:2::/64 eui-64
Verification:
R1:
R1#show ipv6 interface brief
FastEthernet0/0 [up/up]
FE80::C000:EFF:FE3C:0
2002::C000:EFF:FE3C:0
FastEthernet0/1 [up/up]
FE80::C000:EFF:FE3C:1
2002:1::C000:EFF:FE3C:1
R2:
Task 2:
R1 & R2:
ipv6 router rip RIP12
interface f0/0
ipv6 rip RIP12 enable
interface f0/1
ipv6 rip RIP12 enable
Verification:
R1:
R1#show ipv6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
C 2002::/64 [0/0]
via ::, FastEthernet0/0
L 2002::C000:EFF:FE3C:0/128 [0/0]
via ::, FastEthernet0/0
C 2002:1::/64 [0/0]
via ::, FastEthernet0/1
L 2002:1::C000:EFF:FE3C:1/128 [0/0]
via ::, FastEthernet0/1
R 2002:2::/64 [120/2]
via FE80::C001:EFF:FE3C:0, FastEthernet0/0
L FF00::/8 [0/0]
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 5/13
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
The output of the show ipv6 route command displays the RIPng route learned from R2.
This route points to an IPv6 link-local local address. This is also the case with OSPFv3 and
EIGRP for IPv6.
The show ipv6 rip RIP12 command displays the characteristics (interfaces, UDP port,
update interval, multicast address…) of the RIPng process “RIP12“.
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 6/13
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
FF02::9
<omitted output>
The show ipv6 interface shows that the interfaces F0/0 and F0/1 have joined the
multicast group FF02::9(the reserved address for RIPng updates).
The debug ipv6 rip shows that R1 is sending RIPng updates out of the interfaces F0/0 and
F0/1.
R2:
R2#show ipv6 rip RIP12
RIP process "RIP12", port 521, multicast-group FF02::9, pid 247
Administrative distance is 120. Maximum paths is 16
Updates every 30 seconds, expire after 180
Holddown lasts 0 seconds, garbage collect after 120
Split horizon is on; poison reverse is off
Default routes are not generated
Periodic updates 24, trigger updates 1
Interfaces:
FastEthernet0/1
FastEthernet0/0
Redistribution:
None
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 7/13
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 8/13
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
FF02::1:FF3C:1
<omitted output>
Task 3:
R1 & R2:
ipv6 router rip RIP12
maximum-paths 2
Verification:
R1:
R1#show ipv6 rip RIP12
RIP process "RIP12", port 521, multicast-group FF02::9, pid 247
Administrative distance is 120. Maximum paths is 2
Updates every 30 seconds, expire after 180
Holddown lasts 0 seconds, garbage collect after 120
Split horizon is on; poison reverse is off
Default routes are not generated
Periodic updates 78, trigger updates 3
Interfaces:
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 9/13
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
FastEthernet0/1
FastEthernet0/0
Redistribution:
None
R2:
R2#show ipv6 rip RIP12
RIP process "RIP12", port 521, multicast-group FF02::9, pid 247
Administrative distance is 120. Maximum paths is 2
Updates every 30 seconds, expire after 180
Holddown lasts 0 seconds, garbage collect after 120
Split horizon is on; poison reverse is off
Default routes are not generated
Periodic updates 68, trigger updates 1
Interfaces:
FastEthernet0/1
FastEthernet0/0
Redistribution:
None
Task 4
R1 & R2:
ipv6 router rip RIP12
port 6666 multicast-group FF02::abcd
Verification:
R1:
R1#show ipv6 rip RIP12
RIP process "RIP12", port 6666, multicast-group FF02::ABCD, pid 247
Administrative distance is 120. Maximum paths is 2
Updates every 30 seconds, expire after 180
Holddown lasts 0 seconds, garbage collect after 120
Split horizon is on; poison reverse is off
Default routes are not generated
Periodic updates 106, trigger updates 3
Interfaces:
FastEthernet0/1
FastEthernet0/0
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 10/13
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
Redistribution:
None
R2:
R2#show ipv6 rip RIP12
RIP process "RIP12", port 6666, multicast-group FF02::ABCD, pid 247
Administrative distance is 120. Maximum paths is 2
Updates every 30 seconds, expire after 180
Holddown lasts 0 seconds, garbage collect after 120
Split horizon is on; poison reverse is off
Default routes are not generated
Periodic updates 95, trigger updates 1
Interfaces:
FastEthernet0/1
FastEthernet0/0
Redistribution:
None
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 11/13
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 12/13
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
V. Links
For more information about the commands used in this lab, use the following links:
2. ipv6 address
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_05.html#wp213884
4
5. maximum-paths
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_09.html#wp216170
8
6. port
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_10.html#wp221376
8
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 13/13
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
I. Network diagram:
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 1/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R1:
hostname R1
!
Ipv6 unicast-routing
Interface loopback 0
Ipv6 address 2002:1::1/64
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
exec-timeout 0 0
logging synchronous
password cisco
login
!
!
end
R2:
hostname R2
!
Ipv6 unicast-routing
Interface loopback 0
Ipv6 address 2002:2::2/64
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
exec-timeout 0 0
logging synchronous
password cisco
login
!
!
end
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 2/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R3:
hostname R3
!
!
!
Ipv6 unicast-routing
Interface loopback 0
Ipv6 address 2002:3::3/64
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
exec-timeout 0 0
logging synchronous
password cisco
login
!
!
end
III. Tasks:
1. Configure IPV6 addressing on the frame relay cloud between R1, R2, and R3 according to
the following table:
Additionally, configure necessary frame relay mappings on R1, R2, and R3 so they can ping
each other frame relay interface.
2. Configure the RIPng process RIP123 on the routers. Make to enable it on all interfaces.
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 3/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
IV. Solutions:
Task 1:
To reach R2’s S0/0 and R3’s S0/0 interfaces, R1 has to use the DLCIs 102 and 103
respectively. So we need to map the IPv6 addresses 2002:123::2 and 2002:123::3 to the
DLCIs 102 and 103 respectively.
R1:
interface Serial0/0
encapsulation frame-relay
ipv6 address 2002:123::1/126
ipv6 address FE80::1 link-local
frame-relay map ipv6 2002:123::2 102 broadcast
frame-relay map ipv6 2002:123::3 103 broadcast
To reach R1’s S0/0 and R3’s S0/0 interfaces, R2 has to use the DLCI 201. So we need to
map the IPv6 addresses 2002:123::1 and 2002:123::3 to the DLCI 201.
R2:
interface Serial0/0
encapsulation frame-relay
ipv6 address 2002:123::2/126
ipv6 address FE80::2 link-local
frame-relay map ipv6 2002:123::1 201 broadcast
frame-relay map ipv6 2002:123::3 201 broadcast
To reach R1’s S0/0 and R2’s S0/0 interfaces, R2 has to use the DLCI 301. So we need to
map the IPv6 addresses 2002:123::1 and 2002:123::2 to the DLCI 301.
R3:
interface Serial0/0
encapsulation frame-relay
ipv6 address 2002:123::3/126
ipv6 address FE80::3 link-local
frame-relay map ipv6 2002:123::1 301 broadcast
frame-relay map ipv6 2002:123::2 301 broadcast
There is no need to disable Inverse ARP because it does not work over IPv6.
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 4/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
Verification
R1:
R1#ping 2002:123::2
R1#ping 2002:123::3
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 5/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R2:
R2#ping 2002:123::1
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 6/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R3:
R3#ping 2002:123::1
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 7/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
Task 2:
interface loopback0
ipv6 rip RIP123 enable
interface serial0/0
ipv6 rip RIP123 enable
Verification
R1:
R1#show ipv6 route
IPv6 Routing Table - 8 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C 2002:1::/64 [0/0]
via ::, Loopback0
L 2002:1::1/128 [0/0]
via ::, Loopback0
R 2002:2::/64 [120/2]
via FE80::2, Serial0/0
R 2002:3::/64 [120/2]
via FE80::3, Serial0/0
C 2002:123::/126 [0/0]
via ::, Serial0/0
L 2002:123::1/128 [0/0]
via ::, Serial0/0
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 8/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R2
R2#show ipv6 route
IPv6 Routing Table - 7 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
R 2002:1::/64 [120/2]
via FE80::1, Serial0/0
C 2002:2::/64 [0/0]
via ::, Loopback0
L 2002:2::2/128 [0/0]
via ::, Loopback0
C 2002:123::/126 [0/0]
via ::, Serial0/0
L 2002:123::2/128 [0/0]
via ::, Serial0/0
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 9/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R3
R3#show ipv6 rip RIP123
RIP process "RIP123", port 521, multicast-group FF02::9, pid 179
Administrative distance is 120. Maximum paths is 16
Updates every 30 seconds, expire after 180
Holddown lasts 0 seconds, garbage collect after 120
Split horizon is on; poison reverse is off
Default routes are not generated
Periodic updates 24, trigger updates 4
Interfaces:
Serial0/0
Loopback0
Redistribution:
None
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 10/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
L 2002:123::3/128 [0/0]
via ::, Serial0/0
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
Although R1 has routing information about R2’s loopback 0 interface, it cannot ping it as
shown in the output below. This is also the case with R3’s loopback 0 interface.
R1#ping 2002:2::2
R1#ping 2002:3::3
According to the output of the show ipv6 route rip, the next hop addresses are link-local.
Therefore, you have to configure the necessary frame relay mapping between these IPV6 link-
local addresses and the appropriate DLCIs.
R1:
interface S0/0
Frame-relay map ipv6 Fe80::2 102 br
Frame-relay map ipv6 Fe80::3 103 br
R2 & R3
interface s0/0
Frame-relay map ipv6 Fe80::1 201 br
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 11/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
After changing the configuration, R1 can ping successfully the IPv6 addresses 2002:2::2
and 2002:3::3 as shown below.
R1#ping 2002:2::2
R1#ping 2002:3::3
Task 3:
R1:
R1#
R1#
*Mar 1 00:41:44.867: RIPng: Sending multicast update on Serial0/0 for RIP123
*Mar 1 00:41:44.871: src=FE80::1
*Mar 1 00:41:44.871: dst=FF02::9 (Serial0/0)
*Mar 1 00:41:44.871: sport=521, dport=521, length=52
*Mar 1 00:41:44.875: command=2, version=1, mbz=0, #rte=2
*Mar 1 00:41:44.875: tag=0, metric=1, prefix=2002:1::/64
*Mar 1 00:41:44.875: tag=0, metric=1, prefix=2002:123::/126
*Mar 1 00:41:44.879: IPV6: source FE80::1 (local)
*Mar 1 00:41:44.879: dest FF02::9 (Serial0/0)
*Mar 1 00:41:44.879: traffic class 224, flow 0x0, len 92+1408, prot 17, hops 255,
originating
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 12/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
On Hub-and-spoke networks, the spokes cannot share routing information about each
other. To avoid this behavior, disable split-horizon feature on the hub. Do not disable it on the
spokes.
R1:
ipv6 router rip RIP123
no split-horizon
Verification
R1:
R1#show ipv rip RIP123
RIP process "RIP123", port 521, multicast-group FF02::9, pid 176
Administrative distance is 120. Maximum paths is 16
Updates every 30 seconds, expire after 180
Holddown lasts 0 seconds, garbage collect after 120
Split horizon is off; poison reverse is off
Default routes are not generated
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 13/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R2:
R2#ping 2002:3::3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:3::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/85/136 ms
R3:
R3#ping 2002:2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/107/216 ms
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 14/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
V. Links
For more information about the commands used in this lab, use the following links:
3. ipv6 unicast-routing
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_09.html#wp215679
8
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 15/15
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
I. Network diagram:
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 1/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R1:
hostname R1
!
!
!
ipv6 unicast-routing
!
interface s1/0
clock rate 64000
ip address 193.12.12.1 255.255.255.0
no shutdown
!
interface fastethernet 0/0
ipv6 address 2002:1::/64 eui-64
no shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
exec-timeout 0 0
logging synchronous
password cisco
login
!
!
End
R2:
hostname R2
!
!
!
ipv6 unicast-routing
!
interface s1/0
ip address 193.12.12.2 255.255.255.0
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 2/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
no shutdown
!
interface fastethernet 0/0
ipv6 address 2002:2::/64 eui-64
no shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
exec-timeout 0 0
logging synchronous
password cisco
login
!
end
III. Tasks:
1. Create an IPv6 tunnel between R1 & R2 over the IPV4 network using the IPv6 prefix
2001:12:12:12::/126. The tunnel mode is ipv6ip.
2. What do you need to configure on R1 and R2 to enable communication between PC1 and
PC2?
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 3/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
IV. Solutions:
Task1:
The IPv6 networks 2001:1:1:1::/64 and 2001:2:2:2::/64 are discontiguous because they
are separated by the IPv4 network 193.12.12.0/24.
To enable communication between these two IPv6 networks, you can use different
techniques. One of these techniques is ipv6-over-ipv4 tunneling. Using this technique, every
IPv6 packets sent over the serial link will be encapsulated in an IPV4 packet on one end and
de-encapsulated on the other end of the serial link.
To accomplish this task, configure two tunnel interfaces on R1 & R2 using the following
parameters:
R1:
interface tunnel0
tunnel source s1/0
tunnel destination 193.12.12.2
tunnel mode ipv6ip
ipv6 address 2001 :12 :12 :12 ::1/126
R1:
interface tunnel12
tunnel source s1/0
tunnel destination 193.12.12.1
tunnel mode ipv6ip
ipv6 address 2001:12:12:12::2/126
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 4/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
Verification
R1:
R1#show ipv route
IPv6 Routing Table - 5 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
C 2001:12:12:12::/126 [0/0]
via ::, Tunnel0
L 2001:12:12:12::1/128 [0/0]
via ::, Tunnel0
C 2002:1::/64 [0/0]
via ::, FastEthernet0/0
L 2002:1::C000:DFF:FE94:0/128 [0/0]
via ::, FastEthernet0/0
L FF00::/8 [0/0]
via ::, Null0
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 5/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R1#ping 2001:12:12:12::2
R2:
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 6/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
FF02::1:FF00:2
FF02::1:FF0C:C02
MTU is 1480 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ICMP unreachables are sent
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
Hosts use stateless autoconfig for addresses.
R1#ping 2001:12:12:12::2
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 7/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
Task2:
Before answering the question, let’s ping the R2’s F0/0 interface from R1 and take a look
at the output debug ipv6 packet command shown below.
R1 cannot ping R2’s F0/0 interface because it did not find any route to forward the ICMP
echo-request packets. This is illustrated in the output of the debug ipv6 packet command by
the message “Route not found”.
let’s ping the R1’s F0/0 interface from R2 and take at the output debug ipv6 packet
command shown below.
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 8/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
R2#
To sum up, R1 and R2 need to add routing information about each other’s connected
IPv6 network. So you have to configure IPv6 routing on R1 & R2 using static IPV6 routes or a
dynamic routing protocol such as RIPng or OSPF v3.
R1:
ipv6 route 2002:2:::/64 tunnel0
R2:
ipv6 route 2002:1::/64 tunnel12
Verification
R1:
R1#ping 2002:2::C001:DFF:FE94:0
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 9/11
CCNA LAB WORKBOOK INTERNET PROTOCOL V6
C 2001:12:12:12::/126 [0/0]
via ::, Tunnel0
L 2001:12:12:12::1/128 [0/0]
via ::, Tunnel0
C 2002:1::/64 [0/0]
via ::, FastEthernet0/0
L 2002:1::C000:DFF:FE94:0/128 [0/0]
via ::, FastEthernet0/0
S 2002:2::/64 [1/0]
via ::, Tunnel0
L FF00::/8 [0/0]
via ::, Null0
R1#
R2:
R2#ping 2002:1::C000:DFF:FE94:0
V. Links
For more information about the commands used in this lab, use the following links:
1. ipv6 route
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_08.html#wp209357
1
2. ipv6 unicast-routing
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_09.html#wp215679
8
5. tunnel destination
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_17.html#wp219547
9
7. tunnel source
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_17.html#wp219615
1
COPYRIGHT © 2009 MOHAMED OUAMER. ALL RIGHTS RESERVED
http://www.networkexperttraining.com
Page 11/11