Lab-03 Dynamic Routing
Lab-03 Dynamic Routing
Lab No: 03
Lab Task: Dynamic Routing.
Submitted to Submitted By
Mr. Narayan Ranjan Chakraborty Name: Asma Akter Mitu
Associate Professor ID: 201-15-3134
Department of CSE Section: 60_B
Daffodil International University Department of CSE
Daffodil International University
Lab Task: 03
Title: Dynamic Routing.
Equipment:
Configuration:
Connecting End Default
Switch IP Address Subnet Mask
Device Device Gateway
PC0 192.168.10.2
Switch00 192.168.10.1
PC1 192.168.10.3
Router1
PC2 192.168.20.2
Switch01 192.168.20.1
PC3 192.168.20.3
255.255.255.255
PC4 192.168.50.2
Switch10 192.168.50.1
PC5 192.168.50.3
Router2
PC6 192.168.30.2
Switch11 192.168.30.1
PC7 192.168.30.3
Router0 -
S2/0 S3/0
Router1 192.168.40.1 -
Router2 192.168.60.2 -
Router0 192.168.40.2 192.168.60.3
Diagram:
Command: (Router CLI)
Router: 0
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s2/0
Router(config-if)#ip add 192.168.40.2 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
Router(config-if)#int s3/0
Router(config-if)#ip add 192.168.60.2 255.255.255.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial3/0, changed state to up
Router(config-if)#ex
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed
state to up
Router(config)#router rip
Router(config-router)#network 192.168.40.2
Router(config-router)#network 192.168.60.2
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Router: 01
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config-if)#int f1/0
Router(config-if)#ip add 192.168.50.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0,
changed state to up
Router(config-if)#int f0/0
Router(config-if)#ip add 192.168.10.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#int s2/0
Router(config-if)#ip add 192.168.40.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#int f1/0
Router(config-if)#ip add 192.168.60.1 255.255.255.0
Router(config-if)#ip add 192.168.30.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
Router(config-if)#int s2/0
Router(config-if)#ip add 192.168.60.1 255.255.255.0
Router(config-if)#no shut
PC>ping 192.168.30.3
PC7
Packet Tracer PC Command Line 1.0
PC>ping 192.168.10.3
Comment:
We successfully implemented Dynamic routing across a
network of three routers connected by serial DCE cables in this
experiment. Each router was smoothly connected to a different
PC, each with its own IP address. We developed effective
communication paths between the routers utilizing RIP (Router
Information Protocol) through painstaking configuration. This
experiment highlighted how static routing can be used to
provide predefined routes for data packets within a network.
Overall, the lab gave useful information about setting and
administering Dynamic routes, emphasizing their importance in
optimizing network traffic flow.