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
View Discussion
Improve Article
Save 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).

Steps:

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

S.NODeviceModel NameQty.
1.PCPC1
2.switchPT-switch1
3.serverServer-PT2

IP Addressing Table

S.NODeviceIPv4 AddressSubnet MaskDefault GatewayDNS
1.PC0192.168.5.11255.255.255.0192.168.5.1nil
2.server0192.168.5.12255.255.255.0192.168.5.1nil
3.DNS192.168.5.13255.255.255.0192.168.5.1192.168.5.13
  • 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 cisco.com and type address 192.168.5.12
  • 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!