static routing configuration using 3 routers

Posted: 25 Mar 2015 in CCNA

This is a simple lab in which i am going to show you how to configure static routing using three routers.If you are preparing for ccna certification exam this article will make your routing concept clear and make you able to configure any complicated type static routing very easy.

You can Also Read:

How to configure loopback interfaces on cisco router
How to configure EIGRP Authentication on cisco routers
vpn configuration lab using routers in cisco packet tracer
Learn how to configure IPSEC site to site vpn on cisco router using cisco Packet Tracer
Ipv6 static routing configuration lab- cisco packet tracer

static routing configuration

Now lets see the configuration of above LAB :

Router>enable

Router#configure terminal

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

Router(config)#hostname R1

R1(config)#int fa0/0

R1(config-if)#ip address 1.0.0.1 255.0.0.0

R1(config-if)#no shut

R1(config-if)#exit

R1(config)#int fa0/1

R1(config-if)#ip address 2.0.0.1 255.0.0.0

R1(config-if)#no shut

Router>en

Router#config t

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

Router(config)#hostname R2

R2(config)#int fa0/0

R2(config-if)#ip address 3.0.0.1 255.0.0.0

R2(config-if)#no shut

R2(config-if)#exit

R2(config)#int fa0/1

R2(config-if)#ip address 2.0.0.2 255.0.0.0

R2(config-if)#no shut

R2(config-if)#exit

R2(config)#int eth0/0/0

R2(config-if)#ip address 4.0.0.1 255.0.0.0

R2(config-if)#no shut

Router>en

Router#config t

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

Router(config)#hostname R3

R3(config)#int fa0/1

R3(config-if)#ip address 4.0.0.2 255.0.0.0

R3(config-if)#no shut

R3(config-if)#exit

R3(config)#int fa0/0

R3(config-if)#ip address 5.0.0.1 255.0.0.0

R3(config-if)#no shut

Now configure routers to route:

Configure static routing on Router R1:


R1(config)#ip route 3.0.0.0 255.0.0.0 2.0.0.2

R1(config)#ip route 5.0.0.0 255.0.0.0 2.0.0.2

R1(config)#ip route 4.0.0.0 255.0.0.0 2.0.0.2


Configure static routing on Router R2:


R2(config)#ip route 1.0.0.0 255.0.0.0 2.0.0.1

R2(config)#ip route 5.0.0.0 255.0.0.0 4.0.0.2

Configure static routing on Router R3:


R3(config)#ip route 3.0.0.0 255.0.0.0 4.0.0.1

R3(config)#ip route 2.0.0.0 255.0.0.0 4.0.0.1

R3(config)#ip route 1.0.0.0 255.0.0.0 4.0.0.1

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

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

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.