💻 Computer Science · Networking

Networking tricks that make the OSI model stick

OSI model, TCP/IP, protocols, and subnetting — memorized.

🌐 Networking

Memory tricks

Proven mnemonics — fast to learn, hard to forget.

🎥 How Flashcards Work
A quick walkthrough of tap-to-flip, rating, and how card colors track what you're struggling with.
← Back Next →
Networking deck1 of 12
Tap to flip
← →
How well do YOU think you know this?
Easy Medium Hard Harder
Tap to flip back
Networking deck
Easy0
Medium0
Hard0
Harder0
OSI Model
OSI (Open Systems Interconnection) model layers 7 to 1: All People Seem To Need Data Processing (A=Application, P=Presentation, S=Session, T=Transport, N=Network, D=Data Link, P=Physical)
OSI Model
Seven layers of the OSI networking model
7-Application (HTTP, DNS), 6-Presentation (encryption), 5-Session, 4-Transport (TCP/UDP), 3-Network (IP), 2-Data Link (MAC), 1-Physical (cables). Mnemonic top to bottom: All People Seem To Need Data Processing.
7
Application — HTTP, FTP, DNS
6
Presentation — encryption, compression
5
Session — connections
4
Transport — TCP/UDP, ports
3
Network — IP addressing
2
Data Link — MAC, switches
1
Physical — cables, signals
📖 Full Lesson →
🎥 Watch Instead
▶
Video coming soon
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 OSI Model
OSI
Tap to flip
🃏 Answer
OSI (Open Systems Interconnection) model layers 7 to 1: All People Seem To Need Data Processing (A=Application, P=Presentation, S=Session, T=Transport, N=Network, D=Data Link, P=Physical)
7Application — HTTP, FTP, DNS
6Presentation — encryption, compression
5Session — connections
4Transport — TCP/UDP, ports
3Network — IP addressing
2Data Link — MAC, switches
1Physical — cables, signals
Tap to flip back
TCP vs UDP
TCP (Transmission Control Protocol): reliable, ordered, error-checked. UDP (User Datagram Protocol): fast, no guarantees.
TCP vs UDP
The two main transport-layer protocols — reliable vs fast
TCP: connection-oriented, guaranteed delivery and order — web, email, file transfer. UDP: connectionless, no guarantee, lower latency — video streaming, gaming, DNS.
📖 Full Lesson →
🎥 Watch Instead
▶
Video coming soon
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 TCP vs UDP
TCP
Tap to flip
🃏 Answer
TCP (Transmission Control Protocol): reliable, ordered, error-checked. UDP (User Datagram Protocol): fast, no guarantees.
TCP vs UDP — TCP: connection-oriented, guaranteed delivery and order — web, email, file transfer. UDP: connectionless, no guarantee, lower latency — video streaming, gaming, DNS.
Tap to flip back
DNS
DNS (Domain Name System): domain name to IP address — the internet's phone book
DNS
Domain Name System converts human-readable names to IP addresses
You type google.com → DNS resolver queries root → TLD → authoritative server → returns IP. Cached at multiple levels. Without DNS you'd memorize IP addresses.
📖 Full Lesson →
🎥 Watch Instead
▶
Video coming soon
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 DNS
DNS
Tap to flip
🃏 Answer
DNS (Domain Name System): domain name to IP address — the internet's phone book
DNS — You type google.com → DNS resolver queries root → TLD → authoritative server → returns IP. Cached at multiple levels. Without DNS you'd memorize IP addresses.
Tap to flip back
IP Address Classes
IP classes: A (1-126 huge networks), B (128-191), C (192-223 small networks)
IP Address Classes
Class A, B, and C ranges and their uses
Class A: 1–126, up to 16M hosts (large orgs). Class B: 128–191, up to 65K hosts. Class C: 192–223, up to 254 hosts (small networks). 127.0.0.1 = localhost.
📖 Full Lesson →
🎥 Watch Instead
▶
Video coming soon
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 IP Address Classes
IP address classes — the ranges for A, B and C?
Tap to flip
🃏 Answer
IP classes: A (1-126 huge networks), B (128-191), C (192-223 small networks)
IP Address Classes — Class A: 1–126, up to 16M hosts (large orgs). Class B: 128–191, up to 65K hosts. Class C: 192–223, up to 254 hosts (small networks). 127.0.0.1 = localhost.
Tap to flip back
HTTP Methods
HTTP methods: GET (read), POST (create), PUT (update/replace), DELETE (delete) — REST basics
HTTP Methods
The four core HTTP verbs behind every REST API
GET: retrieve resource (safe, idempotent). POST: create new resource (not idempotent). PUT: update/replace resource (idempotent). DELETE: remove resource. PATCH: partial update. Memorize these for any web development or API work.
📖 Full Lesson →
🎥 Watch Instead
▶
Video coming soon
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 HTTP Methods
HTTP methods — GET, POST, PUT, DELETE?
Tap to flip
🃏 Answer
HTTP methods: GET (read), POST (create), PUT (update/replace), DELETE (delete) — REST basics
HTTP Methods — GET: retrieve resource (safe, idempotent). POST: create new resource (not idempotent). PUT: update/replace resource (idempotent). DELETE: remove resource. PATCH: partial update. Memorize these for any web development or API work.
Tap to flip back
IPv4 vs IPv6
IP addressing: IPv4 = 32 bits (4.3 billion addresses). IPv6 = 128 bits (340 undecillion addresses).
IPv4 vs IPv6
Why we're running out of IP addresses — and the solution
IPv4: 32-bit addresses like 192.168.1.1 — only ~4.3 billion unique addresses. Running out since 1990s. NAT (Network Address Translation): multiple devices share one public IP. IPv6: 128-bit addresses like 2001:0db8:85a3::8a2e:0370:7334 — essentially unlimited. Adoption slow due to compatibility issues.
📖 Full Lesson →
🎥 Watch Instead
▶
Video coming soon
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 IPv4 vs IPv6
IPv4 vs IPv6 — how big is each?
Tap to flip
🃏 Answer
IP addressing: IPv4 = 32 bits (4.3 billion addresses). IPv6 = 128 bits (340 undecillion addresses).
IPv4 vs IPv6 — IPv4: 32-bit addresses like 192.168.1.1 — only ~4.3 billion unique addresses. Running out since 1990s. NAT (Network Address Translation): multiple devices share one public IP. IPv6: 128-bit addresses like 2001:0db8:85a3::8a2e:0370:7334 — essentially unlimited. Adoption slow due to compatibility issues.
Tap to flip back
Subnetting
Subnetting: divide network into smaller networks. Subnet mask determines network vs host portion.
Subnetting
Dividing IP address space into smaller networks
Subnet mask: 255.255.255.0 = /24 means first 24 bits are network, last 8 bits are hosts (254 usable hosts). CIDR notation: 192.168.1.0/24. Subnetting: divide large network into smaller ones for security and efficiency. Calculate: network address, broadcast address, host range.
📖 Full Lesson →
🎥 Watch Instead
▶
Video coming soon
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 Subnetting
Subnetting — what does the subnet mask do?
Tap to flip
🃏 Answer
Subnetting: divide network into smaller networks. Subnet mask determines network vs host portion.
Subnetting — Subnet mask: 255.255.255.0 = /24 means first 24 bits are network, last 8 bits are hosts (254 usable hosts). CIDR notation: 192.168.1.0/24. Subnetting: divide large network into smaller ones for security and efficiency. Calculate: network address, broadcast address, host range.
Tap to flip back
Firewalls
Firewall: filters network traffic based on rules. Stateful: tracks connection state. Stateless: each packet independent.
Firewalls
Network security devices that control traffic based on rules
Packet filtering: check source/destination IP and port against rules. Stateful inspection: tracks active connections — knows if packet is part of established session. Application layer: inspect content (Layer 7). DMZ (demilitarized zone): semi-trusted network between internet and internal network.
📖 Full Lesson →
🎥 Watch Instead
▶
Video coming soon
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 Firewalls
Firewalls — stateful vs stateless?
Tap to flip
🃏 Answer
Firewall: filters network traffic based on rules. Stateful: tracks connection state. Stateless: each packet independent.
Firewalls — Packet filtering: check source/destination IP and port against rules. Stateful inspection: tracks active connections — knows if packet is part of established session. Application layer: inspect content (Layer 7). DMZ (demilitarized zone): semi-trusted network between internet and internal network.
Tap to flip back
HTTP vs HTTPS
HTTP (HyperText Transfer Protocol) vs HTTPS: HTTPS = HTTP + TLS (Transport Layer Security) encryption. Port 80 vs 443. Certificate verifies server identity.
HTTP vs HTTPS
How web encryption works
HTTP: plaintext — anyone between you and server can read traffic. HTTPS: HTTP + TLS (Transport Layer Security). TLS handshake: client and server negotiate encryption, server presents certificate (signed by trusted CA), establish symmetric session key. Certificate: verifies server is who it claims to be. Always use HTTPS.
📖 Full Lesson →
🎥 Watch Instead
▶
Video coming soon
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 HTTP vs HTTPS
HTTP
Tap to flip
🃏 Answer
HTTP (HyperText Transfer Protocol) vs HTTPS: HTTPS = HTTP + TLS (Transport Layer Security) encryption. Port 80 vs 443. Certificate verifies server identity.
HTTP vs HTTPS — HTTP: plaintext — anyone between you and server can read traffic. HTTPS: HTTP + TLS (Transport Layer Security). TLS handshake: client and server negotiate encryption, server presents certificate (signed by trusted CA), establish symmetric session key. Certificate: verifies server is who it claims to be. Always use HTTPS.
Tap to flip back
Latency vs Bandwidth
Latency vs bandwidth: latency = delay (milliseconds). Bandwidth = capacity (Mbps). Latency limits interactive apps.
Latency vs Bandwidth
Two different measures of network performance
Latency (RTT - round trip time): time for a packet to travel to destination and back. Affected by: physical distance, number of hops, congestion. Low latency critical for: gaming, video calls, trading. Bandwidth: maximum data transfer rate. Throughput: actual achieved rate. High bandwidth doesn't help if latency is high.
📖 Full Lesson →
🎥 Watch Instead
▶
Video coming soon
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 Latency vs Bandwidth
Latency vs bandwidth?
Tap to flip
🃏 Answer
Latency vs bandwidth: latency = delay (milliseconds). Bandwidth = capacity (Mbps). Latency limits interactive apps.
Latency vs Bandwidth — Latency (RTT - round trip time): time for a packet to travel to destination and back. Affected by: physical distance, number of hops, congestion. Low latency critical for: gaming, video calls, trading. Bandwidth: maximum data transfer rate. Throughput: actual achieved rate. High bandwidth doesn't help if latency is high.
Tap to flip back
Content Delivery Networks
CDN (Content Delivery Network) — serve content from servers geographically close to users
Content Delivery Networks
How large websites serve content quickly worldwide
CDN: distributed network of servers that cache static content (images, CSS, JS, video) geographically near users. Request goes to nearest CDN edge server instead of origin server. Reduces latency, reduces load on origin, improves availability. Cloudflare, Akamai, AWS CloudFront. Used by Netflix, YouTube, Amazon.
📖 Full Lesson →
🎥 Watch Instead
▶
Video coming soon
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 Content Delivery Networks
CDN
Tap to flip
🃏 Answer
CDN (Content Delivery Network) — serve content from servers geographically close to users
Content Delivery Networks — CDN: distributed network of servers that cache static content (images, CSS, JS, video) geographically near users. Request goes to nearest CDN edge server instead of origin server. Reduces latency, reduces load on origin, improves availability. Cloudflare, Akamai, AWS CloudFront. Used by Netflix, YouTube, Amazon.
Tap to flip back
SSH and Remote Access
SSH (Secure Shell) — encrypted remote access. Port 22. Public/private key authentication safer than passwords.
SSH and Remote Access
How developers securely connect to remote servers
SSH: encrypted protocol for remote command-line access. Replaced Telnet (plaintext). Key-based authentication: generate public/private key pair. Public key placed on server. Private key stays on client. More secure than passwords — can't be brute-forced if key is long enough. Port forwarding: tunnel other protocols through SSH.
📖 Full Lesson →
🎥 Watch Instead
▶
Video coming soon
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 SSH and Remote Access
SSH — what, which port, best login method?
Tap to flip
🃏 Answer
SSH (Secure Shell) — encrypted remote access. Port 22. Public/private key authentication safer than passwords.
SSH and Remote Access — SSH: encrypted protocol for remote command-line access. Replaced Telnet (plaintext). Key-based authentication: generate public/private key pair. Public key placed on server. Private key stays on client. More secure than passwords — can't be brute-forced if key is long enough. Port forwarding: tunnel other protocols through SSH.
Tap to flip back
🎓 Common Exam Questions

No saved cards yet — click ☆ Save on any memory trick.

Live group chat — up to 8 students per room