Skip to content
Related Articles

Related Articles

Configuring DHCP and Web Server in Cisco Packet Tracer

View Discussion
Improve Article
Save Article
  • Last Updated : 24 Jun, 2022

DHCP is an Internet control protocol used to assign an IP address to any appliance, or node, on an internet network so they can transmit data using IP. DHCP automatically handles these configurations rather than requiring network administrators to manually set IP addresses to all network devices. DHCP can be executed on small local networks, as well as large company networks. 

To know more about DHCP you may refer to the article Dynamic Host Configuration Protocol (DHCP).


Step 1: First, open the cisco packet tracer desktop and select the devices given below:

S.NO Device Model Name Qty.
1. PC PC 1
2. switch PT-switch 1
3. server Server-PT 2

IP Addressing Table

S.NO Device IPv4 Address Subnet Mask Default Gateway DNS
1. PC0 nil
2. server0 nil
3. DNS
  • Then, create a network topology as shown below the image.
  • Use an Automatic connecting cable to connect the devices with others.


Step 2: Configure the PCs (hosts) Server0 and DNS with IPv4 address and Subnet Mask according to the IP addressing table given above.

  • To assign an IP address, click on the device.
  • Then, go to desktop and IP configuration and there you will find IPv4 configuration.
  • Fill IPv4 address and subnet mask and other inputs.




Step 3: Configure the HTTP sever0

  • To configure the HTTP server.
  • Go to services then click on HTTP
  • Then delete all of the files except the index.html and edit it.



Step 4: Configure the DNS server

  • To configure the DNS server.
  • Go to services then click on DNS.
  • Then turn on the DNS services.
  • Name the server and type address
  • And add the record.


Step 5: Verify the server by using the web browser in the Host.

  • Enter the IP address of server0 and click on GO.
  • It will show the results.


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!