Three Router Static Route Lab
Objective

In this lab, you will configure static routes between all three routers. This will allow your routers to route packets so that all routers and all hosts will be able to reach (ping) each other. Once your configuration is complete, you will use basic techniques to test your network’s connectivity.


Scenario

Three separate classful networks need routing between them and their subnets. This will firstly be done using static routes, then by summarizing some of the networks and then using default routes.



Inintial Questions:
Setup
Remember to save your Packet Tracer file regularly - this application can become unstable and crash. 

Step 1 – Configuring Static Routes

On each router configure a separate and specific static route for each network or subnet. You do not need to configure static routes for the router’s directly connected network(s) because like a host, by configuring the IP address and subnet mask on an interface tells the router that it belongs to that network/subnet.


Router1
Router2
Router3
Verify and Validate:
Questions:
Outputs

Router2#show ip route
(Output omitted)
Gateway of last resort is not set

     172.16.0.0/24 is subnetted, 3 subnets
S       172.16.1.0 [1/0] via 172.16.2.2
C       172.16.2.0 is directly connected, Serial0/0/0
C       172.16.3.0 is directly connected, FastEthernet0/0
S    192.168.1.0/24 [1/0] via 172.16.2.2
S    192.168.2.0/24 [1/0] via 172.16.2.2

Router1#show ip route
(output omitted)
Gateway of last resort is not set

172.16.0.0/24 is subnetted, 3 subnets
C       172.16.1.0 is directly connected, FastEthernet0/0
C       172.16.2.0 is directly connected, Serial0/0/0
S       172.16.3.0 [1/0] via 172.16.2.1
C    192.168.1.0/24 is directly connected, Serial0/0/1
S    192.168.2.0/24 [1/0] via 192.168.1.1

Router3#show ip route
(Output omitted)
Gateway of last resort is not set

172.16.0.0/24 is subnetted, 3 subnets
S       172.16.1.0 [1/0] via 192.168.1.2
S       172.16.2.0 [1/0] via 192.168.1.2
S       172.16.3.0 [1/0] via 192.168.1.2
C    192.168.1.0/24 is directly connected, Serial0/0/1
C    192.168.2.0/24 is directly connected, FastEthernet0/0



Step 2 – Configuring Summary Static Routes

The configuration of the routers in Step 1 works well and is a valid way to configure routing on these networks. 


Earlier, you should have noticed that the network 172.16.0.0 is divided into several subnets. 

Router3 does not really need separate static routes for each subnet, since all of the 172.16.0.0 subnets can be reached via the same next-hop-ip-address, i.e. Router1. 

Now we can reconfigure the static routes on Router3 so that it only uses a single static route to reach all of the 172.16.0.0 subnets.


Router1
Router2
Router3
Verify and Validate:
Questions:
Outputs

Router3#show ip route
(Output omitted)

Gateway of last resort is not set
S    172.16.0.0/16 [1/0] via 192.168.1.2
C    192.168.1.0/24 is directly connected, Serial0/0/1
C    192.168.2.0/24 is directly connected, FastEthernet0/0



Step 3 – Configuring Default Static Routes

Both Step 1 and Step 2 are acceptable ways to configure routing for these networks. We notice that the 172.16.3.0/24 and the 192.168.2.0/24 networks are “stub networks,” meaning that there is only one way out (both via Router1).


Router1
Router2
Router3
Verify and Validate:
Questions:

Outputs

Router2#show ip route
(Output omitted)

Gateway of last resort is 172.16.2.2 to network 0.0.0.0

     172.16.0.0/24 is subnetted, 2 subnets
C       172.16.2.0 is directly connected, Serial0/0/0
C       172.16.3.0 is directly connected, FastEthernet0/0
S*   0.0.0.0/0 [1/0] via 172.16.2.2

Router3#show ip route
(Output omitted)

Gateway of last resort is 192.168.1.2 to network 0.0.0.0

C    192.168.1.0/24 is directly connected, Serial0/0/1
C    192.168.2.0/24 is directly connected, FastEthernet0/0
S*   0.0.0.0/0 [1/0] via 192.168.1.2


Save your current configuration to NVRAM.


Tidying your Network

When you have finished, you should add passwords to your routers. The options are to add a non-encrypted password (insecure) or an encrypted password to the router to keep unwanted personnel from entering privileged exec mode.

The syntax to make the enable password class is:
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#enable secret class
Router(config)#end


Do this for all routers in your network.

Add a message of the day - this can be a statement of your company policy regarding unauthorised access to digital resources perhaps.

Router2(config)#banner motd "Authorised Acess Only"

If you save your changes and logout of the router, the Message of the day will appear before you login again.

All interfaces can be given descriptions. This helps when you are making changes to a router's configuration and are not familiar with the network's layout.

Router2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router2(config)#int fa0/0
Router2(config-if)#description Second floor LAN
Router2(config-if)#end


Add descriptions that are meaningful to all interfaces in your network.

Save your work and the answers to all questions. you will need to refer back to this work later in the course.



Lab idea courtesy of  http://www.ciscokits.com/cisco-static-route-lab/
Customisation to Packet Tracer 5.x by MMClements
2009