0% found this document useful (0 votes)
56 views4 pages

CN LAB 07 - Dynamic Routing - Tutorial

Dynamic Routing_Tutorial

Uploaded by

Zeno Zone
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views4 pages

CN LAB 07 - Dynamic Routing - Tutorial

Dynamic Routing_Tutorial

Uploaded by

Zeno Zone
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

CN LAB: 07 (Dynamic Routing)

EXPERIMENT NAME: Dynamic Routing Configuration using RIP


Version-1: Comparison with Static Routing.

OBJECTIVE: This lab aims to configure three routers in a delta


connection using RIP Version-1, observe their routing behaviour
and output, and compare it with static routing to understand the
differences in network adaptability and route selection.

THEORY: RIPv1 uses local broadcasts to share routing


information. These updates are periodic in nature, occurring, by
default, every 30 seconds. To prevent packets from circling around
a loop forever, both versions of RIP solve counting to infinity by
placing a hop count limit of 15 hops on packets. Any packet that
reaches the sixteenth hop will be dropped. RIP supports up to six
equal-cost paths to a single destination. The equal-cost path is the
path where the metric is the same (Hop count).

CONNECTION:
CLI COMMAND:

------------Router 0-----------
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#ex
Router(config)#int serial 0/0/0
Router(config-if)#ip add 10.0.0.1 255.0.0.0
Router(config-if)#no shutdown

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


Router(config-if)#ex
Router(config)#int s 0/0/1

Router(config-if)#ip add 12.0.0.1 255.0.0.0


Router(config-if)#no shut

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


Router(config-if)#no shutdown
Router(config-if)#ex
Router(config)#router rip
Router(config-router)#no a
Router(config-router)#no auto-summary
Router(config-router)#network 10.0.0.0
Router(config-router)#network 192.168.1.0

Router(config-router)#network 12.0.0.0
Router(config-router)#ex
Router(config)#ex
Router#

----------Router 1----------
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s 0/0/0
Router(config-if)#ip add 10.0.0.2 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router(config-if)#ex
Router(config)#int fa 0/0
Router(config-if)#ip add 192.168.2.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#ex
Router(config)#int s 0/0/1
Router(config-if)#ip add 11.0.0.1 255.0.0.0
Router(config-if)#no shut
Router(config-if)#ex
Router(config)#ex
Router#
Router#conf t

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


Router(config)#router rip
Router(config-router)#no auto-summary
Router(config-router)#network 10.0.0.0
Router(config-router)#network 192.168.2.0

Router(config-router)#network 11.0.0.0

Router(config-router)#ex
Router(config)#ex
Router#

-----------Router 2------------
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no shutd

Router(config-if)#
Router(config-if)#ex
Router(config)#int s 0/0/0
Router(config-if)#ip add 11.0.0.2 255.0.0.0
Router(config-if)#no shut
Router(config-if)#ex

Router(config)#int s 0/0/1
Router(config-if)#ip add 12.0.0.2 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

Router(config-if)#ex
Router(config)#
Router(config)#ex
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#no a
Router(config-router)#network 11.0.0.0
Router(config-router)#network 12.0.0.0
Router(config-router)#network 192.168.3.0
Router(config-router)#ex
Router(config)#ex

CONCLUSION: Both static routing and RIPv1 was configured


using a delta connection. In rip, the shortest route was selected
automatically. But in the static connection, we need to specify all
the networks with the next hop. Also in rip if one path was
destroyed it searched for an available route to the destination and
sent the data, which wasn’t the case with static routing.

You might also like