Alpha Centauri Studies
CoursesFor Institutions

Loading...

Alpha Centauri Studies

CSEC past papers, worked

Past papers worked question by question, and courses built on the CSEC syllabus, for students across the Caribbean.

Serving Caribbean students since 2025

Explore

CoursesAboutContact

Support

PrivacyTermsHelp

Subscribe to Our Newsletter

New papers and courses, when they land.

Connect With Us
© 2026 Alpha Centauri Studies. All rights reserved.
3.3 Configure and verify IPv4 and IPv6 static routing

Packet Tracer activity2.2.2.4ccna210 min

2.2.2.4 Packet Tracer - Configuring IPv4 Static and Default Routes Instructions

Want it marked as you type? Install the lab panel once and Packet Tracer shows your marks and a tutor you can ask.

Topology

The topology for Configuring IPv4 Static and Default Routes, in the Packet Tracer window. Three routers form a V: R2 at the top, R1 at the bottom left and R3 at the bottom right. R2 reaches R1 over a red serial link on 172.31.1.192/30 and R3 over a red serial link on 172.31.1.196/30; R1 and R3 are not joined to each other. R2's LAN is 172.31.0.0/24 and runs through switch S2 to PC2. R1's LAN is 172.31.1.0/25 and runs through switch S1 to PC1. R3's LAN is 172.31.1.128/26 and runs through switch S3 to PC3. No interface names are printed on the figure.

Addressing Table

DeviceInterfaceIPv4 AddressSubnet MaskDefault Gateway
R1G0/0172.31.1.1255.255.255.128N/A
S0/0/0172.31.1.194255.255.255.252N/A
R2G0/0172.31.0.1255.255.255.0N/A
S0/0/0172.31.1.193255.255.255.252N/A
S0/0/1172.31.1.197255.255.255.252N/A
R3G0/0172.31.1.129255.255.255.192N/A
S0/0/1172.31.1.198255.255.255.252N/A
PC1NIC172.31.1.126255.255.255.128172.31.1.1
PC2NIC172.31.0.254255.255.255.0172.31.0.1
PC3NIC172.31.1.190255.255.255.192172.31.1.129

Objectives

Part 1: Examine the Network and Evaluate the Need for Static Routing

Part 2: Configure Static and Default Routes

Part 3: Verify Connectivity

Background

In this activity, you will configure static and default routes. A static route is a route that is entered manually by the network administrator to create a reliable and safe route. There are four different static routes that are 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? ______

b. How many networks are directly connected to R1, R2, and R3? ______

c. How many static routes are required by each router to reach networks that are not directly connected? ______

d. Test connectivity to the R2 and R3 LANs by pinging PC2 and PC3 from PC1. Why were you unsuccessful? ______

Step 1: Configure recursive static routes on R1.

a. What is a recursive static route? ______

b. Why does a recursive static route require two routing table lookups? ______

c. Configure a recursive static route to every network not directly connected to R1, including the WAN link between R2 and R3.

R1(config)# ip route 172.31.0.0 255.255.255.0 172.31.1.193
R1(config)# ip route 172.31.1.196 255.255.255.252 172.31.1.193
R1(config)# ip route 172.31.1.128 255.255.255.192 172.31.1.193

d. Test connectivity to the R2 LAN and ping the IP addresses of PC2 and PC3.

Why were you unsuccessful? ______

Step 2: Configure directly attached static routes on R2.

a. How does a directly attached static route differ from a recursive static route? ______

b. Configure a directly attached static route from R2 to every network not directly connected.

R2(config)# ip route 172.31.1.0 255.255.255.128 Serial0/0/0
R2(config)# ip route 172.31.1.128 255.255.255.192 Serial0/0/1

c. Which command only displays directly connected networks?

show ip route connected

d. Which command only displays the static routes listed in the routing table?

show ip route static

e. When viewing the entire routing table, how can you distinguish between a directly attached static route and a directly connected network? ______

Step 3: Configure a default route on R3.

a. How does a default route differ from a regular static route? ______

b. Configure a default route on R3 so that every network not directly connected is reachable.

R3(config)# ip route 0.0.0.0 0.0.0.0 Serial0/0/1

c. How is a default route displayed in the routing table? ______

Step 4: Document the commands for fully specified routes.

Note: Packet Tracer does not currently support configuring fully specified static routes. Therefore, in this step, document the configuration for fully specified routes.

a. Explain a fully specified route. A fully specified route is a static route that is configured with an exit interface and the next hop address.

b. Which command provides a fully specified static route from R3 to the R2 LAN?

R3(config)# ip route 172.31.0.0 255.255.255.0 Serial0/0/1 172.31.1.197

c. Write a fully specified route from R3 to the network between R2 and R1. Do not configure the route; just calculate it.

R3(config)# ip route 172.31.1.192 255.255.255.252 Serial0/0/1 172.31.1.197

d. Write a fully specified static route from R3 to the R1 LAN. Do not configure the route; just calculate it.

