Types of Networks

Network Devices

The OSI Model

The OSI model divides network communication into 7 distinct layers. As data moves down the stack, each layer adds a header — this is encapsulation. As data moves back up at the receiving end, each layer removes its header — this is de-encapsulation.

# Layer Responsibility Examples Mnemonic
7ApplicationInterface for users and appsHTTP, FTP, SMTP, DNSAll
6PresentationData formatting, encryptionJPEG, SSL/TLSPeople
5SessionManaging sessionsNetBIOS, RPCSeem
4TransportEnd-to-end communicationTCP, UDPTo
3NetworkRouting packetsIP, ICMPNeed
2Data LinkFraming, MAC addressingEthernet, Wi-FiData
1PhysicalRaw bit transmissionCables, hubsProcessing

Mnemonic (top to bottom): All People Seem To Need Data Processing

Layer
Responsibility
Examples
Mnemonic