Skill 4.1.1
Open System Interconnection (OSI) and Transmission Control Protocol/Internet Protocol (TCP/IP) models
Key Concepts
The OSI model has seven layers: 1 physical (cables, signals, hubs), 2 data link (frames, MAC addresses, switches, ARP), 3 network (packets, IP, routers), 4 transport (segments, TCP and UDP, ports), 5 session (dialogue control), 6 presentation (encoding, compression, encryption) and 7 application (HTTP, DNS, SMTP). Going down the stack, each layer adds its header (encapsulation); going up, headers are removed.
The TCP/IP model has four layers: link (network access), internet, transport and application (which combines OSI layers 5 to 7). TCP is connection-oriented, with a three-way handshake (SYN, SYN-ACK, ACK) and reliable delivery; UDP is connectionless and faster but unreliable.