R3(config)# ip route 172.31.1.0 255.255.255.128 Serial0/0/1 172.31.1.197

Step 5: Verify static route configurations.

Use the appropriate show commands to verify correct configurations.

Which show commands can you use to verify that the static routes are configured correctly?

show ip route, show ip route static, and the show ip route network commands

Part 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 SectionQuestion LocationPossible PointsEarned Points
Part 1: Examine the Network and Evaluate the Need for Static Routinga - d10
Part 1 Total10
Part 2: Configure Static and Default RoutesStep 17
Step 27
Step 33
Step 410
Step 53
Part 2 Total30
Packet Tracer Score60
Total Score100

Device Configs - Final

ROUTER R1

! ==============================================================
!--- 2.2.2.4 Packet Tracer - Configuring IPv4 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: Configure recursive static routes on R1.
! --------------------------------------------------------------
!--- R2 LAN 172.31.0.0/24 - recursive static route via the R2 next hop
172.31.1.193.
ip route 172.31.0.0 255.255.255.0 172.31.1.193
!--- WAN link between R2 and R3 (172.31.1.196/30) - recursive static route via
172.31.1.193.
ip route 172.31.1.196 255.255.255.252 172.31.1.193
!--- R3 LAN 172.31.1.128/26 - recursive static route via 172.31.1.193.
ip route 172.31.1.128 255.255.255.192 172.31.1.193
end
! --------------------------------------------------------------
!--- Save the configuration to NVRAM. (Press Enter when prompted for the
destination filename.)
! --------------------------------------------------------------
copy running-config startup-config
! ==============================================================
!--- Verification:
!---   show ip route static          -> three S routes, all "via 172.31.1.193"
!---   show ip route 172.31.1.128    -> the R3 LAN resolves recursively through
172.31.1.193 on Serial0/0/0
!---   ping 172.31.1.193             -> R1 reaches R2 S0/0/0
!---   (on PC1) ping 172.31.0.254    -> PC1 reaches PC2
!---   (on PC1) ping 172.31.1.190    -> PC1 reaches PC3
!--- Note: the pings to PC2 and PC3 only succeed after R2 and R3 also have
!--- their routes back to the R1 LAN (Part 2 Steps 2 and 3). Until then the
!--- replies have no return path, which is what Step 1d asks you to explain.
! ==============================================================

ROUTER R2

! ==============================================================
!--- 2.2.2.4 Packet Tracer - Configuring IPv4 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 2: Configure directly attached static routes on R2.
! --------------------------------------------------------------
!--- R1 LAN 172.31.1.0/25 - directly attached static route out Serial0/0/0.
ip route 172.31.1.0 255.255.255.128 Serial0/0/0
!--- R3 LAN 172.31.1.128/26 - directly attached static route out Serial0/0/1.
ip route 172.31.1.128 255.255.255.192 Serial0/0/1
end
! --------------------------------------------------------------
!--- Save the configuration to NVRAM. (Press Enter when prompted for the
destination filename.)
! --------------------------------------------------------------
copy running-config startup-config
! ==============================================================
!--- Verification:
!---   show ip route connected   -> 172.31.0.0/24, 172.31.1.192/30 and
172.31.1.196/30 as C routes
!---   show ip route static      -> two S routes "is directly connected,
Serial0/0/x"
!---   ping 172.31.1.1           -> R2 reaches R1 G0/0
!---   ping 172.31.1.129         -> R2 reaches R3 G0/0
!--- Note: in the full routing table, a directly attached static route still
!--- shows code S even though IOS prints "is directly connected" - only the
!--- code letter (S vs C) tells it apart from a real connected network.
! ==============================================================

ROUTER R3

! ==============================================================
!--- 2.2.2.4 Packet Tracer - Configuring IPv4 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 3: Configure a default route on R3.
! --------------------------------------------------------------
!--- Default route out Serial0/0/1 so every network not directly connected is
reachable.
ip route 0.0.0.0 0.0.0.0 Serial0/0/1
end
! --------------------------------------------------------------
!--- Save the configuration to NVRAM. (Press Enter when prompted for the
destination filename.)
! --------------------------------------------------------------
copy running-config startup-config
! ==============================================================
!--- Verification:
!---   show ip route             -> "S* 0.0.0.0/0 is directly connected,
Serial0/0/1" and the gateway of last resort is set
!---   ping 172.31.1.1           -> R3 reaches R1 G0/0 through R2
!---   (on PC3) ping 172.31.1.126 -> PC3 reaches PC1
!---   (on PC3) ping 172.31.0.254 -> PC3 reaches PC2
!--- Note: the fully specified routes in Part 2 Step 4 are documentation only -
!--- do not configure them on R3. The default route already covers those networks.
! ==============================================================

Your answers

Nothing here is marked. Most of these answers are read off your own machine, so there is no right value to compare them against; they are kept so your work survives.

Check your answersEvery question in this lab, answered. Take your own capture first.→

Source: itexamanswers.net