cisco packet tracer lab:configuring static routing using three routers

Posted: June 27, 2015 in CCNA
Tags: ,

This is a static routing lab in which we will learn how to configure static routing for a network having three routers inside packet tracer.Here in this  Lab there are  total four network 1.0.0.0/8, 2.0.0.0/8,3.0.0.0/8 and 4.0.0.0/8 and three routers.Using cisco packet tracer i have shown static routing configuration using an example lab.So i even if you are new to ccna or networking you can easily learn by reading this article.This article will help you to easily learn static routing configuration.I have designed the topology diagram using cisco packet tracer which will helps you to understand the Lab.I have also assigned the ip address above each devices and interfaces which will guide you throughout the lab.

static routing lab

To make PC0 communicate with PC1 we must configure route,because they are in different network and is connected via routers.

 

STEP:1- CONFIGURATION ON ROUTER R1:

I am going to assign ip address on interfaces of router R1.

Router>enable

Router#config terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#int fa0/0

Router(config-if)#ip address 1.0.0.1 255.0.0.0

Router(config-if)#no shut

 

Router(config-if)#exit

Router(config)#int fa0/1

Router(config-if)#ip address 2.0.0.1 255.0.0.0

Router(config-if)#no shut

 

Now I am going to configure Static Routing on router R1:

Remember in static routing we will tell the routers about there indirectly connected networks.All routers know about their neighbours but they didn’t have idea about the indirectly connected network.So the pattern of static routing is:

#ip route <indirectly connected network> <subnet mask> <gateway ip to reach indirectly connected network>

 

Router>enable

Router#config terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#ip route 3.0.0.0 255.0.0.0 2.0.0.2

Router(config)#ip route 4.0.0.0 255.0.0.0 2.0.0.2

 

STEP:2- CONFIGURATION ON ROUTER R2:

 

Similarly like router R1 i am going to configure static routing on Router R2.But before configuring static routing or any routing protocol we need to assign ip address to router interfaces.SO here first i will assign ip address to each and every interface of router which is in use.

 

Router>enable

Router#config terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#int fa0/0

Router(config-if)#ip address 2.0.0.2 255.0.0.0

Router(config-if)#no shut

Router(config-if)#exit

Router(config)#int fa0/1

Router(config-if)#ip address 3.0.0.1 255.0.0.0

Router(config-if)#no shut

 

Now i am going to configure static routing over router R2:

 

Router>enable

Router#config terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#ip route 1.0.0.0  255.0.0.0   2.0.0.1

Router(config)#ip route 4.0.0.0  255.0.0.0   3.0.0.2

 

STEP:3-CONFIGURATION ON ROUTER R3:

Like above two routers i will assign ip address to each interfaces of third router R3 too.

 

Router>enable

Router#config terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#int fa0/1

Router(config-if)#ip address 3.0.0.2 255.0.0.0

Router(config-if)#no shut

Router(config-if)#exit

Router(config)#int fa0/0

Router(config-if)#ip address 4.0.0.1 255.0.0.0

Router(config-if)#no shut

 

Now after assigning ip addresses it’s time to configure static routing on router R3:

Router>enable

Router#config terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#ip route  2.0.0.0 255.0.0.0 3.0.0.1

Router(config)#ip route 1.0.0.0 255.0.0.0 3.0.0.1

 

 

STEP:4- TEST PC0 and PC1 COMMUNICATION USING PING COMMAND.

Now it’s time to test network whether it is communication with devices located in other network or not.

But before pinging we need to see the ip address of our machine using ipconfig.

PC>ipconfig

FastEthernet0 Connection:(default port)
 Link-local IPv6 Address.........: FE80::240:BFF:FE20:9A3D
 IP Address......................: 1.0.0.2
 Subnet Mask.....................: 255.0.0.0
 Default Gateway.................: 1.0.0.1

 

Now it’s time to ping with other devices and check network connection.
PC>ping 4.0.0.2

Pinging 4.0.0.2 with 32 bytes of data:

Request timed out.
 Reply from 4.0.0.2: bytes=32 time=13ms TTL=125
 Reply from 4.0.0.2: bytes=32 time=22ms TTL=125
 Reply from 4.0.0.2: bytes=32 time=11ms TTL=125

Ping statistics for 4.0.0.2:
 Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
 Approximate round trip times in milli-seconds:
 Minimum = 11ms, Maximum = 22ms, Average = 15ms

 

 

 

 

 

Advertisements
Comments
  1. ZAKE says:

    Thanks Sir

    Like

  2. Navdeep says:

    Sir, I have a doubt. Can we use fastethernet between router to router connection or it should be Serial interface connection between routers?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s