Network fundamentals

Network components

Clients (user devices), servers (provide resources), hubs (legacy, repeat everything), switches (smarter hubs, better security and bandwidth use), WAPs (radio bridge to the wired LAN), routers (connect networks, forward on IP), firewalls (traffic barrier), load balancers, proxy servers (intermediary for security and privacy), IDS (detects) vs IPS (detects and blocks), SDN controllers, NAS (file-level storage), SAN (block-level storage network), media (copper, fiber), and WAN links.

Resource models

Client/server uses a dedicated central server: centralized admin, easier backup, scalable. It costs more and needs specialized hardware and skills. The standard for business networks.

Peer-to-peer shares directly between peers: cheap, no infrastructure, but decentralized management and poor scalability. Fine for tiny setups only.

Network geography

Wired topologies

Physical topology is the actual cabling layout; logical topology is how data flows.

Wireless topologies

Infrastructure mode centralizes on a WAP, like a wireless star, and supports security controls. The standard at home.

Ad hoc is peer-to-peer with no AP; devices join and leave dynamically.

Wireless mesh mixes Bluetooth, Wi-Fi, microwave, cellular, and satellite for redundant coverage: satellite for long haul, microwave for medium, Wi-Fi for short. Used in disaster response and humanitarian missions.

Datacenter topologies

The three-tier hierarchy: core (high-performance backbone routers), distribution/aggregation (policy, ACLs, Layer 3 switches routing between subnets and VLANs), and access/edge (switches to endpoints). The layered design helps performance, management, scalability, redundancy, and fault isolation.

A collapsed core merges core and distribution into one layer, fine for small and medium datacenters.

Spine and leaf: leaf switches aggregate server traffic, and spine switches full-mesh the leaves. Lower latency, pairs well with SDN, and can hang off the core of a three-tier design.

Traffic flows: north-south enters and leaves the datacenter; east-west moves between servers inside it (dominant with SDN and virtualization).