How to Configure DHCP, DNS, HTTP Servers in Cisco Packet Tracer Along with Switches

Servers are the basic and essential components of a successful organization. Because all the data which are gathered by an organization can be stored only on a Server. So if you want to join any company or organization using your networking skills then this is the basic need that you can be able to configure Servers. Such as DHCP Server, DNS Server, Http Server, NTP Server, Syslog Server, and other required servers. But at first, we all need to know about how the server works, why we use servers, and why we do not use papers instead of Servers for data storing process in an organization.

It is very difficult to store all the data of an organization and company on the papers because it takes to much time and it also has some major disadvantages like the life of a paper is lesser than the online data storage. We can also be able to make a backup of all the data when it is stored on a Server while on papers it is not possible. So we use Servers in the organizations and these types of organizations need employees who can perfectly do this job.

Here in this article, we learn about How to Configure Servers such as DHCP, DNS, HTTP Server along with Switches. To do so, first of all, we need to know some basic information about the Switches, DHCP Servers, DNS Servers, HTTP Servers. So we can easily understand their Configuration or Working process with ease.

We learn all of the configuration using a lab which is performed on Cisco Packet Tracer. You can also use GNS3 for the same purpose if you are not familiar with the Cisco Packet Tracer. For understanding this Concept we take a lab in Cisco Packet Tracer as well as in GNS3 according to your comfort. In this lab, we take Switches and different types of Servers. So, first of all, we learn some basics about Switches and Servers after that you can be able to understand this configuration with ease.

configure servers along with switches

In this lab, we use switches, DHCP server, DNS server, HTTP server, and PC. Here I will tell you about some basic concepts of these components in detail.

Do you Know: – How to create a Virtual Hard Disk on Windows PC

1. Switch:- Switch is a networking device that is used for connecting a large number of systems or PCs with each other on the same network. In other words, we can say that a Network Switch is a Computer Networking device that is used for connects devices together with each other on the same network. Switch Provides a platform to us through which we can easily send and receive data between two systems.

2. DHCP Server:- The DHCP (Dynamic Host Configuration Protocol) is a network protocol used to assign IP automatically to the systems with the help of a machine called DHCP server. A DHCP Server allows computers to request an IP address and networking parameters automatically. If you do not have a DHCP Server to configure IP addresses automatically to the PCs then you need to assign a static or manual IP address on the Computers. So in simple words, we can say that DHCP Server is only used for assigning the IP addresses to the Systems automatically.

3.DNS Server:- DNS (Domain Name Server) is a server that is used to assign names to the domain IP’S. It is really hard to remember the IP of any site so DNS server converts that number into a name and we have to type just only the name of the site to search it on the internet. So in simple words, we can say that DNS Server allows us to do a search on the Internet using a specific name instead of it’s IP address. So we can easily remember it for future use and reach it without having difficulties.

4.HTTP Server:- A HTTP (Hypertext Transfer Text Protocol) Server AKA web server is the Server that shows web pages on the request of clients. Its main function is to store web pages. In simple words, we can say that the HTTP Server is a platform that provides a medium to make communication between Server and Clients. Generally, HTTP Server delivered HTML Documents, Stylesheets, Scripts and images, etc.

Now to understand this lab we take a lab in Cisco Packet Tracer. In which we take Switches, DNS Server, PCs, DHCP Server, HTTP Server, and Connecting Wires. So, let’s start here how to configure Servers along with Switches.

dhcp server

Also Read: – Benefits of learn Networking and making career in the field of Networking

Step 1: – Now, first of all, we configure DHCP Server so we can assign the automatic IP address on all other systems. To do so go to the DHCP server and open it. Now in the desktop menu go to IP configuration and assign IP statically to the server and also gives the DNS Server address as The figure is shown below

static ip

Step 2: – Now to make this Server as DHCP Server we need to enable DHCP service on this Server. To do so go to its services menu and select DHCP in which fill the entries as your requirement and turn on the DHCP server by choosing the ON option from it. The figure is shown below

dhcp server

Now the work on the DHCP server is completed and DHCP Service is configured successfully. Now this Server is able to provide an IP address to the systems which are connected to this network.

Step 3: – Now in next step we configure DNS Server so we can provide a medium in between HTTP Server and clients. To do so, first of all, select the DNS server after that in the desktop menu click on the IP configuration option and then change the IP Configuration method from Static to DHCP. Now you can observe that it will request for an IP address from DHCP Server and an IP address is given automatically to the DNS server. The figure is shown below

ip assigning by dhcp

Step 4: – Now we configure DNS Services on this Server so we can provide a platform to make communication between Serves and clients. To do so go to services and select DNS then give the name and IP address of the HTTP Server as given below and click on the add button to add these entries in DNS Server. After that turn ON DNS Services on this Server.

dns server

Step 5: – Now to configure HTTP server on the next machine similarly as DNS server and DHCP Server. First of all, assign an IP address to it by using the DHCP server as given in step 4 and then go to HTTP in the services menu and create a page or edit a page that will be shown on the browser.

Step 6: – Now all the servers are configured. So, now we assign the IP address to the PCs using DHCP Server as given above. Now in a browser type the name of our page and as a result, our page will appear there on the screen. This is done because the client’s request, first of all, goes to the DNS server where it directs it to the HTTP server and then webpage loads from HTTP server to our computer using the name instead of IP address.

computer browser page


These are the steps by which you can easily configure DHCP Server, HTTP Server, and DNS Server with ease along with switches. If you have any queries regarding this then simply solved out your queries through the comment section and also provide feedback to us. Because your feedback is valuable to us. Also, follow our blog for further updates and stay updated.
If you want to know this process in video format then click on given below link

You may also like...

2 Responses

  1. Amelia says:

    Okay… but what if you don’t have a server….?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: