IPv4 Static Routes 2

By certskills March 7, 2016 09:05

The first time you learn about IP routing, some of the basic ideas just do not click until you think hard about the contents of the IP routing table. One of the best tools to make you think about those routes is to configure static IPv4 routes. This lab asks you to do just that – configure a small set of static routes in a four-router network. As usual, plan for about 10 minutes to do the lab on paper, or more if you want to try it on your own gear or other tools.


Configure static IPv4 routes on the routers shown in the figure so that each PC can ping each other.  The specific rules for this lab are:

  • None of the routers use a dynamic routing protocol.
  • Assume all router interfaces shown in the lab are up, working and have correct IPv4 addresses assigned per the initial configurations.
  • Assume all PCs have been configured correctly, with a correct default gateway setting.

Figure 1: Four Switches with Trunks

Initial Configuration

Example 1, 2, 3, and 4 show the beginning configuration state of R1, R2, R3, and R4.

Example 1: R1 Config

Example 2: R2 Config

Example 3: R3 Config

Example 4: R4 Config


Answer on Paper, or Maybe Test in Lab

Next, write your answer on paper. Or if you have some real gear or other tools, configure the lab using them.

If you do implement the entire network in a lab, you can test the solution by going to each PC and pinging the other three. All the pings should work. Additionally, you could use an extended ping command to ping from each router’s G0/2 interface to each other router’s G0/2 interface IP address. For instance, from R1, the command ping source would test the forward route to R4’s G0/2 subnet, and the reverse route back to R1’s G0/2 subnet.

Do This Lab with Cisco’s VIRL

You can do these labs on paper and still get a lot out of the lab. As an extra help, we have added files for the Virtual Internet Routing Lab (VIRL) software as well. The .VIRL file found here is a file that when used with VIRL will load a lab topology similar to this lab’s topology, with the initial configuration shown in the lab as well. This section lists any differences between the lab exercise and the .VIRL file’s topology and configuration.

Download this lab’s VIRL file!

All interfaces in topology match the lab figure.

Network Device Info:

The switches used for this lab are all un-managed switches.

Host device info:

This table lists host information pre-configured in VIRL, information that might not be required by the lab but may be useful to you.


IP Address

Mac Address














Handy Host Commands:

To see PC IP address: ifconfig eth1

Ping example: ping -c 4

Trace example: tracepath

To connect to another node within the topology: telnet

Answers: Serial Config 2
Answers: IPv4 Static Routes 2
By certskills March 7, 2016 09:05
Write a comment

No Comments

No Comments Yet!

Let me tell You a sad story ! There are no comments yet, but You can be first one to comment this article.

Write a comment
View comments

Write a comment

Comment; Identify w/ Social Media or Email


Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.