What is the protocol used to send and receive messages over a network?

The interconnection of systems and computer networks is the foundation of communications today and is designed using multiple communication protocols. For example, there are many protocols when establishing an internet connection and depending on the type that needs to be established, these protocols will vary. Furthermore, communication with the Internet is not the only type of communication when we refer to data transmission and exchange of messages across networks. In all cases, network protocols define the characteristics of the connection.

A protocol is a set of rules: the network protocols are formal standards and policies, made up of restrictions, procedures, and formats, that define the exchange of data packets to achieve communication between two servers or more devices over a network.

Network protocols include mechanisms for device identification and the establishment of connections between them, as well as formatting rules that specify how packets and data are structured in messages that are sent and received. Some protocols support message recognition and data compression, designed for reliable, high-performance network communication.

Types of Network Protocols

The most important protocols for data transmission across the Internet are TCP (Transmission Control Protocol) and IP (Internet Protocol). Using these jointly (TCP/IP), we can link devices that access the network; some other communication protocols associated with the Internet are POP, SMTP and HTTP.

We use these practically every day, although most users don't know it, and don't understand how they work. These protocols allow the transfer of data from our devices so that we can browse websites, send emails, listen to music online, etc.

There are several types of network protocols:

  • Network communication protocols: Basic packet communication protocols such as TCP/IP and HTTP.
  • Network security protocols: they implement security in network communications between servers; includes HTTPS, SSL, and SFTP.
  • Network management protocols: these provide network maintenance and governance, they include SNMP and ICMP.

A group of network protocols that work together at the top and bottom levels are commonly referred to as a protocol family.

The OSI model (Open System Interconnection) conceptually organizes network protocol families into specific network layers. This Open System Interconnection aims to establish a context to base the communication architectures between different systems.

Below we list some of the best known network protocols, according to the layers of the OSI model:

Layer 1 Protocols - Physical Layer

  • USB: Universal Serial Bus
  • Ethernet: Ethernet physical layer
  • DSL: Digital subscriber line
  • Etherloop: Ethernet and DSL combination
  • Infrared: Infrared radiation
  • Frame Relay
  • SDH: Synchronous Digital Hierarchy
  • SONET: Synchronized optical network

Layer 2 Protocols - Data Link

  • DCAP: Data Link Switching Client Access Protocol
  • FDDI: Fiber Data Distribution Interface
  • HDLC: High-level Data Link Control
  • LAPD: Link Access Protocol D-channel
  • PPP: Point-to-Point Protocol
  • STP: Spanning Tree Protocol
  • VTP VLAN: Virtual Trunking Protocol for Virtual LAN
  • MPLS: Multi-Protocol Label Switching

Layer 3 Protocols - Network

  • ARP: Address Resolution Protocol
  • BGP: Border Gateway Protocol
  • ICMP: Internet Control Message Protocol
  • IPv4: Internet Protocol version 4
  • IPv6: Internet Protocol version 6
  • IPX: Internetwork Packet Exchange
  • OSPF: Open Shortest Path First
  • RARP: Reverse Address Resolution Protocol

Layer 4 Protocols - Transport

  • IL: Originally converted as a transport layer for 9P
  • SPX: Sequenced Packet Exchange
  • SCTP: Stream Control Transmission Protocol
  • TCP: Transmission Control Protocol
  • UDP: User Datagram Protocol
  • iSCSI: Internet Small Computer Systems Interface
  • DCCP: Datagram Congestion Control Protocol

Layer 5 Protocols - Session

  • NFS: Network File System 
  • SMB: Server Message Block
  • RPC: Remote Procedure Call
  • SDP: Sockets Direct Protocol 
  • SMB: Server Message Block
  • SMPP: Short Message Point-to-Point 

Layer 6 Protocols - Presentation

  • TLS: Transport Layer Security
  • SSL: Secure Socket Layer
  • XDR: External Data Representation
  • MIME: Multipurpose Internet Mail Extensions

