Getting everything ready for you…

Loading courses, problems and your progress. This takes just a moment.

0s

Computer Networks Cheat Sheet

Layers

7 Application · 6 Presentation · 5 Session · 4 Transport · 3 Network · 2 Data link · 1 Physical
Units: data → segment → packet → frame → bits
Devices: hub L1 · switch L2 · router L3

Numbers

Hosts = 2^(32 − prefix) − 2       Block = 256 − mask octet
Private: 10/8 · 172.16/12 · 192.168/16
Ports: 22 SSH · 25 SMTP · 53 DNS · 80 HTTP · 443 HTTPS · 3306 MySQL
TCP header 20–60 B · UDP header 8 B

Protocol flow

URL → DNS (UDP 53) → TCP handshake → TLS → HTTP request → response → render
DHCP: Discover → Offer → Request → Ack
TCP open: SYN, SYN-ACK, ACK · close: FIN, ACK, FIN, ACK

Full Computer Networks documentation