ComputingComputer Networks

Computer Networking Cheat Sheet — 1-page PDF

OSI/TCP-IP layers, HTTP/DNS, TCP/UDP, IP/subnetting, routing, Ethernet/NAT/DHCP, security. The whole course on one dense, printable page for your midterm or final, with every formula typeset and worked examples where they help.

The first part is free below. See pricing →

For a specific exam: Computer Networks Final exam study sheet.

  • 1 pageUS Letter
  • 10 sections9 topics
  • Free previewfull sheet with Unlimited
Preview of the one-page Computer Networks cheat sheet: OSI/TCP-IP layers, HTTP/DNS, TCP/UDP, IP/subnetting, routing, Ethernet/NAT/DHCP, security Cheat sheet locked
the whole course, one page

On the sheet

What’s on it

The topics a typical Computer Networks exam tests, all on the one page.

  • OSI and TCP/IP layers
  • HTTP and DNS
  • TCP vs UDP
  • TCP handshake and congestion control
  • IP addressing and subnetting
  • Routing algorithms
  • ARP and Ethernet
  • NAT and DHCP
  • Network security basics

Free preview

The free part, as text

The free part of the sheet, section by section. Unlock the full sheet to read the rest, edit any block, and print it or save it as a PDF.

01Layers

OSI vs TCP/IP

OSI layerTCP/IPMain PDU / func
7 AppAppmsg; HTTP, DNS, SMTP
6 PresAppformat, encrypt, compress
5 SessAppdialog control
4 TransTransportsegment/datagram; TCP, UDP
3 NetInternetpacket; IP, routing
2 Data linkLinkframe; MAC, ARP, Ethernet
1 PhysLinkbits; media, signaling
Encapsulation
App data + headers/trailers added at each layer: .
PDU
Protocol data unit: app , TCP , IP , link , phys .
  1. End host: app + transport + IP + link + physical
  2. Router: IP + link + physical
  3. Switch: link + physical

Watch out:Layer names differ by model; exam usually maps the -layer model to a -layer stack by splitting link into data-link + physical.

02DNS

Record types

TypeMeaning
Aname IPv4
AAAAname IPv6
NSauthoritative server
CNAMEalias to canonical name
MXmail exchanger
  1. Stub resolver asks local recursive resolver
  2. Recursive resolver queries root TLD authoritative
  3. Result cached using TTL

Caching

TTL = time to live; cached DNS answer valid until TTL expires

reduces lookup delay and traffic

Watch out:DNS lookup may be cached at host, resolver, or browser; stale answer possible until TTL expires.

03Transport

TCP vs UDP

PropertyTCPUDP
Connectionconnection-orientedconnectionless
Reliabilityyesno
Orderingin-order byte streamno guarantee
Flow/congestion ctrlyesno
Header size20+ B8 B
Useweb, mail, file transferDNS, streaming, VoIP

04TCP

  1. Slow start: cwnd grows exponentially per RTT
  2. Congestion avoidance: cwnd grows linearly
  3. Fast retransmit: 3 duplicate ACKs loss suspected
  4. Fast recovery: reduce cwnd, avoid full slow start

Watch out:TCP ACKs are cumulative; one ACK can confirm many bytes. Duplicate ACKs often indicate a missing segment.

05IP/Subnetting

IPv4
-bit address, written as dotted decimal octets.

Hosts/subnet

usual IPv4 subnet with host bits; subtract network and broadcast addresses

Prefix

subnet mask network bits, host bits

CIDR notation

Network address

bitwise AND

Broadcast address

broadcast = network host bits all 1

IPv4 subnet broadcast

06Ethernet

Ethernet frame
Data-link PDU with destination MAC, source MAC, type/length, payload, FCS.

FCS

error detection in Ethernet

ARP
Resolves IPv4 address MAC address on local link.
  1. Host checks ARP cache
  2. Broadcast ARP request: "Who has ?"
  3. Owner replies unicast with MAC
  4. Cache entry stored for a while

Watch out:ARP works only within a LAN/broadcast domain; routers do not forward ARP broadcasts.

Ex.Send to remote host: need destination MAC?

Yes, but only of the next hop (default gateway), not the final remote IP host.

07NAT/DHCP

NAT
Network Address Translation: rewrites IP/port fields so many private hosts share one public IP.

Private IPv4 ranges

RangeUse
large private net
medium private net
small private net

Cheat sheet locked

Also on the full Computer Networks sheet

9 more sections, with every definition, formula and worked example. Unlimited unlocks every full sheet in the library to edit, print or save as a PDF, and makes unlimited sheets from your own notes.

HTTP

  • HTTP
  • Common methods
  • Status classes
  • Persistent conn

DNS

  • DNS

Transport

  • Port
  • TCP socket
  • Multiplexing
  • Demultiplexing

TCP

  • 3-way handshake
  • Sequence number
  • ACK number
  • Timeout/Retransmit
  • Flow vs congestion
  • Send window

IP/Subnetting

  • IPv6

Routing

  • Routing table
  • Algorithms
  • Shortest path
  • DV update
  • Metric

Ethernet

  • MAC address

NAT/DHCP

  • PAT
  • DHCP

Security

  • Threats
  • Confidentiality
  • Integrity
  • Authentication
  • Availability
  • TLS role

Unlock the full sheet $4.99 a month or $19 a semester

FAQ

Questions

About the Computer Networks sheet and making your own.

What does this Computer Networks cheat sheet cover?
It has 10 sections: Layers, HTTP, DNS, Transport, TCP, IP/Subnetting, Routing, Ethernet, NAT/DHCP and Security. Together they cover the topics a typical Computer Networks exam tests, including OSI and TCP/IP layers, HTTP and DNS, TCP vs UDP and TCP handshake and congestion control.
Is the computer networking cheat sheet free?
The first part is free to read on this page, with no account needed. The full sheet opens in the app with Unlimited ($4.99 a month or $19 for a semester), where you can edit it, print it or save it as a PDF. It is one US Letter page and prints cleanly in black and white or colour.
Can I bring this Computer Networks cheat sheet to my exam?
Only if your course allows a note sheet, so check the syllabus. This one is a single US Letter page. If your exam allows a different size, such as a 3x5 or 4x6 index card or one page front and back, Cheat Sheet AI makes one at exactly that size from your own lecture notes.
How accurate is it?
The sheet was written by our engine from a standard course outline, then a second model fact-checked every formula and statement against it; it corrected 2 statements before publishing. Notation and emphasis vary between courses, so check it against your own lecture notes.
Can I make a Computer Networks sheet from my own notes?
Yes. Upload your lecture slides, notes or study guide and Cheat Sheet AI writes a sheet in your course's notation, sized to exactly the space your exam allows. Your first sheets are free.

Your course, your notes, one page.

Make this from your notes

Upload your own Computer Networks slides or notes and get a study sheet in your course’s notation. Your first sheet needs no account, and a free account adds one more. See pricing