Networking Protocols and Models
Protocols and Network Models
Networking depends on two foundational ideas: protocols and models. Protocols explain the rules devices follow when communicating. Models organize those rules into layers so that network communication can be understood, designed, and troubleshot.
A network is not simply a collection of connected computers. The devices must also agree on how to communicate. Without that agreement, a physical connection alone would not guarantee successful communication.
Understanding Protocols
In everyday language, a protocol is an agreed set of rules that governs behavior or communication. For example, before a class meeting begins, participants may agree on the meeting days, starting time, ending time, speaking order, and topics to discuss. These agreements create order.
In networking, a protocol has the same basic purpose:
A protocol is a set of rules that governs communication between devices.
The rules determine how devices identify one another, format information, send and receive messages, respond to errors, and determine whether communication has succeeded.
If two people speak without agreeing on a language, turn-taking, or the meaning of important words, their conversation may fail. Similarly, two computers cannot communicate successfully unless they follow compatible networking protocols.
Why Protocols Are Necessary
Every communication process needs organization. If there were no protocols, a device would not know:
- Who the intended recipient is
- How the message should be formatted
- When the message begins or ends
- How quickly data should be sent
- What to do if part of the message is lost
- How to determine whether the message arrived correctly
- How to respond to the sender
Protocols provide the common expectations that allow communication to happen predictably.
This applies to both local networks and communication across the internet. The devices may be separated by a room, a building, or many networks across the world, but they still need compatible rules for communication.
The Basic Elements of Communication
A communication process has three fundamental elements:
- Sender — the device or person transmitting information
- Receiver — the device or person intended to receive the information
- Channel or medium — the path used to carry the communication
For example, when one computer sends a message to another computer:
- The first computer is the sender.
- The second computer is the receiver.
- A cable, fiber connection, radio signal, or wireless link is the medium.
The medium may be wired or wireless. However, these three elements by themselves are not enough. The sender and receiver must also use compatible protocols.
Think About It
If two computers are physically connected but use incompatible communication rules, what part of the communication process is missing?
Different Activities Use Different Protocols
There is not one single protocol for every networking activity. Different types of communication require different rules.
For example:
- HTTP, or Hypertext Transfer Protocol, governs ordinary web communication.
- HTTPS, or Hypertext Transfer Protocol Secure, provides web communication with security protections.
- SMTP, or Simple Mail Transfer Protocol, is used primarily to send email.
- POP3, or Post Office Protocol version 3, is one protocol used to retrieve email.
- FTP, or File Transfer Protocol, supports file transfers such as uploading and downloading.
- Telnet supports remote login but does not provide the security expected in modern networks.
- SSH, or Secure Shell, supports secure remote login and is preferred for protected administrative access.
- DNS, or Domain Name System, translates human-readable domain names into IP addresses.
- DHCP, or Dynamic Host Configuration Protocol, helps devices obtain network configuration information such as an IP address.
When a person types a website name into a browser, the person does not normally choose each protocol manually. The software uses the appropriate protocols behind the scenes.
For example, a browser may use DNS to find the IP address associated with a domain name, HTTPS to request a web resource, TCP to provide reliable transport, IP to deliver the packet across networks, and Ethernet or wireless networking to move the data across a local connection.
Names and IP Addresses
People commonly identify websites by names such as a domain name. Computers, however, use numerical IP addresses to identify network destinations.
DNS performs the translation between these two forms of identification:
- The user or application supplies a domain name.
- DNS finds the corresponding IP address.
- The computer uses the IP address to communicate with the destination.
The domain name is easier for people to remember, while the IP address is used by network devices to locate the destination.
Network Protocols
A network protocol is a protocol specifically concerned with communication across networks. Network protocols define a common set of rules that devices can implement in:
- Software
- Hardware
- Both hardware and software
Networking software includes the protocols and services built into operating systems and network operating systems. Networking hardware includes components such as network interface cards, switches, routers, and wireless equipment that support communication according to agreed rules.
For example, before a laptop can browse the internet, several things must occur:
- The laptop must connect to a physical network or wireless network.
- Its networking components must be active.
- The laptop must receive or use an IP address.
- The device must be able to communicate through the local network.
- The necessary higher-level protocols must operate to support activities such as browsing, file transfer, or email.
The user sees only the result—such as a webpage loading—but many protocols are working underneath.
Protocol Functions, Formats, and Rules
Every protocol has its own:
- Function — the task the protocol performs
- Format — the structure used to organize the information
- Rules — the procedures devices follow during communication
The function explains why the protocol exists. The format explains how the information is arranged. The rules explain how devices behave while using it.
For example, a protocol may define where the source and destination addresses appear in a message, how large the message can be, how a response should be sent, and what happens when an error occurs.
A protocol’s rules depend on the type of communication. The rules for transferring a file are not identical to the rules for sending an email or retrieving a webpage.
Important Functions Governed by Protocols
When a device sends data across a network, many devices and processes may be involved. The protocols used along the path must provide common rules for the entire communication.
Important protocol functions include the following.
Addressing
Addressing identifies the source and destination of communication. A message must contain enough information for devices to determine where it came from and where it should go.
At the network layer, IP addressing helps identify network destinations. At the data link layer, hardware addresses such as MAC addresses help deliver frames across a local network.
Routing
Routing is the process of selecting a path for data to travel from its source to its destination.
Routers use a routing table, which contains information about reachable networks and possible paths. When a router receives a packet, it examines the destination IP address and uses the routing table to decide where to send the packet next.
The packet may travel through several routers before reaching its destination. Each router makes a forwarding decision based on its available information and configured rules.
Reliability
Reliability concerns whether data reaches the destination correctly and completely. Some protocols include mechanisms for acknowledging received data, retransmitting missing data, or detecting communication failures.
Not every protocol provides the same level of reliability. Some protocols prioritize speed and simplicity, while others include more control mechanisms.
Flow Control
Flow control regulates the rate at which data is sent. A sender may be able to transmit data faster than the receiver can process it. If the sender transmits too quickly, the receiver’s buffers may become full and data may be lost.
Flow-control mechanisms allow the receiver to influence the sending rate so that communication remains manageable.
Sequencing
Sequencing gives pieces of data an order. A large message may be divided into smaller portions before transmission. Sequence information allows the receiver to determine the correct order and reconstruct the original message.
Without sequencing, pieces that arrive out of order could be assembled incorrectly.
Error Detection
Error detection determines whether data was damaged or changed during transmission. Electrical interference, weak signals, hardware faults, or other problems can corrupt data.
Protocols may add information that allows the receiver to check whether the message is still valid. If corruption is detected, the protocol may discard the damaged data or request another copy, depending on the protocol’s design.
Application Interface
Protocols also define how network services interact with applications. An application such as a web browser needs a consistent way to request and receive network resources.
Application-layer protocols provide the rules that allow applications on different devices to communicate, even when the devices use different hardware or operating systems.
Think About It
Why would a large message need both sequencing and error detection? Sequencing reconstructs order, while error detection determines whether the pieces arrived without corruption.
Protocol Interaction
A network activity often requires several protocols working together. This cooperation is called protocol interaction.
Consider a web request. HTTP or HTTPS handles the web-related communication, but it cannot deliver the message by itself. It depends on lower-level protocols:
- HTTP or HTTPS handles the web request.
- TCP provides transport services, such as reliable delivery.
- IP provides logical addressing and delivery between networks.
- Ethernet or wireless networking moves the data across the local connection.
These protocols do not operate as isolated events. They work together as part of one communication process.
A useful simplified relationship is:
HTTP or HTTPS relies on TCP, TCP relies on IP, and IP relies on Ethernet or another network-access technology.
If IP is not functioning, TCP cannot deliver data between networks. If TCP is unavailable when the application requires TCP, HTTP cannot operate properly. If the local Ethernet or wireless connection fails, IP packets cannot leave the device through that connection.
The protocols therefore perform different jobs while cooperating to complete one task.
Protocol Suites
A protocol suite is a group of related protocols designed to work together to perform communication functions.
The word suite emphasizes that networking requires multiple coordinated protocols rather than one universal rule set. A protocol suite may include protocols for:
- Applications
- Transport
- Network addressing and routing
- Local delivery
- Error reporting
- Name resolution
- Configuration
The TCP/IP suite is the major protocol suite used by modern networks and the internet. It includes protocols operating at different layers, each contributing a particular function.
Protocol interaction and protocol suite describe closely related ideas:
- Protocol interaction focuses on protocols working together.
- Protocol suite focuses on the organized group of related protocols.
Some protocols are described as upper-layer protocols, because they are closer to applications and user services. Others are described as lower-layer protocols, because they handle transport, addressing, framing, signaling, and physical transmission.
Reference Models and Layering
As networking became more complex, it became difficult to explain all communication as one undivided process. Designers therefore organized networking functions into layers.
A reference model is a conceptual framework that divides network communication into organized layers. Each layer has a particular responsibility and interacts with the layers above and below it.
Layering is useful because it:
- Breaks a complex process into smaller parts
- Helps explain how data moves from one device to another
- Allows different technologies to perform separate functions
- Supports standardization
- Helps manufacturers design compatible products
- Helps network professionals troubleshoot problems
The two important reference models in this material are the OSI model and the TCP/IP model.
The OSI Reference Model
The OSI model, or Open Systems Interconnection model, divides network communication into seven layers:
- Application
- Presentation
- Session
- Transport
- Network
- Data Link
- Physical
The model is primarily a framework for understanding how communication works. It shows what happens to data as it moves through the network.
Layer 7: Application
The Application layer is closest to the end user and the network applications. When a person uses a browser, email program, or another network application, that activity is associated with the Application layer.
Protocols commonly associated with this layer include HTTP, HTTPS, DNS, FTP, SMTP, and DHCP.
The Application layer does not mean the entire application itself. Rather, it refers to the network services and protocols that allow applications to communicate.
Layer 6: Presentation
The Presentation layer is concerned with how data is represented. It can be understood as the layer responsible for ensuring that information is in a form the receiving system can interpret.
In the simplified explanation provided here, data remains referred to as data at the Presentation layer.
Layer 5: Session
The Session layer manages communication sessions between systems. A session is an organized exchange of communication between two endpoints.
It helps establish, manage, and coordinate the conversation between applications. Data is still generally referred to as data at this layer.
Layer 4: Transport
The Transport layer provides communication between applications on different devices. It can divide larger messages into smaller units and support functions such as reliability, flow control, and sequencing.
At this layer, the data unit is commonly called a segment when TCP is being used.
TCP and UDP are important Transport-layer protocols:
- TCP is connection-oriented and supports reliable, ordered delivery.
- UDP is connectionless and provides a simpler transport service with less overhead.
The choice between them depends on the needs of the communication.
Layer 3: Network
The Network layer is responsible for logical addressing and routing between networks. IP operates at this layer.
At the Network layer, the data unit is called a packet. The packet contains information such as source and destination IP addresses, allowing routers to forward it toward the destination.
Layer 2: Data Link
The Data Link layer manages communication across a directly connected network link. It organizes packets into frames and uses hardware addressing for local delivery.
At this layer, the data unit is called a frame. Ethernet and the Address Resolution Protocol are associated with functions at this level, although ARP supports communication between IP addressing and local hardware addressing.
A MAC address is a hardware address associated with a network interface. It is used for local network delivery.
Layer 1: Physical
The Physical layer transmits the actual signals across the medium. This includes the physical aspects of cables, connectors, radio signals, and other transmission methods.
At this layer, the data becomes bits, represented as binary values: zeros and ones.
The Physical layer is the foundation of network communication. If cables, connectors, wireless signals, or other physical components fail, higher layers cannot function correctly.
Think About It
Why does the OSI model place the Physical layer at the bottom? Every higher-level communication process eventually depends on signals being transmitted through a physical or wireless medium.
Encapsulation and De-encapsulation
When data travels from an application to the network, it passes downward through the OSI layers. At each relevant layer, additional control information may be added.
This process is called encapsulation.
A simplified progression is:
- Application, Presentation, and Session layers: data
- Transport layer: segment
- Network layer: packet
- Data Link layer: frame
- Physical layer: bits
The original application message is not replaced at each layer. Instead, each layer adds information needed for its own task. For example, the Transport layer may add information for sequencing or reliability, while the Network layer adds source and destination IP addresses.
Once the data reaches the Physical layer, it is transmitted as binary bits across the network.
At the destination, the reverse process occurs. The receiving device moves the information upward through the layers, removing and interpreting the control information added by the corresponding layers. This process is called de-encapsulation.
The receiving application eventually receives the original meaningful message, such as a webpage, email, or file.
Encapsulation and de-encapsulation allow each layer to perform its own task without requiring the application to understand every detail of the physical network.
The TCP/IP Reference Model
The TCP/IP model is the reference model associated with the modern internet. It is a modification and simplification of the OSI model.
The TCP/IP model commonly contains four layers:
- Application
- Transport
- Internet
- Network Access
The correspondence between the models can be shown as follows:
| TCP/IP layer | Related OSI layers | Examples |
|---|---|---|
| Application | Application, Presentation, Session | HTTP, HTTPS, DNS, FTP, SMTP, DHCP |
| Transport | Transport | TCP, UDP |
| Internet | Network | IPv4, IPv6, ICMP |
| Network Access | Data Link and Physical | Ethernet, ARP, wireless technologies |
The TCP/IP model combines the OSI Application, Presentation, and Session layers into one Application layer. It also combines the OSI Data Link and Physical layers into one Network Access layer.
The names differ slightly as well:
- OSI Network layer corresponds generally to the TCP/IP Internet layer.
- OSI Data Link and Physical layers correspond generally to the TCP/IP Network Access layer.
The modern internet is built around TCP/IP. However, networking professionals continue to use the OSI model because its seven layers provide more detailed distinctions, especially when diagnosing problems.
Comparing the OSI and TCP/IP Models
The two models have the same broad purpose: they explain how data moves from a source to a destination.
They are not two completely unrelated systems. Instead, they organize many of the same networking functions differently.
The OSI model is more detailed because it separates:
- Application
- Presentation
- Session
- Transport
- Network
- Data Link
- Physical
The TCP/IP model groups several of these functions together. This makes it more closely aligned with the protocol suite used by the internet.
Network professionals may use both models:
- The TCP/IP model helps describe the practical architecture of modern networks.
- The OSI model helps analyze and discuss specific layers in greater detail.
Using Models for Troubleshooting
A major practical benefit of layered models is troubleshooting. Troubleshooting means identifying the cause of a problem and correcting it.
A network professional can examine the layers systematically, often beginning with the lower layers and moving upward.
For example:
- Check the Physical layer for power, cables, connectors, signals, or wireless connectivity.
- Check the Data Link layer for local connectivity, frames, switching, and hardware addressing.
- Check the Network layer for IP addressing and routing.
- Check the Transport layer for TCP or UDP communication.
- Check the Application layer for services such as web access, DNS, email, or file transfer.
A failure at a lower layer can prevent higher layers from working. If a cable is damaged, there is no useful foundation for Ethernet, IP, TCP, or HTTP communication.
The layered approach prevents troubleshooting from becoming guesswork. Instead of saying only that “the network is not working,” the professional can ask which layer is failing.
For example:
- A damaged cable suggests a Layer 1 problem.
- A local switching or MAC-address issue suggests a Layer 2 problem.
- An incorrect IP address or routing problem suggests a Layer 3 problem.
- A transport connection failure may suggest a Layer 4 problem.
- A web-service or DNS issue may suggest an Application-layer problem.
This division also helps distinguish network problems from application problems. If the lower layers have been tested and are functioning correctly, an application or server-side issue may be responsible.
Models and Network Construction
Layered models are also useful when building a network. A network professional can begin with the foundation and then verify each higher level.
The Physical layer is checked first because cables, interfaces, and signals must function before the upper layers can operate. Next, local connectivity and switching are examined. Then IP addressing and routing are configured. After that, transport and application services can be tested.
This is similar to constructing a building: a weak foundation affects everything built above it. In networking, a failure at the Physical layer can prevent successful operation at every other layer.
Standardization and Interoperability
Early networking faced serious interoperability problems. Different manufacturers often created computers and network devices that worked only with products from the same manufacturer.
For example, a device from one vendor might communicate properly only with another device from that vendor. This created barriers, limited customer choice, and made networks difficult to expand.
Standardization addressed this problem. A standard is an agreed technical requirement or rule that different manufacturers follow.
Open standards allow devices from different vendors to communicate. A network can therefore include equipment from multiple manufacturers while still supporting communication between them.
For example, a network may contain switches, routers, computers, and wireless devices from different vendors. If the devices follow common standards and protocols, they can interoperate.
Two organizations associated with networking standards are:
- IEEE, which develops many standards related to networking technologies and physical or data-link communication
- IETF, which develops and documents many internet standards and protocols
Standardization provides several important benefits:
- Interoperability — devices from different manufacturers can communicate.
- Competition — vendors can compete by improving products rather than locking users into one brand.
- Innovation — manufacturers can build new technologies on shared foundations.
- Flexibility — organizations can select equipment based on capability, cost, and suitability.
Reference models also support standardization. When manufacturers understand the separate functions involved in network communication, they can design products that perform those functions in compatible ways.
Addressing Across Layers
Different layers use different kinds of addresses for different purposes.
An IP address operates at the Network layer and helps identify a destination across interconnected networks. It supports routing from one network to another.
A MAC address operates at the Data Link layer and helps identify a network interface on a local network segment.
A useful analogy is:
- An IP address is similar to identifying a broader destination such as a street or compound.
- A MAC address is similar to identifying a particular room or local endpoint within that immediate area.
The analogy is not a literal description of how addresses work, but it illustrates why both addressing systems are needed. IP helps guide traffic across networks, while MAC addressing supports local delivery.
Comprehensive Review
A protocol is a set of rules that governs communication. Communication requires a sender, a receiver, and a channel, but successful networking also requires the devices to agree on addressing, formatting, timing, reliability, flow control, sequencing, and error handling.
Different activities use different protocols. HTTP and HTTPS support web communication, SMTP supports sending email, POP3 can retrieve email, FTP transfers files, SSH provides secure remote login, DNS translates domain names into IP addresses, and DHCP helps provide network configuration.
Protocols often work together. A web communication may involve HTTP or HTTPS at the Application layer, TCP at the Transport layer, IP at the Internet or Network layer, and Ethernet or wireless technology at the Network Access or Data Link and Physical layers. This cooperation is called protocol interaction, and a related group of cooperating protocols is called a protocol suite.
The OSI model organizes networking into seven layers: Application, Presentation, Session, Transport, Network, Data Link, and Physical. As data moves downward at the sender, it is encapsulated and becomes a segment, packet, frame, and finally bits. At the receiver, de-encapsulation removes and interprets the layer-specific information.
The TCP/IP model simplifies the arrangement into Application, Transport, Internet, and Network Access layers. Modern internet communication is based on TCP/IP, while the more detailed OSI model remains highly useful for learning, design, standardization, and troubleshooting.
Together, protocols and layered models explain how separate devices can communicate reliably across networks, regardless of their manufacturer, location, or underlying technology.

Ask anything
We've read this whole study set, so questions about it get the best answers.