Open main menu

Wikibooks β

Objective 1.1: Common Protocols

< Network Plus Certification‎ | Technologies
Network Technologies
Objective 1.1: Common Protocols
»
Objective 1.2: Common Ports


Objective 1.1: Explain the function of common networking protocols

In computing, a protocol is a convention or standard that controls or enables the connection, communication, and data transfer between computing endpoints. In its simplest form, a protocol can be defined as the rules governing the syntax, semantics, and synchronization of communication. Protocols may be implemented by hardware, software, or a combination of the two. At the lowest level, a protocol defines the behavior of a hardware connection.

While protocols can vary greatly in purpose and sophistication, most specify one or more of the following properties:

  • Detection of the underlying physical connection (wired or wireless), or the existence of the other endpoint or node
  • Handshaking (dynamically setting parameters of a communications channel)
  • Negotiation of various connection characteristics
  • How to start and end a message
  • How to format a message
  • What to do with corrupted or improperly formatted messages (error correction)
  • How to detect unexpected loss of the connection, and what to do next
  • Termination of the session and or connection.

Contents

TCP/IP (Transmission Control Protocol/Internet Protocol) suiteEdit

The Internet Protocol Suite (commonly known as TCP/IP) is the set of communications protocols used for the Internet and other similar networks. The Internet Protocol Suite, like many protocol suites, may be viewed as a set of layers. Each layer solves a set of problems involving the transmission of data, and provides a well-defined service to the upper layer protocols based on using services from some lower layers. Upper layers are logically closer to the user and deal with more abstract data, relying on lower layer protocols to translate data into forms that can eventually be physically transmitted. The TCP/IP model consists of four layers. From lowest to highest, these are the Link Layer, the Internet Layer, the Transport Layer, and the Application Layer.

Some have attempted to map the Internet Protocol model onto the seven-layer OSI Model. The mapping results in the TCP/IP Link Layer corresponding to the OSI Data Link and Physical layers in terms of functionality. The Internet Layer is usually directly mapped to the OSI's Network Layer. At the top of the hierarchy, the Transport Layer is always mapped directly into the OSI Layer 4 of the same name. OSI's Application Layer, Presentation Layer, and Session Layer are collapsed into TCP/IP's Application Layer.

The following table provides some examples of the protocols grouped in their respective layers. See the below sections for details on each protocol.

Application DNS, TFTP, TLS/SSL, FTP, HTTP, IMAP4, POP3, SIP, SMTP, SNMP, SSH, Telnet, RTP
Transport TCP, UDP
Internet IP (IPv4, IPv6), ICMP, IGMP
Link ARP

ARP (Address Resolution Protocol)Edit

The Address Resolution Protocol (ARP) is a communications protocol used for resolution of Internet layer addresses into link layer addresses, a critical function in the Internet protocol suite. ARP was defined by RFC 826 in 1982, and is Internet Standard STD 37. ARP is also the name of the program for manipulating these addresses in most operating systems.

ARP is used for mapping a network address (e.g. an IPv4 address) to a physical address like an Ethernet address (also named a MAC address). ARP has been implemented with many combinations of network and data link layer technologies, like IPv4, Chaosnet, DECnet and Xerox PARC Universal Packet (PUP) using IEEE 802 standards, FDDI, X.25, Frame Relay and Asynchronous Transfer Mode (ATM). IPv4 over IEEE 802.3 and IEEE 802.11 is the most common usage.

In Internet Protocol Version 6 (IPv6) networks, the functionality of ARP is provided by the Neighbor Discovery Protocol (NDP).

DHCP (Dynamic Host Configuration Protocol)Edit

This is a protocol that is used to assist users to configure multiple network devices from a single source. This protocol is used to assist user to configure multiple network.

DNS (Domain Name System)Edit

This is a protocol that assists the users by helping to link between common usernames/works to an IP address and back, e.g. instead of cramming the IP address for Wikibooks the user can easily type https://www.wikibooks.org to be able to access the content from there.

FTP (File Transfer Protocol)Edit

FTP is a standard internet protocol for transmitting files between computers on the internet over TCP/IP connections. It is a client server protocol that relies on two communications channels between client and server; a command channel for controlling the conversation and a data channel for transmitting files content. Clients initiate conversations with servers by requesting to download a file.

FTP sessions work in a passive and active mode, after a client initiates a session via a command channel request, the server initiates a data connection back to the client and begins transferring data. In passive mode the server instead uses the command channel to send the client the information it needs to open a data channel. It works across firewalls and network Address Translation (NAT) gateways

HTTP (Hyper Text Transfer Protocol)Edit

This was the initial protocol that were used to access web content, because of its security vulnerabilities it was replaced by HTTPS.

HTTPS (Hypertext Transfer Protocol Secure)Edit

This is the secure version of HTTP that is now commonly used to access website content.

ICMP (Internet Control Message Protocol)Edit

IGMP (Internet Group Management Protocol)Edit

IMAP4 (Internet Message Access Protocol version 4)Edit

NTP (Network Time Protocol)Edit

POP3 (Post Office Protocol version 3)Edit

RTP (Real-time Transport Protocol) - VoIP (Voice over Internet Protocol)Edit

SIP (Session Initiation Protocol) - VoIP (Voice over Internet Protocol)Edit

SMTP (Simple Mail Transfer Protocol)Edit

This is the protocol that is used to send and receive emails between users.

SNMP2/3 (Simple Network Management Protocol version 2 or 3)Edit

SSH (Secure Shell)Edit

TCP (Transmission Control Protocol)Edit

TelnetEdit

TFTP (Trivial File Transfer Protocol)Edit

TLS (Transport Layer Security)Edit

UDP (User Datagram Protocol)Edit

Network Technologies
Objective 1.1: Common Protocols
»
Objective 1.2: Common Ports