0% found this document useful (0 votes)
37 views5 pages

Experiment 7

Uploaded by

SOHAM DIXIT
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)
37 views5 pages

Experiment 7

Uploaded by

SOHAM DIXIT
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/ 5

DEPARTMENT OF

COMPUTER SCIENCE & ENGINEERING

Experiment 7

StudentName: Soham Dixit UID 22BCS10135


Branch: BE/CSE Section/Gro up 605/B
Semester: 5th Date of Performance: 13/09/24
Subject Name: Computer Networks Subject Code: 22CSH-312

1. Aim: Connect the computers in the Local Area Network by setting the IP Address, Subnet
mask & Default gateway.

2. Requirements: Packet Tracer


Processor - Any suitable Processor e.g. Celeron
Main Memory - 128 MB RAM
Hard Disk - minimum 20 GB IDE Hard Disk
Removable Drives–1.44 MB Floppy Disk Drive
PS/2 HCL Keyboard and Mouse.

3. Procedure:
a) Open Cisco Packet Tracer:
1. Launch Cisco Packet Tracer on your computer.
b) Create the Network Topology:
1. Add devices:
➢ Drag and drop the following into the workspace:
• One router (1941)
• Two switches (2950-24)
• Six PCs (PC-PT)
2. Connect devices:
➢ Use copper straight-through cables to:
• Connect each PC to the corresponding switch.
• Connect each switch to the router.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

c) Assign IP Addresses:
1. Assign IP addresses to PCs:
• PC0: IP - 192.168.1.1, Gateway - 192.168.1.254
• PC1: IP - 192.168.1.2, Gateway - 192.168.1.254
• PC2: IP - 192.168.1.3, Gateway - 192.168.1.254
• PC3: IP - 172.16.1.1, Gateway - 172.16.1.254
• PC4: IP - 172.16.1.2, Gateway - 172.16.1.254
• PC5: IP - 172.16.1.3, Gateway - 172.16.1.254
2. Assign IP addresses to router interfaces:
• Interface 0/0: IP - 192.168.1.254
• Interface 0/1: IP - 172.16.1.254
d) Configure RIP on the Router:
1. Enter configuration mode on the router:
• config t
2. Enable RIP:
• Type router rip
3. Add network statements:
• network 192.168.1.0
• network 172.16.1.0
e) Configure OSPF on the Router (if needed):
1. Enter OSPF configuration:
• config t
• Type router ospf 1
2. Assign areas to networks:
• network 192.168.1.0 0.0.0.255 area 0
• network 172.16.1.0 0.0.0.255 area 0
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

f) Test Network Connectivity:


1. Ping from each PC to test connectivity. Example:
o On PC0, type ping 192.168.1.254 to test connectivity to the router.
g) Run Simulation Mode:
1. Switch to simulation mode to observe packet flow between PCs and the router.
2. Analyze the network behavior to ensure that the IP addresses, subnet masks,
and default gateways are properly configured.

• Protocols:
1. RIP (Routing Information Protocol)
• Type: Distance-vector protocol.
• Metric: Uses hop count (max 15 hops).
• Usage: Best for small networks due to scalability limits.
• Version:
o RIPv1: Classful (no subnet support).
o RIPv2: Classless (supports subnet masks).
• Update frequency: Every 30 seconds, can be slow to converge.

2. OSPF (Open Shortest Path First)


• Type: Link-state protocol.
• Metric: Uses cost (based on bandwidth) to find the shortest path.
• Usage: Ideal for large, complex networks.
• Features:
o Supports hierarchical areas to manage large networks.
o Classless, supports VLSM (Variable Length Subnet Masking).
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

5. Output:
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

5. Learning Outcome:

• Understanding LAN Topologies: The experiment demonstrates how to set up and


connect computers in a local area network using appropriate devices and cables.

• IP Address Assignment: Learn to assign IP addresses, subnet masks, and default


gateways to PCs, ensuring correct routing and communication.

• Router Configuration: Understand the process of configuring a router using Routing


Information Protocol (RIP) to allow communication between different subnets.

• Network Troubleshooting: Gain experience in diagnosing and troubleshooting


network issues using tools like ping and Packet Tracer’s simulation mode.

• Simulation of Data Transmission: By observing network behavior in simulation


mode, students can understand how data is transmitted across the network and routed
between subnets.

You might also like