0% found this document useful (0 votes)
18 views6 pages

CN Lab Assignment 10

Network research

Uploaded by

vivekks.cs.23
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)
18 views6 pages

CN Lab Assignment 10

Network research

Uploaded by

vivekks.cs.23
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/ 6

Practical #10:

Objective#10: Design and implement a network simulation demonstrating the


functionality of Dynamic Host Configuration Protocol (DHCP) and Domain
Name System (DNS) using Cisco Packet Tracer

Description:

In this practical, a local network is designed where multiple end devices (PCs and laptops)
are connected to a central switch. A single server is configured to perform dual roles as a
DHCP server (assigning dynamic IP addresses) and a DNS server (resolving domain names
to IP addresses.

This simulation highlights how devices in a network can automatically receive network
settings and resolve domain names without manual intervention, improving efficiency and
ease of management

Fig 10.1 Network Topology

Network Devices Used:

● 2 PCs: PC1, PC2


● 2 Laptops: Laptop1 and Laptop2
● 1 Switch: Switch1 (central connectivity device)
● 1 Server: Server2 (acts as both DHCP and DNS server)
● Copper Straight-Through cables to connect each end device to the switch

IP Addressing Plan:

Device: IP Address: Assignment Type:


PC1,PC2,Laptop1,Laptop2 Assigned via DHCP Dynamic

Server2 10.10.10.1 Static

1. DHCP (Dynamic Host Configuration Protocol)

DHCP automatically assigns IP addresses and other network settings (subnet mask, gateway,
DNS) to hosts in a network. This eliminates the need for manual IP configuration on each
device.

Working Steps:

● Discover: Client broadcasts DHCP discover message.


● Offer: Server offers an IP address.
● Request: Client requests the offered IP.
● Acknowledge: Server confirms the lease.

Think of DHCP as the network’s personal secretary — assigning desk numbers


(IP addresses) to every employee (host) that walks into the office.

2. DNS (Domain Name System)

DNS resolves domain names (like www.google.com) into IP addresses (like 142.250.64.78),
allowing users to access websites or services using readable names.

DNS is like your phone’s contact list. You don’t remember the number — you
just type "Mom" and it connects the call.
Fig 10.2 DHCP In Server

Procedure

Step 1: Build the Network Topology:

1. Add 2 PCs, 2 Laptops, 1 Switch, and 1 Server to the workspace in Cisco Packet
Tracer.
2. Use Copper Straight-Through cables to connect each device to the switch using
FastEthernet ports.

Step 2: Configure the Server:

1. Click on the Server2 → go to the Config tab.


2. Under the FastEthernet (Fa0) interface:
○ Set IP address: 10.10.10.1
○ Set Subnet Mask: 255.0.0.0
○ Turn the interface ON.

Step 3: Configure DHCP on the Server

1. Go to the Services tab → Select DHCP.


2. Turn the DHCP Service ON.
3. Fill in the configuration:
○ Pool Name: LAN
○ Default Gateway: 10.10.10.1
○ DNS Server: 10.10.10.1
○ Start IP Address: 10.10.10.10
○ Subnet Mask: 255.0.0.0
○ Maximum Users: 50
4. Click Save.

Step 4: Configure DNS on the Server

1. Go to the Services tab → Select DNS.


2. Turn the DNS Service ON.
3. Add a DNS entry:
○ Name: www.packet.com
○ Address: 10.10.10.1 (server's IP)
4. Click Add.

Fig 10.3 DNS In Server

Step 5: Configure Clients (PCs and Laptops)

1. Click each PC and Laptop → go to the Desktop tab → select IP Configuration.


2. Choose DHCP.
3. The device will automatically receive:
○ An IP address from the server (e.g., 10.10.10.0, 10.10.10.2, etc.)
○ Subnet Mask
○ Default Gateway: 10.10.10.1
○ DNS Server: 10.10.10.1
Fig 10.4 Dynamic Allocation Of IP Address

Step 6: Test DHCP

1. Go to the Command Prompt of each client.


2. Type ipconfig and press Enter.
3. Verify that each device has received an IP address dynamically.

Fig 10.5 Ip Configuration in PC2


Step 7: Test DNS

1. Go to the Web browser of any client.


2. Type www.dhruvn.com.
3. You will see the Website to be open.

Fig 10.6 Web Browser In PC2

You might also like