2.2.4.4 Packet Tracer - Configuring IPv6 Static and Default Routes
(Instructor Version)
Instructor Note: Red font color or Gray highlights indicate text that appears in the instructor copy only.
Topology

IPv6 Addressing Table
| Device | Interface | IPv6 Address/Prefix | Default Gateway |
|---|---|---|---|
| R1 | G0/0 | 2001:DB8:1:1::1/64 | N/A |
| S0/0/0 | 2001:DB8:1:A001::1/64 | N/A | |
| R2 | G0/0 | 2001:DB8:1:2::1/64 | N/A |
| S0/0/0 | 2001:DB8:1:A001::2/64 | N/A | |
| S0/0/1 | 2001:DB8:1:A002::1/64 | N/A | |
| R3 | G0/0 | 2001:DB8:1:3::1/64 | N/A |
| S0/0/1 | 2001:DB8:1:A002::2/64 | N/A | |
| PC1 | NIC | 2001:DB8:1:1::F/64 | FE80::1 |
| PC2 | NIC | 2001:DB8:1:2::F/64 | FE80::2 |
| PC3 | NIC | 2001:DB8:1:3::F/64 | FE80::3 |
Objectives
- Part 1: Examine the Network and Evaluate the Need for Static Routing
- Part 2: Configure IPv6 Static and Default Routes
- Part 3: Verify Connectivity
Background
In this activity, you will configure IPv6 static and default routes. A static route is a route that is entered manually by the network administrator in order to create a route that is reliable and safe. There are four different static routes used in this activity: a recursive static route; a directly attached static route; a fully specified static route; and a default route.
Part 1: Examine the Network and Evaluate the Need for Static Routing
a. Looking at the topology diagram, how many networks are there in total?
5
b. How many networks are directly connected to R1, R2, and R3?
R1 has 2, R2 has 3, and R3 has 2.
c. How many static routes are required by each router to reach networks that are not directly connected?
R1 needs to configure 3 static routes, R2 needs to configure 2 static routes, and R3 needs to configure 3 static routes.
d. Which command is used to configure IPv6 static routes?
ipv6 route ipv6-prefix/prefix-length {ipv6-address | exit-intf}Part 2: Configure IPv6 Static and Default Routes
Step 1: Enable IPv6 routing on all routers.
Before configuring static routes, we must configure the router to forward IPv6 packets.
Which command accomplishes this?
ipv6 unicast-routingEnter this command on each router.
Step 2: Configure recursive static routes on R1.
Configure an IPv6 recursive static route to every network not directly connected to R1.
R1(config)# ipv6 route 2001:DB8:1:2::/64 2001:DB8:1:A001::2 R1(config)# ipv6 route 2001:DB8:1:A002::/64 2001:DB8:1:A001::2 R1(config)# ipv6 route 2001:DB8:1:3::/64 2001:DB8:1:A001::2
Step 3: Configure a directly attached and a fully specified static route on R2.
a. Configure a directly attached static route from R2 to the R1 LAN.
R2(config)# ipv6 route 2001:DB8:1:1::/64 Serial0/0/0b. Configure a fully specified route from R2 to the R3 LAN.
Note: Packet Tracer v6.0.1 only checks for directly attached and recursive static routes. Your instructor may ask to review your configuration of a fully specified IPv6 static route.
R2(config)# ipv6 route 2001:DB8:1:3::/64 Serial0/0/1 2001:DB8:1:A002::2Step 4: Configure a default route on R3.
Configure a recursive default route on R3 to reach all networks not directly connected.
R3(config)# ipv6 route ::/0 2001:DB8:1:A002::1Step 5: Verify static route configurations.
a. Which command is used in Packet Tracer to verify the IPv6 configuration of a PC from the command prompt?
ipv6configb. Which command displays the IPv6 addresses configured on a router's interface?
show ipv6 interface briefc. Which command displays the contents of the IPv6 routing table?
show ipv6 routePart 3: Verify Connectivity
Every device should now be able to ping every other device. If not, review your static and default route configurations.
Suggested Scoring Rubric
| Activity Section | Question Location | Possible Points | Earned Points |
|---|---|---|---|
| Part 1: Examine the Network and Evaluate the Need for Static Routing | a - d | 20 | |
| Part 1 Total | 20 | ||
| Part 2: Configure IPv6 Static and Default Routes | Step 1 | 5 | |
| Step 5 | 15 | ||
| Part 2 Total | 20 | ||
| Packet Tracer Score | 60 | ||
| Total Score | 100 | ||
Device Configs - Final
ROUTER R1
! ============================================================== !--- 2.2.4.4 Packet Tracer - Configuring IPv6 Static and Default Routes !--- ANSWER SCRIPT FOR ROUTER R1 !--- Usage: copy this whole file and paste it into the R1 terminal (start at the R1> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Part 2, Step 1: Enable IPv6 routing on all routers. ! -------------------------------------------------------------- !--- Enable the router to forward IPv6 packets. ipv6 unicast-routing ! -------------------------------------------------------------- !--- Part 2, Step 2: Configure recursive static routes on R1. ! -------------------------------------------------------------- !--- R2 LAN 2001:DB8:1:2::/64 - recursive static route via the R2 next hop 2001:DB8:1:A001::2. ipv6 route 2001:DB8:1:2::/64 2001:DB8:1:A001::2 !--- WAN link between R2 and R3 (2001:DB8:1:A002::/64) - recursive static route via 2001:DB8:1:A001::2. ipv6 route 2001:DB8:1:A002::/64 2001:DB8:1:A001::2 !--- R3 LAN 2001:DB8:1:3::/64 - recursive static route via 2001:DB8:1:A001::2. ipv6 route 2001:DB8:1:3::/64 2001:DB8:1:A001::2 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ipv6 route static -> three S routes, all via 2001:DB8:1:A001::2 !--- ping 2001:DB8:1:A001::2 -> R1 reaches R2 S0/0/0 !--- (on PC1) ping 2001:DB8:1:2::F -> PC1 reaches PC2 !--- (on PC1) ping 2001:DB8:1:3::F -> PC1 reaches PC3 !--- Note: the pings to PC2 and PC3 only succeed after R2 and R3 also have !--- their return routes (Part 2 Steps 3 and 4). ! ==============================================================
ROUTER R2
! ============================================================== !--- 2.2.4.4 Packet Tracer - Configuring IPv6 Static and Default Routes !--- ANSWER SCRIPT FOR ROUTER R2 !--- Usage: copy this whole file and paste it into the R2 terminal (start at the R2> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Part 2, Step 1: Enable IPv6 routing on all routers. ! -------------------------------------------------------------- !--- Enable the router to forward IPv6 packets. ipv6 unicast-routing ! -------------------------------------------------------------- !--- Part 2, Step 3: Configure a directly attached and a fully specified static route on R2. ! -------------------------------------------------------------- !--- R1 LAN 2001:DB8:1:1::/64 - directly attached static route out Serial0/0/0. ipv6 route 2001:DB8:1:1::/64 Serial0/0/0 !--- R3 LAN 2001:DB8:1:3::/64 - fully specified static route out Serial0/0/1 to next hop 2001:DB8:1:A002::2. ipv6 route 2001:DB8:1:3::/64 Serial0/0/1 2001:DB8:1:A002::2 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ipv6 route static -> S 2001:DB8:1:1::/64 via Serial0/0/0, S 2001:DB8:1:3::/64 via 2001:DB8:1:A002::2, Serial0/0/1 !--- ping 2001:DB8:1:1::1 -> R2 reaches R1 G0/0 !--- ping 2001:DB8:1:3::1 -> R2 reaches R3 G0/0 !--- Note: older Packet Tracer versions only score the directly attached and !--- recursive routes; the fully specified route is still required by Step 3b. ! ==============================================================
ROUTER R3
! ============================================================== !--- 2.2.4.4 Packet Tracer - Configuring IPv6 Static and Default Routes !--- ANSWER SCRIPT FOR ROUTER R3 !--- Usage: copy this whole file and paste it into the R3 terminal (start at the R3> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Part 2, Step 1: Enable IPv6 routing on all routers. ! -------------------------------------------------------------- !--- Enable the router to forward IPv6 packets. ipv6 unicast-routing ! -------------------------------------------------------------- !--- Part 2, Step 4: Configure a default route on R3. ! -------------------------------------------------------------- !--- Recursive IPv6 default route via the R2 next hop 2001:DB8:1:A002::1. ipv6 route ::/0 2001:DB8:1:A002::1 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ipv6 route -> S ::/0 [1/0] via 2001:DB8:1:A002::1 !--- ping 2001:DB8:1:1::1 -> R3 reaches R1 G0/0 through R2 !--- (on PC3) ping 2001:DB8:1:1::F -> PC3 reaches PC1 !--- (on PC3) ping 2001:DB8:1:2::F -> PC3 reaches PC2 ! ==============================================================
