0% found this document useful (0 votes)
45 views32 pages

CN ALL Merged

Uploaded by

akash.kr4476
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)
45 views32 pages

CN ALL Merged

Uploaded by

akash.kr4476
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/ 32

DEPARTMENT OF

COMPUTER SCIENCE & ENGINEERING

Experiment1
Student Name: UID:
Branch: CSE Section/Group:
Semester: 5 Date of Performance:
Subject Name: CN LAB Subject Code: 22CHS-312

1. Aim:
Study of different types of Network cables & their Color coding and
practically implement the cross-wired cable and straight through cable
using crimping tool.

2. Requirements(Hardware/Software):
RJ-45 connector,
Crimping Tool,
Twisted pair Cable.

3. Procedure:
• Strip the cable jacket about 1.5 inch down from the end.
• Spread the four pairs of twisted wire apart. For Cat 5e, you can use the pull
string to strip the jacket farther down if you need to, then cut the pull string.
Cat 6 cables have a spine that will also need to be cut.
• Untwist the wire pairs and neatly align them in the T568B orientation. Be
sure not to untwist them any farther down the cable than where the jacket
begins; we want to leave as much of the cable twisted as possible.
• Cut the wires as straight as possible, about 0.5 inch above the end of the
jacket.
• Carefully insert the wires all the way into the modular connector, making
sure that
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

• each wire passes through the appropriate guides inside the connector.
• Push the connector inside the crimping tool and squeeze the crimper all the
way down.
• Repeat steps 1-6 for the other end of the cable.
• To make sure you've successfully terminated each end of the cable, use a
cable tester to test each pin. When you're all done, the connectors should
look like this:
4. Output:
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

5. Learning Outcome:
• Learned how to strip the cable jacket.
• Learned how to separate and untwist wire pairs.
• To align wires in the order.
• Insert wires into an RJ45 connector and crimp it.
• Learned how to use a cable tester to verify the connections.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment 2
Student Name: UID:
Branch: BE-CSE Section/Group:
Semester: 5th Date of Performance:
Subject Name: Computer Networks Subject Code:22CSH-312

Aim: Study of basic network command and Network configuration commands.

Objective: -
Students will be able to troubleshoot networks.

Requirements (Hardware/Software):
• 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 –52X IDE CD-ROM Drive
•PS/2 HCL Keyboard and Mouse

Procedure:
In this EXPERIMENT- students have to understand basic networking commands
e.g ping, tracert etc.
Go to command prompt and type the commands
i. Ping
ii. Ipconfig
iii. Tracert
iv. Nslookup
v. Netstat
vi. Arp
vii. Rarp
viii. Hostname
ix. pathping
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Step-1: Open command Prompt.


Step-2: Run ping command in command prompt.

Step-3: Take the screenshot and paste it in the output.

Step-4: Run others command one by one and take the screenshot.

Output:
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Learning Outcome:
1.Understanding the concept behind the command prompt.
2.Understanding the different network command.
3.Running the different network command.
4.Understanding the concept to troubleshoot networks.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment 3
Student Name: UID:
Branch: CSE Section/Group:
Semester: 5 Date of Performance:
Subject Name: CN LAB Subject Code: 22CHS-312

1. Aim:
Implement Bus, Ring, Mesh, and Hybrid topology. Assign IP address and
subnet mask to each computer and run the ping command to check the
reachability of the systems. Send message between source and destination
and observe the flow of the messages.
2. Objective:
To simulate and observe different network topologies, configure
networking parameters, verify connectivity using ping commands, and
understand message routing in various topological structures.
3. Requirements Hardware/Software:
Cisco Packet Tracer: Cisco Packet Tracer as the name suggests, is a tool
built by Cisco. This tool provides a network simulation to practice simple
and complex networks. The main purpose of Cisco Packet Tracer is to help
students learn the principles of networking with hands-on experience as
well as develop Cisco technology specific skills.
4. Procedure:

Step 1: start Cisco Packet Tracer on your computer

Step 2: Create Network Topologies:


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Bus Topology:

• Drag and drop devices from the "Network Devices" pane


• Connect all PCs in a linear fashion using a single straight cable .

Mesh Topology:

• Fully connect all PCs with individual connections.


• Create point-to-point connections between every pair of PCs.

Step 3: click on pc0 and select desktop and click on ipconfig and Assign

a static IP address to the interface with ip address 192.168.10.1.

Step 4: Assign IP addresses to each workstation statically.

Step 5: Use applications like Packet Tracer's built-in "Simulation"


mode to send messages or packets between PCs.

5. Output:
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

6. Learning Outcome:
• Understand the setup and configuration of Star, Bus, and Mesh network
topologies.
• Learn to use Cisco Packet Tracer to simulate different network designs.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment 4
Student Name: Zatch UID:
Branch: BE-CSE Section/Group:
Semester: 5th Date of Performance:
Subject Name: Computer Networks Subject Code: 22CSH-312

1. Aim: Configure and Understand working of network devices Hub, Switch,


Routers

2. Objective: The objective of this experiment is to configure and understand the


