Chapter 1 Lab 1-1, Basic Ripng and Default Gateway Configuration
Chapter 1 Lab 1-1, Basic Ripng and Default Gateway Configuration
Objectives
Configure IPv6 addressing.
Configure and verify RIPng on R1 and R2.
Configure IPv6 static routes between R2 and R3.
Propagate a default route using RIPng.
Examine the RIP process and RIP database.
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
Background
In this lab you will be configuring a new network to connect a company’s Engineering, Marketing, and
Accounting departments using IPv6 and RIPng on two routers. You will also be configuring IPv6 static routing
between the company’s gateway router (R2) and an ISP (R3). The gateway router will propagate the IPv6
default route via RIPng. Your task is to configure RIPng to enable full connectivity between all routers.
Note: This lab uses Cisco 1941 routers with Cisco IOS Release 15.4 with IP Base. The switches are
Cisco WS-C2960-24TT-L with Fast Ethernet interfaces, therefore the router will use routing
metrics associated with a 100 Mb/s interface. Depending on the router or switch model and Cisco IOS
Software version, the commands available and output produced might vary from what is shown in this lab.
Required Resources
3 routers (Cisco IOS Release 15.2 or comparable)
2 switches (LAN interfaces)
Serial and Ethernet cables
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
2001:DB8:CAFE:12::1
R2#
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
Loopback10
GigabitEthernet0/0
Serial0/0/0
Redistribution:
None
R2#
Which interfaces are involved in the RIPng routing process on router R2?
Loopback 10, 11, 12, Serial 0/0/0 and GigabitEthernet 0/0 are each participating in the RIPng routing
process on R2.
_______________________________________________________________________________
Which active interface(s) are NOT involved in the RIPng routing process on router R2?
The Serial 0/0/1 is not participating in the RIPng routing process on R2.
S0/0/1
_______________________________________________________________________________
b. Use the show ipv6 route command to view R1’s IPv6 routing table.
R1#show ipv6 route
IPv6 Routing Table - default - 9 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2, a - Application
C 2001:DB8:CAFE:1::/64 [0/0]
via GigabitEthernet0/0, directly connected
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 5 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
L 2001:DB8:CAFE:1::1/128 [0/0]
via GigabitEthernet0/0, receive
C 2001:DB8:CAFE:2::/64 [0/0]
via Serial0/0/0, directly connected
L 2001:DB8:CAFE:2::1/128 [0/0]
via Serial0/0/0, receive
R 2001:DB8:CAFE:3::/64 [120/2]
via FE80::2, Serial0/0/0
R 2001:DB8:CAFE:10::/64 [120/2]
via FE80::2, Serial0/0/0
R 2001:DB8:CAFE:11::/64 [120/2]
via FE80::2, Serial0/0/0
R 2001:DB8:CAFE:12::/64 [120/2]
via FE80::2, Serial0/0/0
L FF00::/8 [0/0]
via Null0, receive
R1#
What is the next-hop address and the type of IPv6 address for the RIPng routes on R1?
FE80::2 que es la dirección local de enlace IPv6 de la interfaz
serial 0/0/0 de R2
FE80::2 which is the IPv6 link-local address of R2’s serial 0/0/0 interface.
_______________________________________________________________________________
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
Note: The ipv6 unicast-routing command is required for a router to forward IPv6 packets, however IPv6
static routes can be configured without this command and forwarding IPv6 packets will be successful.
However, it is suggested to use the ipv6 unicast-routing command.
b. Configure an IPv6 default static route on R2, forwarding packets to R3. Propagate the default route to
other RIPng routers in addition to other routes in R2’s routing table.
R2(config)# ipv6 route ::/0 2001:db8:feed:1::1
Step 5: Propagate the default route along with other routes via RIPng and verify.
a. Propagate the default route to other RIPng routers in addition to other routes in R2’s routing table.
R2(config)# interface serial 0/0/0
R2(config-if)# ipv6 rip ROUTING-RIPng default-information originate
The originate keyword propagates the default route in addition to other routes in R2’s routing table.
b. Display the RIPng routes in R1’s IPv6 routing table. Verify that R1 is receiving both an IPv6 default route
and other routes from R2 via RIPng.
R1# show ipv6 route rip
IPv6 Routing Table - default - 10 entries
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 7 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
What is the RIPng hop count for the default and other routes? Explain how the hop count is determined.
El conteo de saltos de RIPng es 2.
Un enrutador RIPng incluye el conteo de salto independiente.
The hop count for all RIPng routes is 2. A RIPng router includes itself in the hop count. For example,
2001:DB8:CAFE:3::/64 is 2 hops away, R1 plus R2.
_______________________________________________________________________________
_______________________________________________________________________________
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 8 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
_______________________________________________________________________________
_______________________________________________________________________________
c. To check whether you have full connectivity, from R1 ping the interfaces on R2 and R3. If you have
successfully pinged all the remote interfaces, congratulations! You have configured RIPng including a
default route.
Step 6: Propagate only the default route via RIPng and verify.
a. Remove the previous command that propagates the default route using the originate keyword and replace
it with the same command using the only keyword.
R2(config)# interface serial 0/0/0
R2(config-if)# no ipv6 rip ROUTING-RIPng default-information originate
R2(config-if)# ipv6 rip ROUTING-RIPng default-information only
b. Display the RIPng routes in R1’s IPv6 routing table. Verify that R1 is only receiving an IPv6 default route
from R2 via RIPng. You will need to wait for the routes to expire on R1 or issue the clear ipv6 rip
ROUTING-RIPng command to clear the RIPng databases on R1 and R2.
R1# clear ipv6 rip ROUTING-RIPng
R1# show ipv6 route rip
IPv6 Routing Table - default - 6 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2, a - Application
R ::/0 [120/2]
via FE80::2, Serial0/0/0
R1#
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 9 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
How many RIPng processes are running on R2 and what are the process names?
solo hay un proceso RIPng ejecutándose en R2 con el nombre de proceso ROUTING-RIPng______
There is only one RIPng process running on R2 with the process name ROUTING-RIPng.
What destination address and type of address does RIPng use to send updates?
RIPng uses the IPv6 multicast address FF02::9.
_______________________________________________________________________________
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 10 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
Which entry is installed in the IPv6 routing table and why is the other route not included?
Only the 2001:DB8:CAFE:1::/64 entry is installed in the IPv6 routing table. The 2001:DB8:CAFE:2::/64 is
not installed as a RIPng route because it is installed as a directly connected network which has a lower
administrative distance.
_______________________________________________________________________________
_______________________________________________________________________________
What is the next-hop IPv6 address and exit-interface of both RIP database entries?
Bothe entries have the next-hop address FE80::2 and exit-interface serial 0/0/0.
_______________________________________________________________________________
_______________________________________________________________________________
What happens when “expires in n seconds” reaches 0? What keeps this value from expiring?
When the countdown timer reaches 0, the route is removed from the routing table and marked as expired.
RIPng sends periodic updates every 30 seconds which refreshes the countdown timer.
_______________________________________________________________________________
_______________________________________________________________________________
Why are there two paths from the next-hop FE80::1/Serial0/0/0 but only one route in the IPv6 routing
table using the next-hop FE80::1?
One path is for the 2001:DB8:CAFE:1::/64 prefix which is in the IPv6 routing table. The second path is for
the 2001:DB8:CAFE:2::/64 prefix which is not using the next-hop FE80::1 because its directly connected
network (administrative distance of 0) is a better path. This can be verified using the debug ipv6 rip
command.
Una ruta es para el 2001: DB8: CAFE: 1 :: / 64 prefijo que está en la tabla de enrutamiento IPv6. La
segunda ruta es para el 2001: DB8: CAFE: 2 :: / 64 prefijo que no utiliza el siguiente salto FE80 :: 1
porque su red conectada directamente (distancia administrativa de 0) es una mejor ruta. Esto se puede
verificar usando el comando debug ipv6 rip
_______________________________________________________________________________
_______________________________________________________________________________
_______________________________________________________________________________
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 11 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
R2#show running
Building configuration...
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 12 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
logging synchronous
!
line aux 0
!
line vty 0 4
login
!
!
!
end
R1#
R1#
R1#
R1#ping 2001:db8:feed:1::1
R1#ping 2001:db8:feed:1::2
R1#show running
Building configuration...
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
description Engineering Department
no ip address
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:1::1/64
ipv6 rip ROUTING-RIPng enable
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
description Serial link to R2
no ip address
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:2::1/64
ipv6 rip ROUTING-RIPng enable
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
ipv6 router rip ROUTING-RIPng
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 16 of 17
CCNPv7 ROUTE Lab 1-1, Basic RIPng and Default Gateway Configuration
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
!
line aux 0
!
line vty 0 4
login
!
!
!
end
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 17 of 17