In this tutorial we will learn about how to configure DHCP, DNS, HTTP servers along with switches. We will learn this configuration by a lab in Cisco packet tracer and try to understand the working of servers, but before stating this lab we also learn basics of servers and switches like why we use servers and why we need servers in our daily life. So, before starting the lab we will learn about the uses and importance of servers and switches and we also learn the impact of servers in our daily life.
In this lab we use switches, DHCP server, DNS server, HTTP server and PC. Here I will tell you about some basic concept of these components in detail.
1. Switch: – A network switch is a computer networking device that connects devices together on the same network. In other words, we also say that the switch is a networking device which connect a large number of systems on the same network. A switch is a medium through we send and receive data packet from one system to another in a same network. If you want to connect systems from the different networks in that case switch is useless in that situation we use a router to connect systems from different networks.
2. DHCP server: – The DHCP (dynamic host configuration protocol) is a standardized network protocol which is used on internet protocol (IP) networks. DHCP is used to assign IP automatically to the system with the help of a machine called DHCP server. A DHCP server enables computers to request IP addresses and networking parameters automatically. In the absence of a DHCP server, each computer on the network needs to statically (manually) assigned to an IP address.
3. DNS server: – DNS (domain name server) is a server which is used to assign names to an IP address. It allows you to connect to any website or network by simple names instead of their IP address. It is really very hard to memorization of IP addresses of any website and network so here DNS help us by convert the number into a name. Now we just type only name instead of IP of any website and network to search it on the internet.
4. HTTP server: – HTTP (hypertext Transfer Protocol) is a medium which is used to make communication in between client and server. The primary function of a HTTP server is to store, process and deliver web pages to clients. Pages delivered are most frequently HTML documents, which may include images, style sheet and scripts in addition to text content.
Now we configure servers in Cisco packet tracer by using a lab in it.
Step 1: – First of all we go to the DHCP server and click on it to open it. Then a screen will be open in it, we will click on the desktop option and then click on IP configuration to provide IP address statically to the DHCP server and also give the IP address of the DNS server in the column of DNS server. The figure shown below
Step 2: – After that now choose the service option in it to make that server as a DHCP server and it is able to provide an IP address automatically to the other systems. In it, we fill all entries on this server and choose ON option in it as given below to turn on DHCP server.
Now your DHCP server is configured successfully. The work on DHCP server will be done completely. Now this machine is able to provide IP addresses to other systems which is connected to that network.
Step 3: – Now we configure DNS server by clicking on it. After clicking on the DNS server we click on the desktop option and then click on IP configuration option to provide IP address to the DNS server. In IP configuration option we change it from static to DHCP. Now it has taken IP address automatically from the DHCP server. The figure given below
Step 4: – Now before make this machine a DNS server, we go to HTTP server and provide IP address to it by using DHCP server similarly as DNS server and then after that click on services option to make this machine as an HTTP server. In services we choose HTTP from the left sidebar and now there create a page or edit a page which you want to see in your web browser.
Step 4: – After that we again, click on DNS server and then select DNS option from the right sidebar in it and click on it to configure this machine as a DNS server. In it, we give the name and IP address of the HTTP server and then click on add option in it to provide a name to IP address of the HTTP server which helps us to open that web page by name instead of IP address of the HTTP server and generally name will be easy to memorize by us. After that we choose ON option to start DNS server. The figure shown below
Now all servers are configured by us and Now we move on PCs to provide IP address to them by using a DHCP server. All set now.
After that we will go to any PC on that network and then go to the web browser and we type name of our page google.com in it which is given in the DNS server by us to open it in our system browser. The figure shown below
And now outcome will be appeared in the form of our page which is made by us in HTTP server. It indicates that all servers are working properly because the messages go to DNS server where it directs it to the http server and the webpage google.com loads from HTTP server to our computer screen.
That’s It all servers and PCs working properly and communicate each other if you have any problem regarding this lab contact me otherwise comment below your query I will help you.
If you want to know this process in video format then click on given below link and go to my youtube channel Technohelper24 com