The OSI Model

The Open Systems Interconnection (OSI) model is a conceptual framework used to understand and implement network communications between systems. Developed by the International Organization for Standardization (ISO), the OSI model standardizes networking protocols to allow different systems to communicate efficiently.

Layers of the OSI Model

The OSI model consists of seven layers, each with specific functions and protocols. Here’s a detailed look at each layer:

01. Physical Layer (Layer 1)
  • Function: This layer deals with the physical connection between devices, including the transmission of raw bitstreams over a physical medium.
  • Key Concepts: Voltage levels, timing of voltage changes, physical data rates, maximum transmission distances, physical connectors.
  • Devices: Hubs, cables, repeaters.
02. Data Link Layer (Layer 2)
  • Function: Responsible for node-to-node data transfer and error detection and correction.
  • Key Concepts: MAC (Media Access Control) addresses, framing, error checking (CRC), flow control.
  • Devices: Switches, bridges.
03. Network Layer (Layer 3)
  • Function: Manages data routing and forwarding, logical addressing, and path determination.
  • Key Concepts: IP addressing, routing protocols (OSPF, BGP), packet forwarding.
  • Devices: Routers.
04. Transport Layer (Layer 4)
  • Function: Ensures complete data transfer with error recovery, flow control, and retransmission.
  • Key Concepts: TCP (Transmission Control Protocol), UDP (User Datagram Protocol), port numbers, segmentation and reassembly.
  • Devices: Firewalls, gateways.
05. Session Layer (Layer 5)
  • Function: Manages sessions between applications, establishing, maintaining, and terminating connections.
  • Key Concepts: Session establishment, maintenance, termination, synchronization, dialog control.
06. Presentation Layer (Layer 6)
  • Function: Translates data between the application layer and the network, ensuring data is in a readable format.
  • Key Concepts: Data encryption/decryption, data compression, data translation (e.g., ASCII to EBCDIC).
07. Application Layer (Layer 7)
  • Function: Provides network services directly to end-user applications.
  • Key Concepts: Protocols such as HTTP, FTP, SMTP, DNS, and application services.

OSI Model in Detail

Each layer of the OSI model serves a specific function and interacts with the layers directly above and below it. Here’s a deeper look into the interaction and key protocols at each layer:

OSI LayerKey Protocols/Technologies
PhysicalEthernet, USB, Bluetooth, DSL, ISDN
Data LinkEthernet, PPP, HDLC, Frame Relay, ATM
NetworkIP, ICMP, IGMP, IPsec, MPLS
TransportTCP, UDP, SCTP, DCCP
SessionNetBIOS, RPC, PAP, PPTP, SIP
PresentationSSL/TLS, JPEG, GIF, ASCII, EBCDIC
ApplicationHTTP, FTP, SMTP, DNS, Telnet, SNMP, IMAP, POP3
Table: Key Protocols at Each OSI Layer

Exam Tips for OSI Model

  1. Understand Layer Functions: Knowing the specific function of each layer and how they interact is crucial. For example, understanding that the Transport layer (Layer 4) is responsible for end-to-end communication and error handling is essential.
  2. Memorize Key Protocols: Be familiar with key protocols at each layer. For instance, knowing that HTTP operates at the Application layer (Layer 7) and TCP operates at the Transport layer (Layer 4) can help you quickly identify the correct answers.
  3. Real-world Examples: Be able to provide real-world examples of how the OSI model is applied. For example, how data travels from a web browser (Application layer) through the layers to the physical cable (Physical layer) and vice versa.
  4. Practice with Diagrams: Diagrams can help visualize the OSI model and how data flows through each layer. Practice drawing and labeling the OSI model and its layers.
LayerFunctionExample
ApplicationNetwork services to applicationsBrowsing a website (HTTP)
PresentationData translation, encryption, and compressionSSL encryption, JPEG image format
SessionSession establishment and managementLogging into a remote server
TransportReliable data transferDownloading a file (TCP)
NetworkRouting and forwardingSending an email (IP routing)
Data LinkNode-to-node data transferData transmission within a local network (Ethernet)
PhysicalPhysical connectionTransmitting data over a fiber optic cable
Table: OSI Model – Layer Functions and Examples
Scroll to Top