Layered Thinking: OSI and TCP/IP Reference Models
This article explains the layered design concept for network protocols, detailing the OSI seven‑layer model and the TCP/IP four‑layer model, their functions, and how they simplify communication, troubleshooting, and service provision across network devices.
Layered Thinking
The layered model is a design approach for developing network protocols.
It breaks the complex problem of communication between nodes into several simple sub‑problems that can be solved one by one.
Adjacent network nodes communicate via interfaces, with lower layers providing services to upper layers; this makes fault isolation straightforward.
OSI Reference Model
The OSI (Open System Interconnection) model, published by the International Organization for Standardization (ISO), defines a seven‑layer architecture. Layers 1‑3 handle point‑to‑point protocols, while layers 4‑7 handle end‑to‑end protocols.
From bottom to top:
Physical Layer : Transmits bit streams between adjacent nodes (transmission media).
Data Link Layer : Encapsulates data into frames, adds MAC addresses, performs error detection and retransmission (e.g., switches).
Network Layer : Routes packets from source to destination using logical addresses (IP), selecting optimal paths (routers, layer‑3 switches).
Transport Layer : Enables communication between processes on different hosts, working with the network and data‑link layers to deliver data to the correct application.
Session Layer : Establishes, manages, and terminates sessions between machines.
Presentation Layer : Handles data representation issues such as compression and encryption.
Application Layer : Provides network services directly to user applications.
TCP/IP Reference Model
TCP/IP (Transmission Control Protocol / Internet Protocol) originally defined a four‑layer model: Network Interface, Internet, Transport, and Application layers. Later revisions split the Network Interface layer into Physical and Data Link layers, aligning more closely with the OSI model.
TCP/IP is widely used because of its general applicability.
Application Layer protocols include HTTP, FTP, TFTP, SMTP, SNMP, DNS.
Transport Layer protocols include TCP (reliable) and UDP (high‑performance).
Network Layer protocols include ICMP, IGMP, IP, ARP, RARP.
Data Link and Physical layers are defined by underlying network technologies (LAN, MAN, WAN).
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
DevOps Cloud Academy
Exploring industry DevOps practices and technical expertise.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
