Understanding HTTP and DHCP: A Network Protocol Deep Dive, Assignments of Wireless Networking

An in-depth exploration of HTTP and DHCP protocols. HTTP, or Hypertext Transfer Protocol, is a foundation of data interchange on the Internet, enabling the retrieval of resources such as HTML documents. DHCP, or Dynamic Host Configuration Protocol, is a network protocol used to automatically assign IP addresses to devices. the basics of both protocols, their differences, and their roles in network communication.

Typology: Assignments

2021/2022

Uploaded on 05/24/2022

unknown user
unknown user 🇻🇳

3

(1)

4 documents

1 / 19

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ASSIGNMENT 1
NETWORKING
STUDENT NAME: PHAN HOA AN KHE
STUDENT ID: GCS210040
CLASS: GCS1003A
SUBJECT CODE: 1619
ASSESSOR NAME: NGUYEN XUAN SAM
ASSIGNMENT DUE:
ASSIGNMENT SUBMITTED:
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13

Partial preview of the text

Download Understanding HTTP and DHCP: A Network Protocol Deep Dive and more Assignments Wireless Networking in PDF only on Docsity!

ASSIGNMENT 1

NETWORKING

STUDENT NAME: PHAN HOA AN KHE

STUDENT ID: GCS

CLASS: GCS1003A

SUBJECT CODE: 1619

ASSESSOR NAME: NGUYEN XUAN SAM

ASSIGNMENT DUE:

ASSIGNMENT SUBMITTED:

ASSIGNMENT 1 FRONT SHEET

Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Unit 2: Networking Infrastructure Submission date April 22, 2022 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Phan Hoa An Khe Student ID GCS Class GCS1003A Assessor name Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Grading grid P1 P2 P3 P4 M1 M2 D

● Make sure that you understand and follow the guidelines to avoid plagiarism. Failure to comply this requirement will result in a failed assignment. Unit Learning Outcomes: Assignment question LO1: Short discuss one of the protocols ( STMP , FTP , HTTP, etc. ) and explain how it works by using cisco packet tracer? LO2: Investigate and analyse the selected protocol using Wireshark?

Table of Contents

1. Introduction

1. 1. HTTP:

HTTP (Hypertext Transfer Mechanism) is a protocol for retrieving resources such as HTML documents. It is the foundation of any data interchange on the Internet, and it is a client-server protocol, meaning that requests are started by the recipient, which is commonly the Web browser. Text, layout descriptions, photos, videos, scripts, and other sub-documents are fetched, and a complete document is reconstructed from them. Individual messages are exchanged between clients and servers (as opposed to a stream of data). Requests are messages sent by the client, which is commonly a Web browser, and replies are messages delivered by the server as an answer. HTTP is an extensible protocol that was created in the early 1990s and has grown through time. It's an application layer protocol that's sent over TCP or a TLS-encrypted TCP connection, however it could theoretically be sent over any reliable transport protocol. It is used to not just fetch hypertext articles, but also images and videos, as well as to publish material to servers, such as HTML form results, due to its extensibility. HTTP can also be used to fetch portions of documents in order to dynamically update Web sites. Figure 1 : Internet Network Illustration (source: www.comptia.org)

1. 2. HTTPS:

HTTPS (Hypertext Transfer Protocol Secure) is a Hypertext Transfer Protocol (HTTP) enhancement (HTTP). It is commonly used on the Internet and is used for secure communication over a computer network. TLS (Transport Layer Security) or Secure Sockets Layer (previously Secure Sockets Layer) encrypts the communication protocol in HTTPS (SSL). As a result, the protocol is sometimes known as HTTP over TLS or HTTP via SSL.

HTTPS websites can also be set up for verification, in which the user is identified by a client certificate presented by the web browser. Mutual authentication is beneficial in instances where multi-factor authentication is desirable, such as remote employment, to reduce the danger of phishing or other assaults involving credential theft. Please read this how-to for more information on setting client licenses in web browsers. Figure 2 : HTTPS more secure than HTTP (www.uaedatarecovery.com)

