CN Experiments
CN Experiments
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
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
5. Output:
6. Learning Outcomes:
Experiment 9
Student Name: Saksham UID: 22BCS10991
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
6. Learning Outcome:
• learn how to assign IP addresses and configure network settings for devices
in a LAN.