Protocol
Protocol
Standardized protocols are like a common language that computers can use, similar to how
two people from different parts of the world may not understand each other's native
languages, but they can communicate using a shared third language. If one computer uses
the Internet Protocol (IP) and a second computer does as well, they will be able to
communicate — just as the United Nations relies on its 6 official languages to
communicate amongst representatives from all over the globe. But if one computer uses IP
and the other does not know this protocol, they will be unable to communicate.
On the Internet, there are different protocols for different types of processes.
Protocols are often discussed in terms of which OSI model layer they belong to.
Protocols make these networking functions possible. For instance, the Internet Protocol
(IP) is responsible for routing data by indicating where data packets* come from and what
their destination is. IP makes network-to-network communications possible. Hence, IP is
considered a network layer (layer 3) protocol.
1
CCNA VOICE
As another example, the Transmission Control Protocol (TCP) ensures that the
transportation of packets of data across networks goes smoothly. Therefore, TCP is
considered a transport layer (layer 4) protocol.
*A packet is a small segment of data; all data sent over a network is divided into
packets.
ICMP: The Internet Control Message Protocol (ICMP) reports errors and provides status
updates. For example, if a router is unable to deliver a packet, it will send an ICMP
message back to the packet's source.
2
CCNA VOICE
TCP: As described above, TCP is a transport layer protocol that ensures reliable data
delivery. TCP is meant to be used with IP, and the two protocols are often referenced
together as TCP/IP.
HTTP: The Hypertext Transfer Protocol (HTTP) is the foundation of the World Wide Web, the
Internet that most users interact with. It is used for transferring data between devices.
HTTP belongs to the application layer (layer 7), because it puts data into a format that
applications (e.g. a browser) can use directly, without further interpretation. The lower
layers of the OSI model are handled by a computer's operating system, not applications.
HTTPS: The problem with HTTP is that it is not encrypted — any attacker who intercepts an
HTTP message can read it. HTTPS (HTTP Secure) corrects this by encrypting HTTP messages.
TLS/SSL: Transport Layer Security (TLS) is the protocol HTTPS uses for encryption. TLS
used to be called Secure Sockets Layer (SSL).
UDP: The User Datagram Protocol (UDP) is a faster but less reliable alternative to TCP at
the transport layer. It is often used in services like video streaming and gaming, where
fast data delivery is paramount.
3
CCNA VOICE
OSPF: The Open Shortest Path First (OSPF) protocol calculates the most efficient network
routes based on a variety of factors, including distance and bandwidth.
RIP: The Routing Information Protocol (RIP) is an older routing protocol that identifies
distances between routers. RIP is an application layer protocol.
Cloudflare offers a number of solutions for stopping these and other cyber
attacks. Cloudflare Magic Transit is able to mitigate attacks at layers 3, 4, and 7 of
the OSI model. In the example case of a SYN flood attack, Cloudflare handles the TCP
handshake process on the server's behalf so that the server's resources never become
overwhelmed by open TCP connections.
Pre-requisites: Network Protocol
1. Communication
2. Management
3. Security
1. Communication
Communication protocols are really important for the functioning of a network.
They are so crucial that it is not possible to have computer networks without
them. These protocols formally set out the rules and formats through which data is
transferred. These protocols handle syntax, semantics, error detection,
synchronization, and authentication.
5
CCNA VOICE
5. ARP: ARP is a protocol that helps in mapping Logical addresses to the
Physical addresses acknowledged in a local network. For mapping and
maintaining a correlation between these logical and physical addresses a
table known as ARP cache is used.
6. IP: It is a protocol through which data is sent from one host to another
over the internet. It is used for addressing and routing data packets so
that they can reach their destination.
7. DHCP: it’s a protocol for network management and it’s used for the method
of automating the process of configuring devices on IP networks. A DHCP
server automatically assigns an IP address and various other
configurational changes to devices on a network so they can communicate
with other IP networks. it also allows devices to use various services such
as NTP, DNS, or any other protocol based on TCP or UDP.
2. Management
These protocols assist in describing the procedures and policies that are used in
monitoring, maintaining, and managing the computer network. These protocols also
help in communicating these requirements across the network to ensure stable
communication. Network management protocols can also be used for troubleshooting
connections between a host and a client.
6
CCNA VOICE
3. Gopher: It is a type of file retrieval protocol that provides downloadable
files with some description for easy management, retrieving, and searching
of files. All the files are arranged on a remote computer in a stratified
manner. It is an old protocol and it is not much used nowadays.
4. FTP: FTP is a Client/server protocol that is used for moving files to or
from a host computer, it allows users to download files, programs, web
pages, and other things that are available on other services.
5. POP3: It is a protocol that a local mail client uses to get email messages
from a remote email server over a TCP/IP connection. Email servers hosted
by ISPs also use the POP3 protocol to hold and receive emails intended for
their users. Eventually, these users will use email client software to look
at their mailbox on the remote server and to download their emails. After
the email client downloads the emails, they are generally deleted from the
servers.
6. Telnet: It is a protocol that allows the user to connect to a remote
computer program and to use it i.e., it is designed for remote
connectivity. Telnet creates a connection between a host machine and a
remote endpoint to enable a remote session.
3. Security
These protocols secure the data in passage over a network. These protocols also
determine how the network secures data from any unauthorized attempts to extract
or review data. These protocols make sure that no unauthorized devices, users, or
services can access the network data. Primarily, these protocols depend on
encryption to secure data.
7
CCNA VOICE
2. HTTPS: It is the secured version of HTTP; this protocol ensures secure
communication between two computers where one sends the request through the
browser and the other fetches the data from the web server.
3. TLS: It is a security protocol designed for data security and privacy over
the internet, its functionality is encryption, checking the integrity of
data i.e., whether it has been tampered with or not, and Authentication. It
is generally used for encrypted communication between servers and web apps,
like a web browser loading a website, it can also be used for encryption of
messages, emails, and VoIP.