0% found this document useful (0 votes)
14 views8 pages

CN Experiments

The document outlines three experiments conducted by a student named Saksham in a Computer Networks course. Experiment 7 focuses on setting up a Local Area Network (LAN) with IP configuration and NAT, Experiment 8 involves resource sharing between nodes using FTP, and Experiment 9 details configuring a DNS server for domain name resolution. Each experiment includes aims, objectives, procedures, and learning outcomes to enhance practical networking skills.

Uploaded by

goyalsak001
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)
14 views8 pages

CN Experiments

The document outlines three experiments conducted by a student named Saksham in a Computer Networks course. Experiment 7 focuses on setting up a Local Area Network (LAN) with IP configuration and NAT, Experiment 8 involves resource sharing between nodes using FTP, and Experiment 9 details configuring a DNS server for domain name resolution. Each experiment includes aims, objectives, procedures, and learning outcomes to enhance practical networking skills.

Uploaded by

goyalsak001
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/ 8

Experiment-7

Student Nam : Saksham UID: 22BCS10991


Branch: BE-CSE Section/Group: 22BCS-IOT-639A
Semester: 5th Date of Performance: 11-10-24
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
Enable computers within the same LAN to communicate with each other for sharing files, resources,
and services efficiently.
3. Requirements (Hardware/Software):
Packet Tracer

4. Procedure:
1. Create network topology by adding a router, a switch, and multiple PCs.
2. Connect the PCs to the switch and the switch to the router using cables.
3. Assign IP addresses and subnet masks to the PCs (e.g., 192.168.0.2, 192.168.0.3) with
the subnet mask 255.255.255.0.
4. Assign a static IP (192.168.0.1) and subnet mask (255.255.255.0) to the router's interface.
5. Configure DHCP on the router to assign IP addresses automatically to other devices on
the network.
6. Enable NAT on the router for Internet access by configuring the public- facing interface to
connect to the Internet.
7. Ping between PCs to ensure they can communicate with each other on the LAN.
8. Simulate Internet access by creating a cloud connection and pinging an external network
from the PCs
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

5. Output

Figure-1

Figure-2

6. Learning Outcomes:
• Understand how to set up a Local Area Network (LAN)
• To configure IP addresses and subnet masks in a network.
• Gain experience in enabling Internet sharing and configuring Network Address
Translation (NAT).
• Verify network connectivity by using the ping command to test communication between
devices.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment 8
Student Name: Saksham UID: 22BCS10991

Branch: BE-CSE Section/Group: 22BCS-IOT_625B


Semester: 5th Date of Performance: 15 Oct, 2024
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.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

• Access the FTP service by opening the command prompt on PC1.


• Type ftp and log in using the created credentials.
• 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

6. 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.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment 9
Student Name: Saksham UID: 22BCS10991

Branch: BE-CSE Section/Group: 639A

Semester: 5th Date of Performance: 15/10/24

Subject Name: Computer Networks Subject Code: 22CSH-312

1. Aim:
Configuring DNS Server and accessing web Resources by Domain Name.
2. Objective:
• Set up a DNS server to resolve domain names to IP addresses.
• Configure DNS zones for domain management (e.g., forward and reverse lookup zones).
• Assign domain names to internal or external web resources.
• Ensure clients can access web resources using domain names instead of IP addresses.
• Test DNS functionality by querying domain names and confirming correct resolution.
• Verify web access using domain names from different devices within the network.
• Ensure proper DNS caching and fault tolerance for faster access.

3. Requirements:
• DNS Server
• Web Server
• Router
• Switch
• IP Addressing
• DNS Configuration
• Domain Mapping
• Client Configuration
• Testing DNS Queries
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

4. Procedure:
Add Devices: Place PCs, DNS server, Web server, router, and switch in the workspace.
Assign IP Addresses: Configure IP addresses for all devices (PCs, DNS server, Web server,
router).
Connect Devices: Use cables to connect all devices to the switch.
Enable DNS on Server: On the DNS server, enable DNS service and configure a domain
name
Configure Web Server: Enable HTTP service on the Web server.
Set DNS on PCs: Configure each PC to use the DNS server's IP address.
Test Domain Resolution: On PCs, open a web browser and access the web resource using
the domain name

Verify: Ensure DNS resolution and web access work correctly


5. Output

Figure 1 (DNS Server)


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

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.

You might also like