Skip to main content
← All posts

Part 2: Network Models: OSI 7-Layer Reference Model & TCP/IP Architecture

Md. Harun-Or-RoshidNov 5, 20262 min readArticle
Part 2: Network Models: OSI 7-Layer Reference Model & TCP/IP Architecture

Lesson Overview & Learning Objectives

Modern computer networks are vastly complex systems comprising millions of heterogeneous devices running different operating systems and hardware architectures. To make networking manageable, standard organizations partitioned network functions into layered architectures. In this guide, we contrast the theoretical Open Systems Interconnection (OSI) 7-Layer Reference Model created by ISO with the practical, production-deployed TCP/IP Protocol Suite, exploring protocol data units (PDUs), headers, and layer encapsulation.

1. The 7 Layers of the OSI Reference Model

Layer 7: Application Layer

Provides user interfaces and network services to applications. Enables file transfers, email delivery, and directory services (HTTP, FTP, SMTP, DNS, SSH).

Layer 6: Presentation Layer

Handles data syntax and semantics: translation between character sets (EBCDIC to ASCII), compression (JPEG, MPEG), and cryptographic encryption/decryption (TLS/SSL).

Layer 5: Session Layer

Establishes, maintains, and synchronizes interactions between communicating systems. Inserts checkpoints into long data streams for recovery during connection failure.

Layer 4: Transport Layer

Provides end-to-end process-to-process delivery of the entire message. Features port addressing, segmentation and reassembly, connection control, flow control, and error recovery (TCP / UDP).

Layer 3: Network Layer

Responsible for host-to-host delivery of individual packets across multiple networks. Provides logical IP addressing and path determination (Routing via OSPF, BGP).

Layer 2: Data Link Layer

Transforms a raw physical transmission facility into a reliable link. Organizes bits into frames, applies physical hardware MAC addressing, hop-to-hop flow control, and CRC error detection.

Layer 1: Physical Layer

Coordinates the functions required to transmit a stream of raw bits over a physical medium. Defines line coding, pinouts, voltage levels, data rates, and transmission modes.

2. OSI vs. TCP/IP: The Architectural Contrast

OSI Reference LayerTCP/IP Architecture LayerPDU NameRepresentative Protocols
Application, Presentation, SessionApplication LayerData / MessageHTTP, HTTPS, DNS, SSH, SMTP
Transport LayerTransport LayerSegment (TCP) / Datagram (UDP)TCP, UDP, SCTP, QUIC
Network LayerInternet LayerPacket / DatagramIPv4, IPv6, ICMP, IGMP, BGP
Data Link & PhysicalNetwork Access / Link LayerFrame (L2) & Bits (L1)Ethernet (802.3), Wi-Fi (802.11), DOCSIS
Share:
Share on X
Share on LinkedIn
Share on Facebook
Share on Reddit
Share on WhatsApp
Share on Telegram
Copy link

Related reading

Network Models: OSI 7-Layer vs TCP/IP Stack | Draftsbook · Draftsbook