2. Results and discussions about HTTP/ HTTPS by

using Cisco Packet Tracer:

2.1 DNS

The Internet's phonebook is called the Domain Name System (DNS). Domain names are used to access information online. Internet Protocol (IP) addresses allow web browsers to communicate. DNS converts domain names to IP addresses, allowing browsers to access online resources.

dynamic and automatic technique of assigning IP addresses to network devices on a physical network. It provides an automatic mechanism to distribute and update IP addresses and other configuration information over the network, rather than DHCP, which is a dynamic IP address.

2. 3. Discussions

Figure 3: Server Setup In the first stage, I'll set up 6 computers, 2 routers, 2 switches, and 4 servers. These servers have been assigned names so that I can distinguish them. The DHCP1 and DHCP2 servers will be located below, while the DNS and HTTP servers will be located above. As shown in the diagram, I used the power cord to connect the PCs to the switch and the switch to the router.

Figure 4 : Web Server This step is important because I'm using LAN in this article, so I chosePT- Router-NM-1CFE. As you can see from the line below, this is an ideal LAN environment. To be able to add PT-Router-NM-1CFE to the router 1, we must first turn it off and then turn it back on. I was able to connect servers to their appropriate locations in this stage, utilizing the power cord to link two DHCP servers to two switches and the HTTP and DNS server to the router

I started resetting the Default Gateway and DNS for it and eventually got it to work. This will create computers that can obtain IP addresses from the server that delivers them.

Figure 7 : DCHP Server A IP Address Figure 8 : DCHP Server B IP Address

2. 4. Results

Figure 9 : Domain Setup Change the web access address to match the IP address in this step by going to Service - > DNS. After all, I set up DNS to allow PCs to reach the site by typing "www.ankhecybersersecurity.com" rather than the IP address. In the HTTP server's Service panel, I'll then select HTTP. Everything I have access to on the internet can be modified with a few clicks. After inserting 192.168.1.2, DNS Server 192.168.1.1, and the subnet mask will select itself. It should look like this after inserting 192.168.1.2, DNS Server 192.168.1.1, and it should look like this after inserting 192.168.1.2, DNS Server 192.168.1.1. Finally, go to the URL field and type the name or the server IP that you just provided in the fourth step.

To begin, use the Wireshark program and record the process of visiting the website at http://icanhazip.com/. Figure 11 : Capturing and anlysing the data packet Figure 12 : Filtering and catching the data packet

The following is a short explanation of how this procedure works: Following DNS analysis to retrieve the IP address from the icanhazip.com website, the computer establishes a TCP connection to the icanhazip.com website. Wireshark allows us to view in detail how a website's access process works. Figure 13 : Waiting the data packet response From basic to detailed information, such as destination, source, ethernet type (IPv4), TCP, port, HTTP, and etc, may be seen quickly. In Wireshark, we may employ the HTTP stream or TCP Stream functions to view this process in further detail.

References

CompTIA (2019). Network Protocol Definition | Computer Protocol | CompTIA. [online] Available at: https://www.comptia.org/content/guides/what-is-a-network-protocol. [Accessed 20 April 2022] mozilla (2019). An overview of HTTP. [online] MDN Web Docs. Available at: https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview [Accessed 20 April 2022] Cloudflare (2019). Cloudflare. [online] Cloudflare. Available at: https://www.cloudflare.com/learning/dns/what-is-dns/ [Accessed 2 4 April 2022] Microsoft (2019). Dynamic Host Configuration Protocol (DHCP). [online] Microsoft.com. Available at: https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-top. [Accessed 2 4 April 2022] www.tutorialspoint.com. ( 2019 ). HTTP - Responses - Tutorialspoint. [online] Availableat: https://www.tutorialspoint.com/http/http_responses.htm#:~:text=After%20receiving%20and% interpreting%20a. [Accessed 2 4 April 2022]