How to configure static routing on cisco router using serial port?


In the previous article we learn that how to configure static routing on cisco router using the fast ethernet port on the router but sometimes we use the serial port on the router and then we want to configure the router with static routing. In that case, we use this method for configuring static routing on the router. Static routing on the serial port is little bit different from static routing configuration on the router using fast ethernet port because now in serial ports we also assign clock rate on routers interface which will be DCE. In this tutorial, we learn about that how to configure static routing on the serial port using a basic lab in cisco packet tracer. Let’s start to configure static routing.

static routing on serial port

Now, first of all, we assign IP address on routers interfaces and both PC also and make them up using no shut command on routers.

I think you also know how to assign IP address on PC. So, I am going start configuration on routers. if you don’t know about how to assign IP address on PC read my previous articles on CCNA.

How to configure a router and how to connect two different network through router?

How to configure basic static routing on routers

Learn how to configure static routing on 4 routers?

Now configure router R1

— System Configuration Dialog —

Continue with configuration dialog? [yes/no]: n

Press RETURN to get started!

Router>enable

Router#configure terminal

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

Router(config)#hostname R1

R1(config)#

R1(config)#interface FastEthernet0/0

R1(config-if)#ip address 1.0.0.1 255.0.0.0

R1(config-if)#no shutdown

R1(config-if)#

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R1(config-if)#exit

R1(config)#interface Serial0/0/0

R1(config-if)#ip address 2.0.0.1 255.0.0.0

R1(config-if)#clock rate 64000

R1(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down

R1(config-if)#exit

 

Now configure router R2

— System Configuration Dialog —

Continue with configuration dialog? [yes/no]: n

Press RETURN to get started!

Router>enable

Router#configure terminal

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

Router(config)#hostname R2

R2(config)#

R2(config)#interface FastEthernet0/0

R2(config-if)#ip address 3.0.0.1 255.0.0.0

R2(config-if)#no shutdown

R2(config-if)#

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R2(config-if)#exit

R2(config)#interface Serial0/0/0

R2(config-if)#ip address 2.0.0.2 255.0.0.0

R2(config-if)#no shutdown

R2(config-if)#

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

R2(config-if)#exit

 

Now again go to router R1 and configure static routing on it

R1(config)#ip route 3.0.0.0 255.0.0.0 2.0.0.2

Now go to router R2 and configure static routing on it

R2(config)#ip route 1.0.0.0 255.0.0.0 2.0.0.1

 

Now I am here show you how to troubleshoot a static routing configured router

On R1 router we use this commands

R1#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

C 1.0.0.0/8 is directly connected, FastEthernet0/0

C 2.0.0.0/8 is directly connected, Serial0/0/0

S 3.0.0.0/8 [1/0] via 2.0.0.2

explanation of above results how to check by this command on the router.

In above output, C indicates that directly connected networks on the router. In this case network, 1.0.0.0 and 2.0.0.0 are directly connected to this router R1.

S indicates that indirectly connected networks on the router through static routing. In this case network, 3.0.0.0 is indirectly connected and staticly routed via 2.0.0.2 port address.

Now if you want to check these computers are communicate or not then go to command prompt pc0 and open command prompt then type this command.
Packet Tracer PC Command Line 1.0
PC>ping 3.0.0.2

Pinging 3.0.0.2 with 32 bytes of data:

Request timed out.
Reply from 3.0.0.2: bytes=32 time=3ms TTL=126
Reply from 3.0.0.2: bytes=32 time=3ms TTL=126
Reply from 3.0.0.2: bytes=32 time=1ms TTL=126

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

Now If this result will be displayed on your PC your computers surely communicate with each other. If you have any queries and suggestions regarding this comment or contact me directly I will be here to help you in any type of problem.

8 thoughts on “How to configure static routing on cisco router using serial port?

  1. This is really attention-grabbing, You’re a very skilled blogger. I’ve joined your rss feed and look forward to looking for more of your great post. Additionally, I’ve shared your website in my social networks!

    Like

  2. I think that everything posted was actually very reasonable.
    However, consider this, suppose you added a little information? I mean,
    I don’t wish to tell you how to run your website, however what if you added a post
    title that grabbed people’s attention? I mean How to configure static
    routing on cisco router using serial port? | Technohelper24 is a
    little vanilla. You could look at Yahoo’s front page and see
    how they create article titles to get people to click.
    You might add a video or a related pic or two to
    get people interested about what you’ve written. Just my opinion,
    it would make your posts a little livelier.

    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