cisco packet tracer lab configuring static routing using ethernet cable

Posted: October 16, 2016 in CCNA
Tags: , , , ,

This is a cisco packet tracer lab in which we will configure static routing using ethernet cable.
I have configure static route in few simple steps using cico packet tracer software.

static route

Now you can clearly see topology diagram in above picture which having 4 router and total 5 networks.

Assign ip address on first router:

 

Router(config)#int fa0/1

Router(config-if)#ip add 2.0.0.1 255.0.0.0

Router(config-if)#no shut

 

Router#config terminal

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

Router(config)#int fa0/0

Router(config-if)#ip add 1.0.0.1 255.0.0.0

Router(config-if)#no shut

 

configure DHCP Server on first router:

 

Router(config-if)#ip dhcp pool 1networl

Router(dhcp-config)#network 1.0.0.0 255.0.0.0

Router(dhcp-config)#default-touter 1.0.0.1

 

configure static routing on first router:

 

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 3.0.0.2

Router(config)#ip route 5.0.0.0 255.0.0.0 4.0.0.2

 

Assign ip address on 2nd Router:

 

Router(config)#int fa0/0

Router(config-if)#ip add 2.0.0.2 255.0.0.0

Router(config-if)#no shut

Router(config)#int fa0/1

Router(config-if)#ip add 3.0.0.1 255.0.0.0

Router(config-if)#no shut

 

Configure static route on 2nd Router:
Router(config)#ip route 4.0.0.0 255.0.0.0 3.0.0.2
Router(config)#ip route 1.0.0.0 255.0.0.0 2.0.0.1
Router(config)#ip route 5.0.0.0 255.0.0.0 4.0.0.2

 

Assign ip address on 3rd Router now:

 

Router(config)#int fa0/0

Router(config-if)#ip add 3.0.0.2 255.0.0.0

Router(config-if)#no shut


Router(config)#int fa0/1
Router(config-if)#ip add 4.0.0.1 255.0.0.0
Router(config-if)#no shut

 

Configure static route on 3rd router:

 

Router(config)#ip route 5.0.0.0 255.0.0.0 4.0.0.2

Router(config)#ip route 1.0.0.0 255.0.0.0 2.0.0.1

Router(config)#ip route 2.0.0.0 255.0.0.0 3.0.0.1

 

 

Assign ip address on 4th Router:

 

Router(config)#int fa0/0

Router(config-if)#ip add 4.0.0.2 255.0.0.0

Router(config-if)#no shut

Router(config)#int fa0/1

Router(config-if)#ip add 5.0.0.1 255.0.0.0

Router(config-if)#no shut

 

Configure DHCP Server on 4th Router:

 

Router(config-if)#ip dhcp pool 5network

Router(dhcp-config)#network 5.0.0.0 255.0.0.0

Router(dhcp-config)#default-router 5.0.0.1

 

Configure static route on 4th router:
Router(config)#ip route 1.0.0.0 255.0.0.0 2.0.0.1
Router(config)#ip route 2.0.0.0 255.0.0.0 3.0.0.1
Router(config)#ip route 3.0.0.0 255.0.0.0 4.0.0.1

See routing table of First Router:

 

Router#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, FastEthernet0/1

S 3.0.0.0/8 [1/0] via 2.0.0.2

S 4.0.0.0/8 [1/0] via 3.0.0.0

[1/0] via 3.0.0.2

S 5.0.0.0/8 [1/0] via 4.0.0.2

 

 

see routing table of 2nd router:

 

Router>en

Router#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 1.0.0.0/8 [1/0] via 2.0.0.1

C 2.0.0.0/8 is directly connected, FastEthernet0/0

C 3.0.0.0/8 is directly connected, FastEthernet0/1

S 4.0.0.0/8 [1/0] via 3.0.0.2

S 5.0.0.0/8 [1/0] via 4.0.0.2

 

see routing table of 3rd router:

 

Router>en

Router#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 1.0.0.0/8 [1/0] via 2.0.0.1

S 2.0.0.0/8 [1/0] via 3.0.0.1

C 3.0.0.0/8 is directly connected, FastEthernet0/0

C 4.0.0.0/8 is directly connected, FastEthernet0/1

S 5.0.0.0/8 [1/0] via 4.0.0.2

 

see routing table of 4th router:

 

Router>en

Router#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 1.0.0.0/8 [1/0] via 2.0.0.1

S 2.0.0.0/8 [1/0] via 3.0.0.1

S 3.0.0.0/8 [1/0] via 4.0.0.1

C 4.0.0.0/8 is directly connected, FastEthernet0/0

C 5.0.0.0/8 is directly connected, FastEthernet0/1

 

 

 

 

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 )

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