Configure Static Routes on Routers
In this lab you will configure static routes on R1.
Task 1
Use the password cisco for the User and Enable mode.
Once you are in the enable mode, look at the routing table on R1. This router has no routing protocols or
static routes configured.
R1-int#show ip route
Note only 2 types of routes are in the routing table, connected (C) and Local (L) routes. When any router
is turned on, these routes are automatically populated in to the routing table.
Task 2
Use the show running-config command to check out the assigned ip addresses on the interfaces.
R1-init#show running-config
Use the show protocols to check the interface status
R1-int#show protocols
Task 3
Now add two static routes
R1-int#configure terminal
R1-int(config)# ip route [Link] [Link] S0/0/0
R1-int(config)#ip route [Link] [Link] [Link]
Use the show ip route command to verify the routes were added.
R1-int#show ip route
Note that both routes are listed with (S) showing they are static routes. But the route that used the
interface (S0/0/0) is showing as directly connected. This is a quirk of the Cisco IOS.
Task 4
Since router 2 only has one link to router 1, it makes sense to set a default route back to R1. Use the
show ip route command to look at R2’s routing table. Note no static routes have been set and there is
no default route. (Gateway of last resort is not set.)
Add a default route to R2.
R2-intconfig)#ip route [Link] [Link] s0/0/1
View the routing table again. Note the Gateway of last resort is now set. R2 will now route all traffic
directly to R1 via the S0/0/1 interface.
Task 5
Try pinging from PC-PT A-int to PC-PT B-int. Try pining form PC B to PCA. When all works you have
configured everything correct.