0% found this document useful (0 votes)
12 views

CN 8 EXP

The document outlines a simulation exercise to understand Distance Vector Routing using the Routing Information Protocol (RIP) in Cisco Packet Tracer. It details the setup of network topology, configuration of IP addresses for routers and PCs, and the steps to enable and verify RIP on routers. The exercise concludes with testing connectivity between end devices and confirms successful dynamic routing via RIP.

Uploaded by

joshua0922005
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)
12 views

CN 8 EXP

The document outlines a simulation exercise to understand Distance Vector Routing using the Routing Information Protocol (RIP) in Cisco Packet Tracer. It details the setup of network topology, configuration of IP addresses for routers and PCs, and the steps to enable and verify RIP on routers. The exercise concludes with testing connectivity between end devices and confirms successful dynamic routing via RIP.

Uploaded by

joshua0922005
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/ 5

Ex.

No: 8 SIMULATION OF DISTANCE VECTOR ROUTING

Aim:
To simulate and understand how Distance Vector Routing works using a dynamic routing
protocol (RIP - Routing Information Protocol) in Cisco Packet Tracer.
Procedure
1. Setup Network Topology:
 Open Cisco Packet Tracer.
 Drag and drop the following devices:
o 3 Routers (e.g., Router0, Router1, Router2).
o 3 PCs (e.g., PC0, PC1, PC2) to represent end devices.
o Use copper straight-through cables to connect the PCs to the respective
routers:
 PC0 to Router0 (FastEthernet 0/0)
 PC1 to Router1 (FastEthernet 0/0)
 PC2 to Router2 (FastEthernet 0/0).
o Use serial cables or crossover cables to connect the routers:
 Router0 to Router1 (Serial 0/1/0 on both routers).
 Router1 to Router2 (Serial 0/1/1 on both routers).
2. Configure IP Addresses:
 Router0:
o For the PC0-facing interface (FastEthernet 0/0):
 IP Address: 192.168.1.1
 Subnet Mask: 255.255.255.0
o For the Router1-facing interface (Serial 0/1/0):
 IP Address: 10.0.0.1
 Subnet Mask: 255.255.255.252
 Router1:
o For the PC1-facing interface (FastEthernet 0/0):
 IP Address: 192.168.2.1
 Subnet Mask: 255.255.255.0
o For the Router0-facing interface (Serial 0/1/0):
 IP Address: 10.0.0.2
 Subnet Mask: 255.255.255.252
o For the Router2-facing interface (Serial 0/1/1):
 IP Address: 10.0.1.1
 Subnet Mask: 255.255.255.252
 Router2:
o For the PC2-facing interface (FastEthernet 0/0):
 IP Address: 192.168.3.1
 Subnet Mask: 255.255.255.0
o For the Router1-facing interface (Serial 0/1/1):
 IP Address: 10.0.1.2
 Subnet Mask: 255.255.255.252
3. Configure PCs:
 PC0:
o IP Address: 192.168.1.2
o Subnet Mask: 255.255.255.0
o Default Gateway: 192.168.1.1
 PC1:
o IP Address: 192.168.2.2
o Subnet Mask: 255.255.255.0
o Default Gateway: 192.168.2.1
 PC2:
o IP Address: 192.168.3.2
o Subnet Mask: 255.255.255.0
o Default Gateway: 192.168.3.1
4. Configure RIP on Routers (Dynamic Distance Vector Routing Protocol):
 Go to Router0:
1. Enter global configuration mode:

2. Enable RIP (v2):

3. Add the connected networks:

4. Exit:

Repeat similar steps for Router1 and Router2:


Router1:
Router2:

5. Verify RIP Configuration:


After configuring RIP on all routers, you can verify the routing tables:
o Go to Router0 and run:

o Check if Router0 has learned about the networks 192.168.2.0 and 192.168.3.0 through
RIP.
 Similarly, check the routing tables on Router1 and Router2 to ensure they have
learned routes from the other routers.
6. Test Connectivity:
 Ping from PC0 (192.168.1.2) to PC2 (192.168.3.2):
o Go to PC0:

o If the ping is successful, the dynamic routing via RIP is working as expected.
 Similarly, try pinging from PC1 to PC0 or PC2 to confirm the end-to-end
communication is working.
7. Use Simulation Mode (Optional):
 You can use Simulation Mode in Cisco Packet Tracer to see how routing updates and
data packets are forwarded between the routers using RIP.

OUTPUT:
 The routers dynamically exchange routes using RIP.
 The routing tables are updated as new routes are discovered.
 End devices can communicate through routers due to the established dynamic routes.

RESULT:
Thus the Distance Vector Routing using RIP was successfully verified and it
demonstrates how routers share information with their neighbours to build a complete routing
table, allowing efficient packet forwarding.

You might also like