Layer 7 Protocols - Application

  • DHCP: Dynamic Host Configuration Protocol
  • DNS: Domain Name System
  • HTTP: Hypertext Transfer Protocol
  • HTTPS: Hypertext Transfer Protocol Secure
  • POP3: Post Office Protocol 3
  • SMTP: Simple Mail Transfer Protocol
  • Telnet: Telecommunications Network Protocol 

Remember that having a technology partner with the necessary experience and knowledge will help you achieve your business goals. We invite you to visit https://www.kionetworks.com/en/

References

Jithin. Interserver. (2016). Common Network Protocols https://www.interserver.net/tips/kb/common-network-protocols-ports/, accessed in August 2019.

Rouse, Margaret. TechTarget. (undated) Network Protocols https://searchnetworking.techtarget.com/definition/protocol, accessed August 2019.

What's Inside

  • Types of Network Protocols

    There are three main types of network protocols, including network management protocols, network communication protocols and network security protocols.

  • Network Communication Protocols
  • Network Management Protocols
  • Network Security Protocols
  • Which Protocol is Right for You?

    Your business needs and size will determine which protocol you'll need for your network.

Common network protocols, including Transmission Control Protocol (TCP) and Internet Protocol (IP), enable the exchange of information across the internet and work behind the scenes so effectively that many users don't think twice about them or how the internet works. For networking professionals, network protocols are critical to know and understand. But that doesn't make understanding these protocols easy.

To get started, this glossary explores 12 common network protocols all network engineers should be familiar with. This includes the protocols' main functions, as well as why these common network protocols are important.

Address Resolution Protocol. ARP translates IP addresses to Media Access Control (MAC) addresses and vice versa so LAN endpoints can communicate with one another. ARP is necessary because IP and MAC addresses are different lengths: IP version 4 (IPv4) addresses are 32 bits long, IPv6 addresses are 128 bits and MAC addresses -- a device's physical hardware number -- are 12 hexadecimal digits split into six pairs. Translations must occur for proper device communication.

ARP isn't required every time devices attempt to communicate because the LAN's host stores the translated addresses in its ARP cache, so this process is mainly used when new devices join the network.

What is the protocol used to send and receive messages over a network?
Learn how ARP works.

Border Gateway Protocol. BGP makes the internet work. This routing protocol controls how packets pass through routers in an autonomous system (AS) -- one or multiple networks run by a single organization or provider -- and connect to different networks. BGP can connect endpoints on a LAN to one another, and it can connect endpoints in different LANs to one another over the internet.

External BGP directs network traffic from various ASes to the internet and vice versa. Additionally, internal BGP directs network traffic between endpoints within a single AS.

What is the protocol used to send and receive messages over a network?
In this diagram, the blue routers indicate those that run BGP, enabling traffic to travel through a provider's network to the customer, or vice versa.

Domain name system. DNS is a database that includes a website's domain name, which people use to access the website, and its corresponding IP addresses, which devices use to locate the website. DNS translates the domain name into IP addresses, and these translations are included within the DNS. Servers can cache DNS data, which is required to access the websites. DNS also includes the DNS protocol, which is within the IP suite and details the specifications DNS uses to translate and communicate.

DNS is important because it can quickly provide users with information, as well as access to remote hosts and resources across the internet.

Dynamic Host Configuration Protocol. DHCP assigns IP addresses to network endpoints so they can communicate with other network endpoints over IP. Whenever a device joins a network with a DHCP server for the first time, DHCP automatically assigns it a new IP address and continues to do so each time a device moves locations on the network.

When a device connects to a network, a DHCP handshake takes place, where the device and DHCP server communicate. The device establishes a connection; the server receives it and provides available IP addresses; the device requests an IP address; and the server confirms it to complete the process.

What is the protocol used to send and receive messages over a network?
DHCP handshakes occur when a device initially connects to a network.

File Transfer Protocol. FTP is a client-server protocol, with which a client requests a file and the server supplies it. FTP runs over TCP/IP -- a suite of communications protocols -- and requires a command channel and a data channel to communicate and exchange files, respectively. Clients request files through the command channel and receive access to download, edit and copy the file, among other actions, through the data channel.

FTP has grown less popular as most systems began to use HTTP for file sharing. However, FTP is a common network protocol for more private file sharing, such as in banking.

