8.1
Networking & Protocols

OSI / TCP-IP Model

Visualize the 7-layer OSI model and 4-layer TCP/IP model. Watch data encapsulation as it travels down the sender stack, across the network, and up the receiver stack.

Prerequisite: Basic Networking Concepts
Protocol:
Ready
Overhead: 0.0%Step 0
SenderEncapsulate
7
ApplicationData
HTTPFTPSMTP
6
PresentationData
SSL/TLSJPEGMPEG
5
SessionData
NetBIOSRPCPPTP
4
TransportSegment
TCPUDPSCTP
3
NetworkPacket
IPICMPARP
2
Data LinkFrame
EthernetWiFiPPP
1
PhysicalBits
USBBluetoothDSL
Network Transfer
Packet Structure
DATA
64B total
ReceiverDecapsulate
7
ApplicationData
HTTP
6
PresentationData
SSL
5
SessionData
SES
4
TransportSegment
TCP
3
NetworkPacket
IP
2
Data LinkFrame
ETH
1
PhysicalBits
PHY
OSI vs TCP/IP Comparison
OSI Model (7 Layers)
7ApplicationData
6PresentationData
5SessionData
4TransportSegment
3NetworkPacket
2Data LinkFrame
1PhysicalBits
TCP/IP Model (4 Layers)
4
Application
HTTP, FTP, SMTP, DNS
L7,6,5
3
Transport
TCP, UDP
L4
2
Internet
IP, ICMP, ARP
L3
1
Network Access
Ethernet, WiFi, PPP
L2,1
Layer Mapping
L7
L6
L5
L4
L3
L2
L1
OSI Layers 5-7 map to TCP/IP Application | L4 to Transport | L3 to Internet | L1-2 to Network Access
Metrics
Current Layer
Ready
Headers Added
0/7
Packet Size
64B
Overhead
0.0%
Protocol Stack
None
Encapsulation Progress
L7L1
Event Log0 events
Press Play or select a scenario to begin
1.0x
Ready
How It Works
Encapsulation

Data starts at the Application layer. Each layer adds its own header (and sometimes trailer) as it moves down the stack. By the Physical layer, the original data is wrapped in all protocol headers.

Transfer

The fully encapsulated packet (now a frame at Layer 2, then bits at Layer 1) travels across the physical medium -- copper wire, fiber optic cable, or wireless signals.

Decapsulation

At the receiver, each layer strips its corresponding header as data moves up the stack. The Application layer receives the original data, now fully unpacked.

Layer Reference
LayerNamePDUTCP/IPResponsibility
7ApplicationDataApplicationProvides network services directly to end-user applications
6PresentationDataApplicationTranslates data between application and network formats
5SessionDataApplicationEstablishes, manages, and terminates sessions
4TransportSegmentTransportProvides reliable or unreliable end-to-end data delivery
3NetworkPacketInternetRoutes packets from source to destination across networks
2Data LinkFrameNetwork AccessTransfers frames between adjacent network nodes
1PhysicalBitsNetwork AccessTransmits raw bitstreams over a physical channel