A Computer Network is defined as an interconnected collection of autonomous computing devices (computers, servers, smartphones, network switches, IoT devices) that communicate with one another using standardized protocols over physical or wireless transmission media.
The foundational design goals and business drivers of computer networks include:
- Resource Sharing: Making expensive hardware (high-capacity printers, optical storage arrays, GPUs) and software programs available to any network user regardless of physical location.
- High Reliability & Redundancy: Replicating files and databases across multiple redundant machines. If one server experiences hardware failure, alternate machines seamlessly assume processing duties.
- Cost Reduction: Small interconnected workstations communicating with centralized server clusters provide vastly superior price-to-performance ratios compared to monolithic mainframes.
- High-Speed Communication: Providing near-instantaneous global messaging (email, video conferencing, real-time collaboration).
- Distributed Processing: Distributing compute-heavy tasks across multiple cooperative worker nodes in parallel.
Networks are architecturally structured into two fundamental relationship models:
| Architectural Parameter | Client-Server Architecture | Peer-to-Peer (P2P) Architecture |
|---|---|---|
| Control Philosophy | Centralized: Dedicated servers manage resources and dictate security policies. | Decentralized: All nodes (peers) possess equal operational status and rights. |
| Role Specialization | Rigid: Clients request services; Servers process and fulfill requests (Web, File, Database servers). | Fluid: Every node operates simultaneously as both a client (consumer) and a server (provider). |
| Scalability & Performance | High: Servers are optimized for heavy concurrent workloads, though servers can become bottlenecks. | Extremely High for file distribution (BitTorrent): Aggregate bandwidth increases as more peers join. |
| Administration & Backup | Simple & Unified: Centralized data backups, user access control lists (ACLs), and audit logging. | Complex: Backups and security must be managed independently on each individual host machine. |
| Implementation Cost | High: Requires dedicated server hardware, specialized operating systems, and network administrators. | Minimal: Inexpensive; uses existing desktop workstations and standard operating systems. |
Computer networks are universally classified by the physical geographic diameter they encompass:
- PAN (Personal Area Network): Spans a radius of $1$ to $10$ meters centered around an individual. Uses short-range technologies like Bluetooth (IEEE 802.15.1), Zigbee, and USB. Connects wireless earphones, smartwatches, and laptops.
- LAN (Local Area Network): Confined to a geographically restricted area such as a single room, office floor, school laboratory, or university campus (up to a few kilometers). Characteristics: privately owned, ultra-high data rates ($100\text{ Mbps}$ to $10\text{ Gbps}$ Ethernet / Wi-Fi), and extremely low bit-error rates.
- MAN (Metropolitan Area Network): Spans an entire city or municipal district (typically $10$ to $50\text{ km}$). Classic examples include city cable television networks, municipal traffic camera networks, and inter-branch bank networks across a metropolis.
- WAN (Wide Area Network): Spans vast geographical regions crossing country borders, continents, or the entire globe. Characteristics: utilizes public telecommunications backbones, leased undersea fiber cables, and communication satellites; operates at lower speeds and higher error rates compared to LANs. The Internet is the quintessential global WAN.