operational roles and functions of network devices such as hubs, switches, and
routers in a network environment.

3. Requirements: Packet Tracer.

4. Procedure:

Step 1. Setup Devices:

 Connect devices to the hub, switch, and router using Ethernet cables.

Step 2. Configure IP Addresses:

 Access the router's web interface to set IP ranges and enable DHCP.
 Ensure connected devices obtain IP addresses automatically or set static
IPs.

Step 3. Verify Connectivity:

 Check device communication via the hub, switch, and router.


 Use ping to test network connections and ensure internet access.

Step 3. Analyze Traffic:

 Observe how the hub broadcasts, the switch forwards efficiently, and the
router manages traffic and internet access.

Step 4. Document Findings:

 Record observations on device functionality and network performance.


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
5. Output:
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

6. Learning Outcomes:

a. Understanding Device Roles: Gain insight into the distinct functions of hubs,
switches, and routers in a network, including how they manage and direct
network traffic.
b. Device Configuration Skills: Learn to configure network devices, including
setting up IP addresses, enabling DHCP, and adjusting device settings to
ensure proper network operation.
c. Network Connectivity Verification: Develop skills in verifying network
connectivity through tools like ping and understanding how different devices
affect communication within a network.
d. Traffic Analysis: Acquire the ability to analyze and interpret network traffic
using monitoring tools like Wireshark, identifying how data is transmitted and
managed.
e. Practical Troubleshooting: Enhance problem-solving skills by diagnosing
and troubleshooting network issues, and understanding how device
configurations impact overall network performance.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment 4

Student Name: Zatch UID:


Branch: BE-CSE Section/Group:
Semester: 5th Date of Performance:
Subject Name: Computer Networks Subject Code: 22CSH-312

1. Aim: Implement Data link Layer Protocols such as CSMA,CSMA/CD etc.


2. Objective: The objective is to understand and demonstrate how Data Link
Layer protocols, specifically CSMA/CD, manage network traffic and handle
collisions in a simulated network environment. By setting up a network in Cisco
Packet Tracer, you’ll learn to configure devices, observe protocol behavior, and
analyze how these protocols ensure efficient and reliable communication on a
shared medium.
3. Requirements:
• Cisco Packet Tracer Software
• Switches
• PC
• Copper Straight-Through Cables
• Hub
4. Procedure:
• Open Cisco Packet Tracer
• Drag and drop several switches and end devices (PCs) onto the workspace.
• Connect the devices using copper cross over cables
• Click on each PC, go to the Desktop tab, and then click on IP Configuration to
assign static IP addresses to each PC.
• Connect PCs to the hub.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
• connect some PCs directly to the switch for comparison
• Click Simulation at the bottom of the Packet Tracer window
• In Simulation Mode, watch how data frames are transmitted through the hub.
The hub shares the bandwidth among all connected PCs, leading to potential
collisions.
• Watch data frames through the switch. The switch creates separate collision
domains for each port, reducing collisions compared to the hub.
5. Output
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

6.Learning Outcome:
• Gain insight into how CSMA/CD operates to manage access to a shared
communication medium and handle collisions.
• Learn to set up and configure network devices, including switches and PCs, to
demonstrate protocol functionality.
• Develop the ability to use Packet Tracer’s simulation features to visualize and
analyze network traffic and protocol behavior.
• Improve skills in diagnosing and resolving network issues related to protocol
operations and collisions.
• Enhance skills in documenting network setups, configurations, and simulation
results for reporting and analysis.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment 6

Student Name: Zatch UID:


Branch: BE-CSE Section/Group:
Semester: 5th Date of Performance:
Subject Name: Computer Networks Subject Code: 22CSH-312

1. Aim: Configure a network using any Routing Protocol such as Distance Vector
routing or Link State Routing Protocol using Packet Tracer or NS2
2. Objective:
• Set up basic IP addressing for the network.
• Enable a routing protocol (RIP for Distance Vector or OSPF for Link State) on
the routers.
3. Requirements:
• Packet Tracer.
• Router
• Switch
• Wire
4. Procedure:

• Connect devices to the switch, and router in packet tracer.


• Assign IP addresses to each device.
• Configure RIP Routing on Routers.
• Check device communication via the router 1and router 2.
• Select a source and destination device
• Drag and drop a packet from the source to the destination
• Switch to Simulation mode in Packet Tracer.
• Click "Capture/Play" to start the simulation.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
5. Output:

Fig 1: dynamic routing through RIP

Fig 2: Dynamic routing through serial cable


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

6. Learning Outcomes:

a. Learn the difference between Distance Vector (RIP) and Link State (OSPF)
routing protocols.
b. Gain hands-on experience in configuring and managing routing protocols on
Cisco routers using Packet Tracer.
c. Develop skills in designing, configuring, and troubleshooting networks with
multiple subnets and routers.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment 7

Student Name: Zatch UID:


Branch: BE-CSE Section/Group:
Semester: 5th Date of Performance:
Subject Name: Computer Networks Subject Code: 22CSH-312

1. Aim: Connect the computers in Local Area Network by setting IP Address,


