Open In App
Related Articles

Configuring DHCP and Web Server in Cisco Packet Tracer

Improve Article
Save Article
Like Article

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.


Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 24 Jun, 2022
Like Article
Save Article
Similar Reads
Complete Tutorials