CS222 Lab 05
CS222 Lab 05
Lab 05
Objective:
Exploring the efficacy of DHCP and DNS server in a wired network using packet tracer.
Student Information
Student Name
Student ID
Date
Assessment
Marks Obtained
Remarks
Signature
Lab 05: DHCP & DNS
Lab 05
Instructions
• Come to the lab in time. Students who are late more than 20 minutes, will not be allowed to attend the lab.
• Students have to perform the examples and exercises by themselves.
• Lab work must be submitted on the same day it is performed.
1. Objective
Exploring the efficacy of DHCP and DNS server in a wired network using packet tracer.
2. Labs Descriptions
i. DHCP
It stands for dynamic host configuration protocol, it is a network management protocol used
mainly to distribute IP address to all connected devices in a network. when ever a system is
turned on in a network it sends a request to server this request is called DHCP DISCOVER,
on receiving the request it supplies the client with a IP address from its pool this offer is
called DHCP OFFER, on receiving the offer the client responds with the packet called DHCP
REQUEST to eventually get the IP.
a) Select 3 PCs and a server from “End Devices” your work area will look like this.
Page 2 of 7
Lab 05: DHCP & DNS
d) Go to “DESKTOP”
e) Then “IP CONFIGURATION”
f) Here select option “DHCP” instead of assigning IP Address Statically
g) Now click the Server
h) The screen you will see will look some thing like this:
i) Above diagram shows the screen which you will see on clicking “SERVER” Machine.
j) Here go to Fast Ethernet placed just under Interface marked with red.
Page 3 of 7
Lab 05: DHCP & DNS
k) After clicking “Fast Ethernet” you will see following window. Here assign IP ADDRESS to this
SERVER.
m) DHCP is “Dynamic Host Configuration Protocol” a DHCP server is responsible for Assigning IP
Addresses to the devices present in the Network from its pool. This Concept can be seen in the
image shown below.
Page 4 of 7
Lab 05: DHCP & DNS
ii. DNS
DNS is” Domain Name Services” server the main purpose of this server is to resolve domain
name against its allocated IP address. Humans can recognize a name that’s why we give
names to web sites or locations in networks but actual destination is located through IP
address which is a sequence of numbers and is very difficult for an individual to remember.
Page 5 of 7
Lab 05: DHCP & DNS
a) Mention this IP Address of DNS at DHCP server as well. Look at the previous screen shot where
we have discussed DHCP server there the slot of DNS server is empty, because we have no DNS
server in our network but once you will introduce a DNS server you will have to give its Address
at DHCP server.
b) Now after creating DNS server the DNS Packets should also travel successfully
Page 6 of 7
Lab 05: DHCP & DNS
Lab tasks
Create the following network with DHCP server. Send DNS packets in your network
Page 7 of 7