What Is the Internet?
The Internet can be described in two ways:
Nuts-and-Bolts Description — The Internet is a computer network that interconnects billions of computing devices (called hosts or end systems) worldwide through a network of communication links and packet switches (routers and link-layer switches). End systems access the Internet through Internet Service Providers (ISPs).
Services Description — The Internet is an infrastructure that provides services to distributed applications (e.g., Web, email, streaming, social networks). Applications run on end systems, not on packet switches. End systems provide a socket interface that specifies how a program asks the Internet to deliver data to a destination program.
Definition of a Protocol. A protocol defines the format and the order of messages exchanged between two or more communicating entities, as well as the actions taken on the transmission and/or receipt of a message or other event.
Internet standards are developed by the Internet Engineering Task Force (IETF). Standards documents are called Requests for Comments (RFCs).
The Network Edge
End systems are also referred to as hosts. Hosts are divided into clients and servers. Most servers reside in large data centers (e.g., Google has 50-100 data centers).
Access Networks — The network that physically connects an end system to the first router (edge router):
| Type | Technology | Downstream Rate | Key Feature |
|---|---|---|---|
| DSL | Telephone line (twisted-pair copper) | up to 55 Mbps | Asymmetric; uses frequency-division multiplexing |
| Cable | HFC (hybrid fiber coax) | up to 42.8 Mbps (DOCSIS 2.0) | Shared broadcast medium |
| FTTH | Optical fiber | Gbps range | PON or AON architecture |
| Ethernet | Twisted-pair copper | 100 Mbps - 10 Gbps | Dominant LAN technology |
| WiFi (802.11) | Radio spectrum | up to 100+ Mbps | Wireless LAN |
| 3G/4G (LTE) | Cellular radio | 10+ Mbps | Wide-area wireless |
Physical Media — Two categories:
- Guided media: twisted-pair copper wire, coaxial cable, fiber-optic cable
- Unguided media: terrestrial radio spectrum, satellite radio spectrum
Optical Carrier (OC) standard link speeds: OC-n = n × 51.8 Mbps (OC-1, OC-3, …, OC-768).
The Network Core
Packet Switching — End systems break data into packets. Each packet travels through the network independently. Store-and-forward transmission: a packet switch must receive the entire packet before it can begin to transmit on the output link.
Store-and-Forward Delay. If a packet of L bits is transmitted at rate R bps, the time to push the packet onto the link is L/R seconds. With N links of rate R between source and destination, the end-to-end delay for one packet is: d_end = N × (L/R)
Circuit Switching — A dedicated end-to-end circuit is established before communication. Resources along the path are reserved for the duration. Example: traditional telephone network. Uses Frequency-Division Multiplexing (FDM) or Time-Division Multiplexing (TDM).
Key Comparison:
- Packet switching: no reservation, statistical sharing, can be “best-effort”
- Circuit switching: guaranteed resources, but less efficient for bursty traffic
A Network of Networks — ISPs are interconnected in a hierarchy:
- Access ISPs (residential, corporate, university)
- Regional ISPs
- Tier-1 ISPs (e.g., Level 3, AT&T, Sprint, NTT)
- IXP (Internet Exchange Point) — a meeting point where multiple ISPs peer together
- PoP (Point of Presence) — a group of routers in an ISP’s network where routers from other ISPs can connect
Delay, Loss, and Throughput
Four Sources of Packet Delay:
- Processing delay (d_proc) — time to examine packet header, check bit-level errors
- Queuing delay (d_queue) — time waiting in output buffer for transmission
- Transmission delay (d_trans = L/R) — time to push all bits of packet onto the link
- Propagation delay (d_prop = d/s) — time for signal to propagate across the medium
Total Nodal Delay: d_nodal = d_proc + d_queue + d_trans + d_prop
Traffic Intensity — Let L = packet length (bits), a = average packet arrival rate (packets/sec), R = transmission rate (bps). Traffic intensity = La/R.
- If La/R > 1: queue grows without bound (infinite delay)
- If La/R <= 1: queuing delay depends on burstiness of arrivals
Packet Loss — When a queue (output buffer) is full, arriving packets are dropped (lost).
Throughput — The rate at which bits are transferred from sender to receiver. For a path with multiple links, the bottleneck link (the link with the smallest transmission rate) determines the end-to-end throughput.
Protocol Layers and Service Models
Five-Layer Internet Protocol Stack:
| Layer | Description | Protocols/Units |
|---|---|---|
| Application | Support network applications | HTTP, SMTP, DNS, FTP — messages |
| Transport | Process-to-process data delivery | TCP, UDP — segments |
| Network | Routing datagrams from source to destination | IP, routing protocols — datagrams |
| Link | Data transfer between neighboring network elements | Ethernet, WiFi, PPP — frames |
| Physical | Moving individual bits across the wire | — bits |
OSI Model adds two layers: Presentation and Session.
Encapsulation — Each layer takes data from the layer above, adds header information, and passes it to the layer below. At the receiving end, the process is reversed (de-encapsulation).
Networks Under Attack
- Malware: viruses (user interaction needed) and worms (self-propagating without user action)
- Botnet: network of compromised devices controlled by attackers
- DoS (Denial-of-Service) attacks:
- Vulnerability attack (crash the target with crafted messages)
- Bandwidth flooding (overwhelm the target’s access link)
- Connection flooding (bogus TCP connections)
- Packet sniffing: passive receiver captures packets (e.g., WiFi)
- IP spoofing: sending packets with a false source address
Key Formulas
| Concept | Formula | Variable Meaning |
|---|---|---|
| Transmission delay | d_trans = L / R | L = packet length (bits), R = link rate (bps) |
| Propagation delay | d_prop = d / s | d = distance, s = propagation speed (~2.5×10⁸ m/s) |
| Total nodal delay | d_nodal = d_proc + d_queue + d_trans + d_prop | Four delay components |
| Traffic intensity | I = La / R | L = packet size, a = arrival rate, R = link rate |
| End-to-end delay (N links, 1 packet) | d_e2e = N × L / R | Store-and-forward over N same-rate links |
References
- Computer Networking: A Top-Down Approach, 7th Edition — James F. Kurose and Keith W. Ross, Pearson, 2017
- RFC 793 — Transmission Control Protocol
- RFC 768 — User Datagram Protocol