Subnet mask & Default gateway.
2. Objective:
• Understand how to assign static IP addresses to devices in a LAN.
• Configure subnet masks to define the network size.
• Set default gateways to facilitate communication outside the local network.
• Test connectivity using ping commands.
3. Requirements:
• Cisco Packet Tracer Software
• Switches
• PC
• Copper Straight-Through Cables
• Copper Cross-Over Cables
4. Procedure:
• Open Cisco Packet Tracer
• Drag and drop several switches and end devices (PCs) onto the workspace.
• Connect the devices using appropriate cables
• Click on each PC, go to the Desktop tab, and then click on IP Configuration to
assign static IP addresses to each PC.
• For PCs, ensure the default gateway is set to the IP address of the router or the
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
switch.
• Run the simulation

5. Output

6.Learning Outcome:
• learn how to assign IP addresses and configure network settings for devices in
a LAN.
• develop basic troubleshooting skills by testing connectivity using ping.
• gain insight into subnet masks and how they affect network communication.
• Learn about subnetting and default gateway
• Learn to set up and configure network devices, including switches and PCs, to
demonstrate protocol functionality.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment 8

Student Name: Zatch UID:


Branch: BE-CSE Section/Group:
Semester: 5th Date of Performance:
Subject Name: Computer Networks Subject Code: 22CSH-312

1. Aim: Sharing of resources with two connected nodes with understanding of


FTP Connecting Devices, Configuring Server IP address.
2. Objective:
• To establish resource sharing between two connected nodes using FTP in Packet
Tracer, while understanding how to configure server IP addresses.
3. Requirements:
• Packet Tracer.
• Server
• Router
• Switch
• Wire
4. Procedure:

• Place two PCs, one server, and one router in Packet Tracer.
• Connect devices to the switch, router, server in packet tracer.
• Assign IP addresses to each device.
• Click on the server, navigate to the "Services" tab, and enable the FTP service.
• Create a user account with a username and password for FTP access.
• On both PCs, open the command prompt and ping the server.
• Access the FTP service by opening the command prompt on PC1.
• Type ftp and log in using the created credentials.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
• Use put filename.txt to upload a file from PC1 to the server.
• Use get filename.txt to download a file from the server to PC1.
• PC2 can also connect to the FTP server in the same way to upload or download
files.

5. Output:

Fig 1: Connections of system

Fig 2: creating username and password


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Fig 3: put text file

Fig 4: get text file

5. Learning Outcomes:

a. Gain hands-on experience in configuring devices (PCs, server, router) within a


network.
b. Learn how to assign and manage static IP addresses within a subnet.
c. Understand the File Transfer Protocol (FTP) and its role in resource sharing.
d. Develop skills in uploading and downloading files using FTP commands.
e. Enhance the ability to troubleshoot connectivity issues using tools like ping.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment 9

Student Name: Zatch UID:


Branch: BE-CSE Section/Group:
Semester: 5th Date of Performance:
Subject Name: Computer Networks Subject Code: 22CSH-312

1. Aim: Configuring DNS Server and accessing web Resources by Domain Name
2. Objective:
• The objective of this exercise is to configure a DNS (Domain Name System)
server within a Cisco Packet Tracer environment and demonstrate how to access
web resources using domain names instead of IP addresses. This setup will help
understand the role of DNS in networking and improve skills in configuring
network services.
3. Requirements:
• Packet Tracer.
• Server
• Router
• Switch
• Wire
4. Procedure:

• Place two PCs, one server, and one router in Packet Tracer.
• Connect devices to the switch, router, server in packet tracer.
• Click on the router, go to the CLI tab, and enter the commands:

Router(config-if)#ip dhcp pool netA


Router(dhcp-config)#network 10.0.0.1 255.0.0.0
Router(dhcp-config)#default-router 10.0.0.1
Router(dhcp-config)#exit
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
Router(config)#ip dhcp pool netB
Router(dhcp-config)#network 20.0.0.1 255.0.0.0
Router(dhcp-config)#default-router 20.0.0.1

Router(dhcp-config)#exit

• Click on the server, go to the Desktop tab, and select IP Configuration and
configure the dhcp server
• Assign a static IP and set the subnet mask.
• Click on the DNS server .
• Configure it with a static IP and set up a simple HTML page.
• Click on each PC, go to the Desktop tab, select IP Configuration
• Obtain an IP address automatically (if using DHCP from the router) or set a
static IP in the same subnet.
• set to the IP address of the DNS server.
• On each PC, open web browser.
• Use the command
• Confirm that the PC resolves the domain name to the correct IP address.

5. Output:

Fig 1: Connections
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Fig 2: DHCP Server

Fig 3: DNS server

Fig 4: Opening URL


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

5. Learning Outcomes:

a. Explain the purpose of DNS in resolving domain names to IP addresses.


b. Set up a DNS server on a router or dedicated server in Packet Tracer.
c. Add A records for hostnames to resolve to specific IP addresses.
d. Set up client PCs to use the DNS server for name resolution
e. Successfully access web resources using domain names.

You might also like