OSI Model

3 min read Last updated Thu Jun 04 2026 14:41:47 GMT+0000 (Coordinated Universal Time)

Introduced by ISO. Defines a framework for building and understanding networks. Describe the pieces needed to construct a network. Introduced to serve as a basis for standardization.

7 Layers

The model is organized into 7 layers.

The OSI model is organized into seven layers, from lowest to highest:

  • Physical
  • Data Link
  • Network
  • Transport
  • Session
  • Presentation
  • Application

Physical Layer

Accepts a raw string of bits and delivers it across a link. Key concerns include connection establishment and termination, encoding of bits, transmission of bits, and repeating or amplifying signals to extend range.

Provides error-free transmission across a single link. Handles framing, error detection and correction, and flow control.

Network Layer

Delivers packets from the sending computer to the receiving computer across a network (host-to-host). Shields higher layers from the details of how data reaches its destination. Key issues include addressing, routing, congestion control, and quality of service.

Transport Layer

Provides end-to-end delivery between two hosts across a network. Handles connection establishment and termination, flow control, error detection and correction, quality of service, and multiplexing. Performs many of the same functions as the data link layer, but the two endpoints are across a network rather than just across a wire.

Session Layer

Controls the dialog between two end-user applications. Deals with dialogue management (half- vs. full-duplex) and synchronization and recovery. In practice, the session layer is not often used in modern systems.

Presentation Layer

Formats data for transmission, accounting for the fact that different systems may represent data differently. Today, presentation-layer functions are generally handled by application protocols.

Application Layer

Provides general-purpose network-based functions such as file transfer, electronic mail, directory lookup, virtual terminal, network management, and the World Wide Web. Commonly used services have been standardized.

Real World Implementations

Real world implementations of networking architectures/protocols may or may not conform to the OSI model.

TCP/IP

The actual set of protocols that powers the modern internet. Developed around the same time as OSI. Fewer layers, easier to implement.

Has 4 layers:

  • Data Link / Physical
  • Internet
  • Transport
  • Application

Popular because:

  • Prior deployment
    Already running on the internet before OSI was finalized.
  • Universal support
    Runs on everything: supercomputers, PCs, phones. Any device joins the same network without translation layers.
  • Consistent APIs
    BSD sockets became the universal interface; applications written once run across platforms.
  • Strong track record
    Proven at global scale over decades with no fundamental architectural failures.
  • Simpler design
    Fewer layers reduce overhead and implementation complexity compared to OSI.
  • Internet foundation
    Underpins the internet and World Wide Web; network effects make alternatives impractical to adopt.

The physical layer is provided outside TCP/IP. Session and presentation functions are absorbed into other layers.

SNA

Aka. Systems Network Architecture. IBM’s proprietary networking architecture, developed in the 1970s. For connecting IBM mainframes and terminals. It was widely used in corporate environments but was largely replaced by TCP/IP over time.

WAP

Aka. Wireless Application Protocol. Developed in the late 1990s. Allows early mobile phones to access internet-like content. Predated smartphones and was designed for the very limited screens and slow connections at that time. Became mostly obsolete once modern smartphones with full browsers arrived.

Was this helpful?