From fundamentals to troubleshooting: models, switching, addressing, routing, services, security, and cross-platform tools.

Conventions used throughout


Part 1: Foundations

1.1 What is a network?

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

1.2 Network components

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

1.3 Network types by scope