0% found this document useful (0 votes)
67 views10 pages

CCN Lab 11

The document describes a lab assignment to configure a network topology using RIP routing. The objectives are to configure routers Router0, Router1, and Router2 to create a network with subnets 192.168.0.0, 192.168.1.0, 192.168.2.0, and 192.168.4.0. RIP is configured on the routers to exchange routing information and determine the best paths between subnets. The configuration of each router is shown, and verification is done using the show ip route command to confirm that routes are being learned via RIP. A ping test between subnets is also successful.

Uploaded by

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

CCN Lab 11

The document describes a lab assignment to configure a network topology using RIP routing. The objectives are to configure routers Router0, Router1, and Router2 to create a network with subnets 192.168.0.0, 192.168.1.0, 192.168.2.0, and 192.168.4.0. RIP is configured on the routers to exchange routing information and determine the best paths between subnets. The configuration of each router is shown, and verification is done using the show ip route command to confirm that routes are being learned via RIP. A ping test between subnets is also successful.

Uploaded by

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

Riphah International University, Islamabad

Faculty of Computing
Riphah International University
Faculty of Computing (WISH)
Fall-2021
Computer Communication and Networks

Course Computer Communication and Network Lab


Course Ms. Sabahat Ajaz
Instructor
Credit Hour 1
Lab No. 11 Create Network Topology using RIP
Lab To implement this practical following network topology is required to be
Objective configured using the commands learned in previous practical.
After configuring the given network, a packet should be ping from anyone
machine to another

Tools PC/Laptop, Lab Manual, Packet Tracer

Routing Information Protocol, also known as RIP.


The Routing Information Protocol (RIP) is a distance vector protocol that routers use to exchange information about
available routes in a local area network. Routers using RIP send periodic update messages to other routers in the
network and when the network topology changes. These updates allow a router to learn the network topology and
calculate the best path to a destination network. When a router receives routing information from another router, it
updates its local routing table and sends a RIP update containing the revised routing table to its neighboring routers.
The router stores only the best path to a destination in its routing table. RIP uses a hop count to calculate the best
path. The best path is the path that has the fewest number of hops (routers) that packets must traverse to reach the
destination network. The maximum number of hops allowed in a path in a RIP network is 15 hops. 
Riphah International University, Islamabad
Faculty of Computing

Router 1 wants to send data to Router 3

Which path is shortest


Three possible routes here
Riphah International University, Islamabad
Faculty of Computing
Here RIP chooses Route 2
Riphah International University, Islamabad
Faculty of Computing

network 192.168.0.0

Router0 configuration.....

Router0
Router>en
Router#conf t
Router(config)#hostname Router0
Router0(config)#int s0/3/0
Router0(config-if)#ip add 192.168.3.1 255.255.255.252
Router0(config-if)#no shut
Router0(config-if)#int f0/0
Router0(config-if)#ip add 192.168.0.1 255.255.255.0
Router0(config-if)#no shut
Router0(config-if)#exit
Router0(config)#router RIP
Router0(config-router)#net 192.168.0.0
Router0(config-router)#net 192.168.3.0
Router0(config-router)#exit
Router0(config)#exit

Router1 Configuration.....
Router>en
Router#conf t
Router(config)#hostname Router1
Router1(config)#int s0/3/0
Router1(config-if)#clock rate 64000
Riphah International University, Islamabad
Faculty of Computing
Router1(config-if)#ip add 192.168.3.2 255.255.255.252
Router1(config-if)#no shut
Router1(config-if)#int s0/2/0
Router1(config-if)#clock rate 64000
Router1(config-if)#ip add 192.168.4.1 255.255.255.252
Router1(config-if)#no shut
Router1(config-if)#int f0/0
Router1(config-if)#ip add 192.168.1.1 255.255.255.0
Router1(config-if)#no shut
Router1(config-if)#exit
Router1(config)#router RIP
Router1(config-router)#netw 192.168.1.0
Router1(config-router)#netw 192.168.3.0
Router1(config-router)#netw 192.168.4.0
Router1(config-router)#exit
Router1(config)#exit

Router2 Configuration.....
Router>en
Router#conf t
Router(config)#hostname Router0
Router2(config)#int s0/3/0
Router2(config-if)#ip add 192.168.4.2 255.255.255.252
Router2(config-if)#no shut
Router2(config-if)#int f0/0
Router2(config-if)#ip add 192.168.2.1 255.255.255.0
Router2(config-if)#no shut
Router2(config-if)#exit
Router2(config)#router RIP
Router2(config-router)#netw 192.168.4.0
Router2(config-router)#netw 192.168.2.0
Router2(config-router)#exit
Router2(config)#exit

Verification
To verify the working of the lab, we need to confirm that we are learning all routes via RIP. To do this, we need to
use #show ip route command. See results from Router0:
Riphah International University, Islamabad
Faculty of Computing

From Router0, we can see that networks 192.168.1.0/24, 192.168.2.0/24, and 192.168.4.0/24 are all being learned via
RIP with default administrative distance of 120 and the hop count for network 192.168.2.0/24 recorded as 2. This is
because network 192.168.2.0/24 is two routers away from Router0. Let’s run a ping test to those networks and see if it
will be successful. See output below:
Riphah International University, Islamabad
Faculty of Computing

Another Example
Riphah International University, Islamabad
Faculty of Computing
Riphah International University, Islamabad
Faculty of Computing
Riphah International University, Islamabad
Faculty of Computing

Link for with CLI configuration

https://www.youtube.com/watch?v=6uxVHmLszT0

You might also like