The OSI (Open Systems Interconnection) model is a networking reference model developed by the International Organization for Standardization (ISO) in the late 1970s. It enables different systems and vendors to communicate over a network by dividing communication tasks into seven distinct layers, each with specific responsibilities.
The OSI model conceptualizes network communication as modular layers, similar to departments in a company working toward a unified goal. Each layer performs dedicated functions while coordinating with adjacent layers.
The OSI model has seven layers, grouped into:
The topmost layer where users interact with the network. It links application programs (e.g., browsers) to networking protocols. Responsibilities include identifying communication partners, resource checking, and coordination of applications.
Prepares data for the Application Layer by handling translation (e.g., EBCDIC to ASCII), compression, encryption, and decryption. Ensures cross-system readability.
Establishes, manages, and terminates sessions between devices. It organizes conversations across simplex, half-duplex, or full-duplex modes and separates multiple application dialogues.
Breaks data into segments and manages end-to-end delivery. Supports reliable (TCP) and unreliable (UDP) communication. Key features include:
Flow Control: Prevents buffer overflow using signals like "ready"/"not ready"
Windowing: Determines how many bytes can be sent without acknowledgment
Positive Acknowledgment with Retransmission: Ensures accurate delivery through confirmation and resend
Responsible for logical addressing, routing, and transferring data between devices not directly connected. Routers operate at this layer using IP addressing. Types of packets:
Data Packets: Carry user data (e.g., IPv4, IPv6)
Route-Update Packets: Used to update routing tables (e.g., RIP, OSPF)
Handles physical data transfer and identifies devices on a local network via MAC addresses. Converts data into frames and appends source/destination MAC info. Composed of:
LLC (Logical Link Control): Identifies network layer protocols and encapsulates them
MAC (Media Access Control): Governs access to physical media and hardware addressing
Transmits bits (0s and 1s) over physical media like cables or wireless signals. Defines electrical/mechanical specifications including voltage levels, cable speed, and connectors. Physical topologies (e.g., star, ring, bus) are determined here.
Encapsulation wraps user data with protocol-specific headers at each layer to facilitate communication. The steps include:
1. Convert user data for transmission
2. Segment data for reliable delivery
3. Add logical addresses to form packets
4. Attach hardware addresses to create frames
5. Convert frames to bits and modulate for physical transfer
Modulation alters characteristics of a carrier signal to transmit digital bits. Frequency Division Multiplexing (FDM) and Time Division Multiplexing (TDM) are used to transmit multiple signals simultaneously.
The OSI model provides a foundational framework for designing and understanding network systems. Its layered architecture promotes modularity, reliability, and interoperability. Mastery of this model — along with encapsulation — is essential for building efficient networks and passing certifications like Network+.