Skip to content
StackDecode
System Design
2. Networking FundamentalsAnimated walkthrough

TCP/IP Model

The four-layer model the internet actually uses.

The idea

Layers are link, internet (IP), transport (TCP or UDP) and application (HTTP, DNS and others).

Watch it work

The steps light up one at a time. Use the controls to pause or step through.

  1. 1An app hands data to the transport layer
  2. 2Transport adds ports and reliability
  3. 3IP adds addresses and routes packets
  4. 4The link layer sends frames on the local network
1/4

Step by step

  1. 1An app hands data to the transport layer
  2. 2Transport adds ports and reliability
  3. 3IP adds addresses and routes packets
  4. 4The link layer sends frames on the local network

Where it is used

Understanding real internet traffic.

Watch out for

Different books number the layers differently. Learn what each does.

Related