From fundamentals to troubleshooting: models, switching, addressing, routing, services, security, and cross-platform tools.
Conventions used throughout
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or documentation ranges (192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24). IPv6 examples use 2001:db8::/32. They are illustrations, not real configurations.sudo (Linux).192.168.1.10, PC2 192.168.1.20, Router 192.168.1.1, all in 192.168.1.0/24; the router's other side is 10.10.10.1/24.A network is two or more devices connected so they can exchange data and share services and resources.
| Service | Purpose | Example |
|---|---|---|
| Data sharing | Share files between users | File server (SMB, FTP) |
| Resource sharing | Share printers, scanners | Print server |
| VoIP | Voice calls over IP | Cisco CUCM, FreePBX, SIP |
| Video conferencing | Remote meetings | Zoom, Microsoft Teams |
| IoT | Smart devices reachable over IP | Smart home, sensors |
| Cloud computing | Remotely hosted servers and services | AWS, Azure, Google Cloud |
Key performance terms
| Term | Meaning |
|---|---|
| Bandwidth | Maximum capacity of a link (e.g. 1 Gbps) |
| Throughput | Data rate actually achieved |
| Latency | Delay for data to travel from source to destination (ms) |
| Jitter | Variation in latency; hurts voice and video |
| Packet loss | Percentage of packets that never arrive |
flowchart LR
subgraph E[End devices]
PC[PCs and laptops]
PH[IP phones]
CAM[Cameras]
PR[Printers]
end
subgraph N[Network devices]
SW[Switch]
RT[Router]
FW[Firewall]
AP[Access point]
end
subgraph M[Media]
CB[Copper and fiber cables]
WL[Wireless radio]
end
E <--> N
N <--> M
Network devices
| Device | Role | Layer | Status |
|---|---|---|---|
| Hub | Repeats every signal out of every port (one collision domain) | 1 | Obsolete |
| Bridge | Connects two segments, filters by MAC | 2 | Obsolete (replaced by switches) |
| Repeater | Regenerates a weakened signal | 1 | Obsolete as a standalone device |
| Switch | Forwards frames using a MAC address table | 2 | In use |
| Layer 3 switch | Switch that also routes between VLANs/subnets | 2 and 3 | In use |
| Router | Forwards packets between different IP networks | 3 | In use |
| Firewall | Permits or blocks traffic by rules (stateful, application-aware, next-gen) | 3-7 | In use |
| Access point (AP) | Bridges Wi-Fi clients onto the wired network | 1-2 | In use |
A home "router" is usually several devices in one: router, switch, access point, DHCP server, DNS forwarder, NAT gateway, and firewall.
Media
| Medium | Notes |
|---|---|
| Twisted pair (Cat5e/Cat6/Cat6a) | Copper Ethernet, up to 100 m per segment |
| Fiber (multimode / single-mode) | Long distance, immune to electromagnetic interference |
| Wireless | Wi-Fi (802.11), cellular (4G/5G), Bluetooth |