Bookmarks

OSI — OSI model

Open Systems Interconnection

A seven-layer scheme that breaks network communication down into independent layers, from the physical transmission medium up to applications.

Also: Open Systems Interconnection reference model, seven-layer model, OSI model, ISO 7498-1

checked 9 Nov

All terms

The OSI model describes which tasks make up sending data across a network and sorts those tasks into seven layers: each layer handles its own and relies on the one below. The model serves as a common language: when people say “a problem on layer 3” or “an L2 switch”, they mean the OSI layers.

Two standards define the model: ISO/IEC 7498-1 and, with identical content, ITU-T X.200; the current edition of both dates from 1994.

The seven layers

LayerPurposeExamples
7. Applicationdata for applications and network servicesHTTP, SMTP, DNS
6. Presentationa common data format: character encodings, compression, encryptionJPEG, MIME
5. Sessioncommunication sessions: starting, ending, synchronisingRPC, NetBIOS
4. Transportdelivery between processes, reliability and orderingTCP, UDP
3. Networkaddressing and routing between networksIP, ICMP
2. Data linkframe delivery within a single network segmentEthernet, Wi-Fi
1. Physicalsignals in a medium: wires, optics, radiotwisted pair, optical fibre

How the layers work together

The sender works top down: each layer adds its own header to the data. Application data becomes a TCP segment, then an IP packet, then an Ethernet frame — for example, the standard Ethernet MTU limits a frame to 1500 bytes of payload. The receiver strips the nested headers in the reverse order.

Mapping to the TCP/IP stack

The real internet runs on the TCP/IP stack, which has four layers: data link, internet, transport and application. The OSI model is descriptive: nobody implements it directly, but it is a convenient way to explain the TCP/IP layers. RFC 1122 states explicitly that the TCP/IP application layer combines the functions of the two upper OSI layers, presentation and application.

OSITCP/IP
1–2. Physical and data linkdata link (media access)
3. Networkinternet
4. Transporttransport
5–7. Session, presentation, applicationapplication

How the model is used

  • classifying hardware: switches are divided into L2 and L3 by how far they parse frames and packets
  • troubleshooting top down or bottom up: from “the site won’t open” down to the cable, or from a ping up to the application
  • mapping disparate technologies: the layer tells which tasks a device or protocol handles, independent of vendor

Sources

the term is written from these pages

Verified 9 Nov