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

Lab Report

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 11

LAB REPORT# 09

UNIVERSITY OF ENGINEERING AND TECHNOLOGY, TAXILA


DEPARTMENT OF COMPUTER ENGINEERING

Name: Habib ur rehman


Reg no: 21-CP-09
Date: 31-10-2023

Lab Instructor: Engr. Shahid Ali


Lab Report No.09
CONFIGURING DNS, DHCP AND HTTP SERVER
Objective:
The objective of this lab is:
 Understanding DHCP, DNS & HTTP
 How to configure these three
 Configurations having DHCP within a LAN
 Configurations having DHCP outside the LAN

DNS Server:
The purpose of a DNS server is to translate what a user types into their browser
into something a computer can understand and use to locate a website. In other
words, its purpose is to convert a domain name such as www.example.com into
an IP address such as 71.232.101.120.
DHCP Server:
DHCP is used by workstations (hosts) to get initial configuration information,
such as an IP address, subnet mask, and default gateway upon boot up. Since
each host needs an IP address to communicate in an IP network, DHCP eases
the administrative burden of manually configuring each host with an IP address.
Furthermore, if a host moves to a different IP subnet, it must use a different IP
address than the one it previously used. DHCP takes care of this automatically.
It allows the host to choose an IP address in the correct IP subnet.
HTTP Server:
The operation of Hypertext Transfer Protocol (HTTP) involves the
communication between a Hypertext Transfer Protocol (HTTP) client application
(Usually web browser) and a Hypertext Transfer Protocol (HTTP) server
application (Web servers like IIS). Hypertext Transfer Protocol (HTTP) uses
Transmission Control Protocol (TCP) as the Transport Layer Protocol at Well
Known port number 80
“TASKS”
Task No:01

Configuration of DHCP on Router

Solution:
 Router Configuration:

 Automatic IP Address:

Automatic IP will be assigned to all the PCs connected via DHCP Server. Here
the router is configured as DHCP server.
Task No:02

Configuration of DNS and Web Server

Solution:

 Web Server:
 Web Server access:
 DNS Server:

 DNS Server Services:

The DNS server will have the IP address of the web server. When PC type the
name of the web page the IP address is resolved via DNS server
Task No:03

Configurating DHCP, DNS and HTTP Server having DHCP within


LAN.

Solution:
 Router Configuration:
Fast Ethernet 0/0:

Fast Ethernet 1/0:


Fast Ethernet 6/0:

 DHCP Server Pools:


ServerPool:

 DNS Server:
 Web Server Page:

 Automatic IP Address:

Automatic IP will be assigned to all the PCs connected via DHCP Server.
DHCP server will assign automatic IP.The DNS server will have the IP address
of the web server. When PC type the name of the web page the IP address is
resolved via DNS server.
Task No:04

Configurating DHCP outside LAN

Solution:
Router Configuration:
Fast Ethernet 0/0:

Fast Ethernet 1/0:


Fast Ethernet 6/0:

DHCP Server Pools:


ServerPool: ServerPool1:
Automatic IP Address:

Router:
Router0(config-if) # Ip helper-address 192.168.3.2

Just one line in the router for the configuration. The DHCP server will
automatically assign IP addresses to all PC’s.

You might also like