2.2.2.4 Packet Tracer - Configuring IPv4 Static and Default Routes Instructions
2.2.2.4 Packet Tracer - Configuring IPv4 Static and Default Routes Instructions
Topology
Addressing Table
Objectives
Part 1: Examine the Network and Evaluate the Need for Static Routing
Part 2: Configure Static and Default Routes
Part 3: Verify Connectivity
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 4
Packet Tracer - Configuring IPv4 Static and Default Routes
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? 5
b. How many networks are directly connected to R1, R2, and R3? 2, 3, 2
c. How many static routes are required by each router to reach networks that are not directly connected?
3, 2, 3
d. Test connectivity to the R2 and R3 LANs by pinging PC2 and PC3 from PC1.
Why were you unsuccessful? R1 does not know the route to the networks that are not directly connected
to it.
Part 2: Configure Static and Default Routes
Step 1: Configure recursive static routes on R1.
a. What is recursive static route?
Recursive lookup static route is a type of static route where only the next-hop IP address is specified.
This kind of static routing requires two routing table lookups.
b. Why does a recursive static route require two routing table lookups?
Since the next-hop IP address is mentioned in the exit option of the static route, not the port name, a
second routing table lookup is required to find out which port that IP address refers to so that the router
can determine which exit interface to use to forward the packet
c. Configure a recursive static route to every network not directly connected to R1, including the WAN link
between R2 and R3.
d. Test connectivity to the R2 LAN and ping the IP addresses of PC2 and PC3.
Why were you unsuccessful?
Because although R1 has been statically routed, R2 and R3 have not yet been statically routed to the
other networks.
Step 2: Configure directly attached static routes on R2.
a. How does a directly attached static route differ from a recursive static route?
A directly attached route specifies the exit interface name. Whereas a recursive static route mentions the
next hope IP address.
b. Configure a directly attached static route from R2 to every network not directly connected.
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?
A directly attached static route will have the letter S at the beginning and an exit interface at the end, and
a directly connected network will have the letter C at the beginning
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 4
Packet Tracer - Configuring IPv4 Static and Default Routes
b. Configure a default route on R3 so that every network not directly connected is reachable.
c. How is a static route displayed in the routing table? S* 0.0.0.0/0
b. Which command provides a fully specified static route from R3 to the R2 LAN?
ip route 172.31.0.0 255.255.255.0 s0/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.
ip route 172.31.1.192 255.255.255.252 s0/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.
ip route 172.31.1.0 255.255.255.128 s0/0/1 172.31.1.197
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 4
Packet Tracer - Configuring IPv4 Static and Default Routes
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 4