Learn little complex static routing configuration on router having serial port

Posted: 2 Apr 2015 in CCNA
Tags: , ,

Learn how to configure static routing when your router is connected with each other using serial port.Here to make you learn static routing configuration lab easily i have taken a little complex example and configured them step wise.If you are preparing for ccna certification exam this lab will help you to understand and configure static routing.

You can Also Read:

How to configure EIGRP Authentication on cisco routers
static routing configuartion on cisco router using serial port.
How to configure loopback interfaces on cisco router
static routing configuration using 3 routers

 

static routing using serial port

 

Now learn to configure this lab step wise:

— System Configuration Dialog —

Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!

Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R4
R4(config)#int fa0/0
R4(config-if)#ip address 192.168.7.1 255.255.255.0
R4(config-if)#no shut

R4(config-if)#exit
R4(config)#int se0/0/1
R4(config-if)#ip address 192.168.3.1 255.255.255.0
R4(config-if)#no shut

R4(config-if)#exit
R4(config)#int se0/1/0
R4(config-if)#ip address 192.168.5.2 255.255.255.0
R4(config-if)#no shut

 

R4(config-if)#exit
R4(config)#int se0/0/0
R4(config-if)#ip address 192.168.2.2 255.255.255.0
R4(config-if)#no shut

Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R3
R3(config)#int se0/0/1
R3(config-if)#ip address 192.168.3.2 255.255.255.0
R3(config-if)#clock rate 64000
R3(config-if)#no shut

R3(config-if)#exit
R3(config)#int se0/1/0
R3(config-if)#ip address 192.168.6.1 255.255.255.0
R3(config-if)#no shut

R3(config-if)#exit
R3(config)#int se0/0/0
R3(config-if)#ip address 192.168.4.1 255.255.255.0
R3(config-if)#no shut

 

Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#int se0/0/0
R2(config-if)#ip address 192.168.1.2 255.255.255.0
R2(config-if)#no shut

R2(config-if)#exit
R2(config)#int se0/1/0
R2(config-if)#ip address 192.168.6.2 255.255.255.0
R2(config-if)#clock rate 64000
R2(config-if)#no shut

R2(config-if)#exit
R2(config)#int se0/0/1
R2(config-if)#ip address 192.168.2.1 255.255.255.0
R2(config-if)#clock rate 64000
R2(config-if)#no shut

 

Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int fa0/0
R1(config-if)#ip address 192.168.0.1 255.255.255.0
R1(config-if)#no shut

R1(config-if)#exit
R1(config)#int se0/0/1
R1(config-if)#ip address 192.168.4.2 255.255.255.0
R1(config-if)#clock rate 64000
R1(config-if)#no shut

R1(config-if)#exit
R1(config)#int se0/1/0
R1(config-if)#ip address 192.168.5.1 255.255.255.0
R1(config-if)#clock rate 64000
R1(config-if)#no shut

R1(config-if)#exit
R1(config)#int se0/0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#clock rate 64000
R1(config-if)#no shut

 

Now start configuring route on each router using static routing method:

Configuration on Router R1:
R1(config-if)#exit
R1(config)#ip route 192.168.2.0 255.255.255.0 192.168.1.2
R1(config)#ip route 192.168.3.0 255.255.255.0 192.168.4.1
R1(config)#ip route 192.168.6.0 255.255.255.0 192.168.1.2
R1(config)#ip route 192.168.6.0 255.255.255.0 192.168.4.1
R1(config)#ip route 192.168.7.0 255.255.255.0 192.168.1.2
R1(config)#ip route 192.168.7.0 255.255.255.0 192.168.4.1
R1(config)#ip route 192.168.7.0 255.255.255.0 192.168.5.2

 

Configuration on Router R4:

R4(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1
R4(config)#ip route 192.168.4.0 255.255.255.0 192.168.3.2
R4(config)#ip route 192.168.6.0 255.255.255.0 192.168.2.1
R4(config)#ip route 192.168.6.0 255.255.255.0 192.168.3.2
R4(config)#ip route 192.168.0.0 255.255.255.0 192.168.2.1
R4(config)#ip route 192.168.0.0 255.255.255.0 192.168.3.2
R4(config)#ip route 192.168.0.0 255.255.255.0 192.168.5.1

 

Configuration on Router R3:

R3>enable
R3#config t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#ip route 192.168.0.0 255.255.255.0 192.168.4.2
R3(config)#ip route 192.168.1.0 255.255.255.0 192.168.4.2
R3(config)#ip route 192.168.2.0 255.255.255.0 192.168.3.1
R3(config)#ip route 192.168.1.0 255.255.255.0 192.168.3.1
R3(config)#ip route 192.168.2.0 255.255.255.0 192.168.4.2
R3(config)#ip route 192.168.5.0 255.255.255.0 192.168.3.1
R3(config)#ip route 192.168.5.0 255.255.255.0 192.168.4.2
R3(config)#ip route 192.168.7.0 255.255.255.0 192.168.3.1
R3(config)#ip route 192.168.7.0 255.255.255.0 192.168.4.2

 

Configuration on Router R2:
R2>enable
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ip route 192.168.0.0 255.255.255.0 192.168.1.1
R2(config)#ip route 192.168.0.0 255.255.255.0 192.168.2.2
R2(config)#ip route 192.168.4.0 255.255.255.0 192.168.1.1
R2(config)#ip route 192.168.4.0 255.255.255.0 192.168.2.2
R2(config)#ip route 192.168.3.0 255.255.255.0 192.168.1.1
R2(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2
R2(config)#ip route 192.168.7.0 255.255.255.0 192.168.2.2
R2(config)#ip route 192.168.7.0 255.255.255.0 192.168.1.1
R2(config)#ip route 192.168.5.0 255.255.255.0 192.168.1.1
R2(config)#ip route 192.168.5.0 255.255.255.0 192.168.2.2
R2(config)#ip route 192.168.5.0 255.255.255.0 192.168.2.2

 

STATIC ROUTING TROUBLESHOOTING COMMANDS:

R2#show ip route
Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area
* – candidate default, U – per-user static route, o – ODR
P – periodic downloaded static route

Gateway of last resort is not set

S 192.168.0.0/24 [1/0] via 192.168.2.2
[1/0] via 192.168.1.1
C 192.168.1.0/24 is directly connected, Serial0/0/0
C 192.168.2.0/24 is directly connected, Serial0/0/1
S 192.168.3.0/24 [1/0] via 192.168.2.2
[1/0] via 192.168.1.1
S 192.168.4.0/24 [1/0] via 192.168.2.2
[1/0] via 192.168.1.1
S 192.168.5.0/24 [1/0] via 192.168.2.2
[1/0] via 192.168.1.1
C 192.168.6.0/24 is directly connected, Serial0/1/0
S 192.168.7.0/24 [1/0] via 192.168.2.2
[1/0] via 192.168.1.1

 

 

Advertisement
Comments
  1. Siddheshwar says:

    Sir, what is the purpose of connecting laptop to router using console cable?

    Like

    • There are two way to configure router, first one if we are physical near the router and second one when we are far away from router.When we are physically near router we access router using console wire because in cisco packet tracer you use to double click on router but in real life its not possible to double click on router because it is a physical device a hardware.

      Second method is to access router remotely using telnet or ssh.

      Like

  2. […] Learn little complex static routing configuration on router having serial port […]

    Like

Leave a Reply to Learn little complex static routing configuration on router having serial port « Zwe Hlaing Bwa Cancel 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 )

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.