Takeaways from my Computer Networking Cheatsheet

A concise network guide covering key topologies, protocols, devices, and security essentials—all in one place to help you design, troubleshoot, and scale any computer network with confidence.

A computer network is a group of interconnected devices that exchange data using defined communication protocols, forming the backbone of digital transformation.


Topology Options

TopologyDescription
BusSingle shared cable — simple but collision-prone
RingEach node in a loop — orderly but breaks on one failure
StarAll nodes link to a central hub — robust but hub-dependent
MeshEvery node connects to multiple peers — fault-tolerant but complex
Tree/HybridCombinations of star, bus, ring, and mesh for scalability

Network Scopes

ScopeCoverage
PANPersonal Area Network (a few devices)
LANLocal Area Network (single site)
MANMetropolitan Area Network (city-wide)
WANWide Area Network (regional/global)

TCP/IP Model ↔ OSI Layers

TCP/IP LayerOSI LayerExamples
LinkData Link / PhysicalEthernet, ARP, Wi-Fi, Bluetooth
InternetNetworkIP, ICMP, IPsec
TransportTransportTCP, UDP
ApplicationSession / Presentation / ApplicationHTTP, HTTPS, DNS, FTP, SSH

Key Protocols

ProtocolPurposeDefault Port(s)
TCPReliable, ordered delivery
UDPLow-overhead, best-effort
IPAddressing & routing
HTTPWeb traffic80
HTTPSEncrypted web traffic443
DNSDomain name resolution53

Core Networking Devices

DeviceFunction
SwitchForwards frames based on MAC addresses
RouterDirects packets using IP routing tables
FirewallEnforces security policies at network boundaries
Access PointBridges wired and wireless segments

Media Choices

Media TypeProsCons
Copper CableCost-effective, easy to installLimited distance & bandwidth
Fiber OpticVery high bandwidth, long distanceHigher cost, delicate installation
WirelessFlexible coverage, no cablingSubject to interference, security

Security Essentials

FeatureRole
AuthenticationVerifies user/device identity
Encryption (TLS)Protects data in transit
Network Address Translation (NAT)Translates private ↔ public IPs

> Keep these high-level points in mind when designing, troubleshooting, or scaling any network.

Mon Aug 04 2025