Static routing Lab using two Routers and Having three Networks

Static routing configuration Lab using two Routers and Having three Networks.


We are going to configure static route between router R1 and R2 in this lab with the help of cisco packet tracer.

In static routing Configuration we have to tell the Routers about Indirectly Connected Networks. Although static routing configuration is so complex when network is too big or number of routers are so much.

It is practically not feasible to implement static routing in big companies where there are so many routers. In that case you can use Dynamic Routing like RIP Routing,EIGRP and OSPF.

 

 

Syntax for Static Routing:

Remember: In static Routing we used to tell the routers about the indirectly connected network.

#config t

#ip route <indirectly connected network> <netmask>  <gateway ip to reach the indirectly connected network>

Static Route Configuration code on Router R1:

R1(config)#ip route 2.0.0.0 255.0.0.0 3.0.0.2

 

Static Route Configuration code on Router R2:

R2(config)#ip route 1.0.0.0 255.0.0.0 3.0.0.1

 

Finding Routing Tables on Routers:

 

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

S 2.0.0.0/8 [1/0] via 3.0.0.2

C 3.0.0.0/8 is directly connected, FastEthernet0/1

 

Learn to Trace the IP :

PC>

PC>tracert 2.0.0.2

Tracing route to 2.0.0.2 over a maximum of 30 hops:

1 0 ms 0 ms 0 ms 1.0.0.1

2 1 ms 0 ms 0 ms 3.0.0.2

3 0 ms 0 ms 0 ms 2.0.0.2

Trace complete.

 


Discover more from Learn Linux CCNA CCNP CEH CISSP CISA Penetration-Testing Bug Bounty IPv6 Cyber-Security Network-Security Online

Subscribe to get the latest posts sent to your email.

Leave a comment

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