1. What Defines a Computer Network?
At its most fundamental level, a network is a collection of autonomous computing nodes and interconnected transmission channels that facilitate communication across distances ranging from a few micrometers (on silicon dies) to millions of kilometers (interplanetary spacecraft links).
Every modern communication system must solve two basic physical challenges:
- 1Connectivity: Providing a transmission path through copper conductors, optical waveguides, or electromagnetic radio waves.
- 2Resource Sharing: Allowing thousands or millions of concurrent users and processes to transmit data over shared physical channels without destructive interference.
2. Shannon's Channel Capacity & Physical Limits
The ultimate data-carrying ceiling of any transmission link is governed by Claude Shannon's Channel Capacity theorem:
The maximum amount of clean, error-free data you can transmit through a physical wire or radio frequency depends on two things: how wide the frequency pipe is (Bandwidth) and how loud the signal is over background noise (SNR).
CChannel CapacityMaximum achievable data transfer rate in bits per second (bps)
BBandwidthWidth of frequency spectrum available on the channel (in Hertz)
SNRSignal-to-Noise RatioRatio of pure signal power compared to background interference/noise
Where the terms represent:
- C is the maximum theoretical channel capacity in bits per second (bps).
- B is the analog bandwidth of the physical channel in Hertz (Hz).
- SNR is the Signal-to-Noise Ratio (the ratio of signal power to background noise power, P_signal / P_noise).
Key Engineering Insight: To increase the transmission speed C of a network link, engineers must either widen the physical frequency bandwidth B (such as transitioning from copper wire to optical fiber) or boost the signal power relative to noise SNR. However, because SNR resides inside a logarithmic function, linear increases in signal power yield diminishing returns in data rate.
3. Guided Transmission Media
Guided transmission media confine electromagnetic energy within physical solid conductors or optical waveguides:
- Coaxial Cable: Invented by Oliver Heaviside in 1880, coaxial cable consists of a central copper core surrounded by a dielectric insulator, a woven metallic shield, and an outer protective jacket. The braided shield acts as a Faraday cage, preventing external electromagnetic interference (EMI). While coax was used for early 10 Mbps Ethernet (10BASE5 thicknet and 10BASE2 thinnet), it remains widely deployed today in cable broadband systems (DOCSIS).
- Twisted Pair Wiring (Cat 5e/6/6A/8): Two insulated copper conductors twisted in a continuous helical pattern. The twisting causes electromagnetic noise induced from external sources to affect both wires equally; at the receiving end, a differential receiver subtracts the signals, effectively canceling common-mode noise and crosstalk. The transmission bandwidth is directly proportional to the number of twists per inch: Category 3 offers 16 MHz, Category 5 offers 100 MHz, and modern Category 6A/8 supports 500–2000 MHz over distances up to 100 meters.
- Optical Fiber: Silica glass cores that guide pulses of infrared laser light via Total Internal Reflection. Single-Mode Fiber (SMF) features an ultra-narrow core (8–10 µm) eliminating modal dispersion, supporting bandwidth-distance products exceeding thousands of terabit-kilometers.
4. Unguided Media: Microwaves & Satellite Orbits
When physical cables cannot be laid economically, electromagnetic radio waves propagate through the atmosphere or free space:
- Terrestrial Microwave Towers: High-frequency radio transmissions (1–30 GHz) travel along straight lines of sight. Network operators construct arrays of tall towers spaced tens of kilometers apart to bypass rugged terrain, though atmospheric rain attenuation must be budgeted above 11 GHz.
- Geostationary Satellites (GEO): Orbiting exactly 35,786 kilometers above the equator, their orbital period matches Earth's 24-hour rotation, making them appear fixed in the sky. While providing vast continental footprints, the extreme distance introduces an unavoidable one-way light propagation delay of approximately 250 milliseconds (500 ms round trip).
- Medium Earth Orbit (MEO): Altitudes between 2,000 and 35,786 km (used by GPS constellations), with pass durations between 2 and 8 hours.
- Low Earth Orbit (LEO): Altitudes between 160 and 2,000 km. Orbiting the globe in 90 to 120 minutes, LEO constellations (such as Starlink) deliver low-latency (20–40 ms) broadband, requiring complex phased-array antenna beam tracking and inter-satellite laser links.
5. Multiplexing: FDM, TDM, & Frequency Hopping
Multiplexing combines multiple independent information streams over a single shared physical channel:
- Frequency Division Multiplexing (FDM): The available frequency spectrum is sliced into non-overlapping sub-bands separated by guard bands. Each communication channel transmits simultaneously on its assigned carrier frequency (the basis of FM radio and optical DWDM).
- Time Division Multiplexing (TDM): The entire frequency band is allocated to a single channel, but only for a synchronized time slot inside a repeating frame. Used in legacy telephone carrier lines (T1/E1) and GSM cellular systems.
- Frequency Hopping Spread Spectrum (FHSS): The carrier frequency rapidly hops across a pseudo-random sequence of radio channels known only to the transmitter and receiver, providing resilience against deliberate narrowband jamming and eavesdropping.
6. Circuit Switching vs. Packet Switching
Modern network engineering represents a historic transition between two switching paradigms:
Circuit Switching (Dedicated Channel):
Host A ============= [ Fixed Physical Circuit ] =============> Host B
(Dedicated circuit reserved end-to-end; idle during silent pauses)
Packet Switching (Statistical Multiplexing):
Host A ---> [ Pkt 1 ] ---> [ Router Queue ] ---> [ Pkt 1 ] ---> Host B
Host C ---> [ Pkt 2 ] ----/ ---> [ Pkt 2 ] ---> Host D
(Packets dynamically multiplexed; optimal line utilization)- 1Circuit Switching: A dedicated physical route is established before data transfer begins. Guarantees constant throughput and zero jitter, but incurs call setup delay and wastes bandwidth during conversational silences.
- 2Packet Switching: Data is sliced into discrete packets carrying destination headers. Routers inspect each packet and forward it across the next available link. When network traffic is bursty, packet switching achieves dramatically higher channel utilization.
7. Layered Protocol Architecture & Encapsulation
To manage systemic complexity, protocols are organized in hierarchical stacks:
- Application Layer: User services (HTTP/3, SSH, DNS, gRPC).
- Transport Layer: Process-to-process communication, sequencing, and congestion control (TCP, UDP).
- Network Layer: Global logical addressing and route computation across multiple hops (IPv4, IPv6).
- Data Link Layer: Node-to-node framing, media access control, and link-level error detection (Ethernet MAC, Wi-Fi).
- Physical Layer: Bit-level transmission of electrical voltages, radio pulses, or laser photons.