How to Configure DHCP, DNS, HTTP Servers in Cisco Packet Tracer Along with Switches
Servers are the basic and essential component 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 type 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 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 type 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.
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 which 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 in 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 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 which 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 to 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 HTTP Server is a platform which provides a medium to make communication in 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.
Step 1: – Now firstly we configure DHCP Server so we can assign automatic IP address on all other systems. To do so go to 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 22.214.171.124. The figure is shown below
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. The figure is shown below
Now the work on the DHCP server is completed and DHCP Service is configured successfully. Now this Server is able to provide 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 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
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 add button to add these entries in DNS Server. After that turn ON DNS Services on this Server.
Step 5: – Now to configure HTTP server on next machine similarly as DNS server and DHCP Server. First of all, assign an IP address to it by using DHCP server as given in step 4 and then go to HTTP in services menu and create a page or edit a page which 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 google.com and as a result, our page will appear there. This is done because the clients 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.
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.