4.10 - Lab - Manual - 10 - CN - Static and Dynamic Routs
4.10 - Lab - Manual - 10 - CN - Static and Dynamic Routs
/ UMT Lahore
Lab Manual # 10
In this lab we will perform some more network tasks like.
1. Implementation of static routing using Packet tracer
2. Implementation of Dynamic routing by RIP using Packet tracer
Task-1:
Implementation of static routing between all networks connected with Lahore and
Karachi routers using Packet tracer. So that all network can communicate with each
other.
Scenario to implement:
P a g e 1 | 11
Lab Manual / CN-5th/ BSSE / SE Dept./ UMT Lahore
P a g e 2 | 11
Lab Manual / CN-5th/ BSSE / SE Dept./ UMT Lahore
P a g e 3 | 11
Lab Manual / CN-5th/ BSSE / SE Dept./ UMT Lahore
!!!!
Ok Building configurations !!!!
To Connect Lahore side LAN network with Karachi side LAN Network.
// It will show
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
// Now both classes of networks can communicate / ping with each other.
Step02:
Lahore #config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Lahore (config)#router rip
Lahore (config-router)#network 172.16.0.0
Lahore (config-router)#network 10.0.0.0
Lahore (config-router)#^Z
lahore#
%SYS-5-CONFIG_I: Configured from console by console
write
Building configuration...
P a g e 5 | 11
Lab Manual / CN-5th/ BSSE / SE Dept./ UMT Lahore
[OK]
P a g e 6 | 11
Lab Manual / CN-5th/ BSSE / SE Dept./ UMT Lahore
Step-01
Step-02
Karachi (config-router)#^Z
P a g e 8 | 11
Lab Manual / CN-5th/ BSSE / SE Dept./ UMT Lahore
karachi#
%SYS-5-CONFIG_I: Configured from console by console
write
Building configuration...
[OK]
Step3:
Karachi # 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
Task-3:
Dynamic Routing: RIP v2:
Routing Information Protocol Version 2. Both versions of RIP, RIPv1 and RIPv2,
are Distance Vector Routing Protocols that use router hop counts as their metrics.
They support a maximum hop count value of 15. Any router farther than 15 hops
away is considered to be unreachable. Ad value for RIPv2 is same as RIP v1,
which is 120.
P a g e 9 | 11
Lab Manual / CN-5th/ BSSE / SE Dept./ UMT Lahore
Commands:
- Open router CLI (Command line interface)
- Show ip route (Show the IP of routers that you have assigned them,
this should be written on second mode i.e “# mode”)
- Configure terminal (Third mode)
- No router rip (Clear if previous router configuration e.g. you use
RIPv1)
- Router rip (To Configure by RIP)
- Version 2 (Using Version 2)
- Use these commands and configure every routers e.g. LHR, KRI.
Ctr+ Z
KRI # write
END OF LAB-10
P a g e 10 | 11
Lab Manual / CN-5th/ BSSE / SE Dept./ UMT Lahore
Lab Task 1:
Suppose you have a network with three routers, each with two interfaces: Router A with Router B,
Router B with Router C and vice versa. You want to configure static routing on each router so that
hosts on the A network can communicate with hosts on the B network and hosts on the C network
can communicate with C network and vice versa.
1. What routes would you need to configure on Router A to enable communication between the
two networks?
2. What routes would you need to configure on Router B to enable communication between the
two networks?
3. What routes would you need to configure on Router C to enable communication between the
two networks?
Lab Task 2:
Suppose you have a network with four routers, each with two interfaces, and each connected in a
line: Router A, Router B, Router C and Router D. You want to configure static routing on each
router so that two adjacent hosts on the network can communicate with each other, and vice versa.
What static routes would you need to configure on each router?
Dynamic Routing
Lab Task 1:
1. Draw a network diagram by using two routers (Lahore, Islamabad, Karachi routers) and each
router connects with two systems with the help of switches.
2. Implementation of Dynamic routing by RIP V1 using Packet tracer between all networks
connected with Lahore, Islamabad and Karachi routers using Packet tracer. So that all network can
communicate with each other.
P a g e 11 | 11