Hypertext Transfer Protocol. Like FTP, HTTP is a file sharing protocol that runs over TCP/IP, although HTTP primarily works over web browsers and is commonly recognizable for most users. When a user enters a website domain and aims to access it, HTTP provides the access. HTTP connects to the domain's server and requests the site's HTML, which is the code that structures and displays the page's design.

Another form of HTTP is HTTPS, which stands for HTTP over Secure Sockets Layer or HTTP Secure. HTTPS can encrypt a user's HTTP requests and webpages. This provides more security to users and can prevent common cybersecurity threats, such as man-in-the-middle attacks.

What is the protocol used to send and receive messages over a network?
This diagram shows how HTTP provides users with access to the various components of a website's domain.

Internet Protocol. IP functions similarly to a postal service. When users send and receive data from their device, the data gets spliced into packets, which are like letters with two IP addresses: one for the sender and one for the recipient. After the packet leaves the sender, it goes to a gateway, like a post office, that directs it in the proper direction. Packets continue to travel through gateways until they reach their destinations.

IP is commonly paired with TCP to form TCP/IP, the overall internet protocol suite. Together, IP sends packets to their destinations, and TCP arranges the packets in the correct order, as IP sometimes sends packets out of order to ensure the packets travel the fastest ways.

Open Shortest Path First. OSPF works with IP in sending packets to their destinations. IP aims to send packets on the quickest route possible, which OSPF is designed to accomplish. OSPF opens the shortest, or quickest, path first for packets. It also updates routing tables -- a set of rules that control where packets travel -- and alerts routers of changes to the routing table or network when a change occurs.

OSPF is similar to and supports Routing Information Protocol -- which directs traffic based on the number of hops it must take along a route -- and it has also replaced RIP in many networks. OSPF was developed as a more streamlined and scalable alternative to RIP. For example, RIP sends updated routing tables out every 30 seconds, while OSPF sends updates only when necessary and makes updates to the particular part of the table where the change occurred.

What is the protocol used to send and receive messages over a network?
RIP helps determine that the path via Router C results in fewer hops to the traffic's destination. RIP and OSPF function similarly to one another.

Simple Mail Transfer Protocol. SMTP is the most popular email protocol, is part of the TCP/IP suite and controls how email clients send users' email messages. Email servers use SMTP to send email messages from the client to the email server to the receiving email server. However, SMTP doesn't control how email clients receive messages -- just how clients send messages.

That said, SMTP requires other protocols to ensure email messages are sent and received properly. SMTP can work with Post Office Protocol 3 or Internet Message Access Protocol, which control how an email server receives email messages.

Telnet. Telnet is designed for remote connectivity, and it establishes connections between a remote endpoint and a host machine to enable a remote session. Telnet prompts the user at the remote endpoint to log on and, once authenticated, gives the endpoint access to network resources and data at the host computer.

Telnet has existed since the 1960s and was arguably the first draft of the modern internet. However, Telnet lacks sophisticated security protections required for modern communications and technology, so it isn't commonly used anymore.

Transmission Control Protocol. TCP is the other half of TCP/IP and arranges packets in order so IP can deliver them. Specifically, TCP numbers individual packets because IP can send packets to their destinations through different routes and get them out of order, so TCP amends this before IP delivers the packets.

TCP also detects errors in the sending process -- including if any packets are missing based on TCP's numbered system -- and requires IP to retransmit those packets before IP delivers the data to its destination. Through this process, the TCP/IP suite controls communication across the internet.

What is the protocol used to send and receive messages over a network?
Discover key differences between common network protocols TCP and UDP.

User Datagram Protocol. UDP is an alternative to TCP and also works with IP to transmit time-sensitive data. UDP enables low-latency data transmissions between internet applications, so this protocol is ideal for voice over IP or other audio and video requirements. Unlike TCP, UDP doesn't wait for all packets to arrive or organize the packets. Instead, UDP transmits all packets even if some haven't arrived.

UDP solely transmits packets, while TCP transmits, organizes and ensures the packets arrive. While UDP works more quickly than TCP, it's also less reliable.