History and Structure of the Internet
In questa pagina 3
Where it comes from
The Internet (capital I) is the worldwide set of interconnected networks that speak the TCP/IP protocol family. Each technical choice is the answer to a problem met along the way, so the milestones are worth following in order.
| Year | Event | Why it matters |
|---|---|---|
| 1961-64 | packet switchingthe message is cut into small units (packets) that share the links is shown to be very efficient for bursty traffic | the idea behind everything: see Circuit Switching and Packet SwitchingA switching node can connect input to output in three ways. Circuit switching sets up a dedicated physical connection first (telephone network), delivery time T = 3N t_p + N t_s + M/R. Datagram packet switching splits the message into K packets with a header, each routed independently with store-and-forward, T = N t_p + (N+K-1)(M/K+H)/R, with optimal K = sqrt((N-1)M/H). Virtual circuit has three phases (setup, data, teardown): a dedicated logical connection without dedicated resources, with a local identifier that changes at each hop.Circuit Switching and Packet Switching → |
| 1967 | heterogeneous computers are to be connected through special nodes, the IMPs (Interface Message Processors), i.e. the first switches; funded by ARPA (US Department of Defense) | ARPANET is born |
| 1969 | ARPANET runs with 4 nodes (UCLA, UCSB, Stanford Research Institute, University of Utah) and a single protocol, NCP (Network Control Protocol). The first message was meant to be "LOGIN": the system crashed after two letters, so the first message ever was "LO" | first operational packet network |
| 1970 | ALOHAnet: wireless network linking the campuses of the Hawaiian islands | introduces random access to the medium: Multiple Access Protocols - ALOHA and CSMAWhen several stations share a medium a medium access (MAC) protocol must decide who transmits. Random access: pure ALOHA (transmit immediately, vulnerable time 2 t_F), slotted ALOHA (start only at slot boundaries, vulnerable t_F), CSMA (listen before talking, vulnerable tau_p) with 1-persistent, non-persistent and p-persistent variants, CSMA/CD (detects collisions while transmitting: needs t_F >= 2 tau_p, hence a minimum frame) and the Wi-Fi CSMA/CA (IFS, contention window with backoff, ACK, RTS/CTS and NAV). Controlled access: reservation, polling, token. Channelization: FDMA, TDMA, OFDMA, CDMA, SDMA.Multiple Access Protocols - ALOHA and CSMA → |
| 1970-80 | many different, non-interconnected networks appear | a way of joining them is needed |
| 1972 | gateways are proposed to interconnect heterogeneous networks, together with a protocol, TCP, for end-to-end communication over a mixed set of networks | the idea of internetworking |
| 1977 | ARPANET, ALOHANET and a packet radio network are interconnected as "ARPA Internet"; TCP is split into TCP and IP | the TCP/IP stack |
| 1983 | the DNS (Domain Name System) | readable names instead of numeric addresses |
| 1989 | the World Wide Web | the application that brought the Internet to the public |
| 1995 | the Internet becomes fully commercial |
The key idea of 1972: intelligence at the edges
Before TCP the network itself made sure data arrived correctly: the interior nodes (the IMPs) checked errors and retransmitted. TCP moves this duty from the network nodes to the end hosts: sender and receiver check between themselves that the data arrived, while the routers in between only forward packets and keep no memory of conversations. This is why the Internet scales: adding a router or a network does not force anyone to keep more per-connection state, and networks with different technologies (copper, fibre, radio) can be joined as long as they can carry an IP packet.
Definition (internetworking). Interconnection of heterogeneous networks by devices (gateways, today routers) that forward packets with a common format (IP). Every inner network may use its own link technology.
Example. A laptop on home Wi-Fi (radio) opens a page hosted in a fibre-connected data center: the IP packet crosses different technologies, and each one encapsulates the same packet in its own frame (Data Link Layer and FramingThe data link layer (DLL) delivers a frame from a node to an adjacent node over a link. Services: framing, medium access (MAC) with 48-bit MAC addresses, flow control, error detection and correction. It splits into DLC (framing, error and flow control) and MAC (shared medium access). Framing delimits frames with a flag: byte-oriented protocols (8-bit flag, ESC) use byte stuffing, bit-oriented ones (flag 01111110) use bit stuffing, which inserts a 0 after every five consecutive 1s.Data Link Layer and Framing →).
Who governs the Internet
No government owns the Internet; the bodies that coordinate it are:
| Body | Role |
|---|---|
| IANA (Internet Assigned Numbers Authority) | global coordination of the DNS root, of IP addresses and of other protocol resources |
| IETF (Internet Engineering Task Force) | short-term engineering problems and production of standards (RFC documents) |
| IRTF (Internet Research Task Force) | working groups on long-term research (protocols, applications, architecture) |
| IAB (Internet Architecture Board) | technical advisor to ISOC |
| ISOC (Internet Society) | organization that gathers and supports the others |
IANA does not assign addresses to single users: it distributes blocks, and users get their addresses from their ISP.
ISPs, hierarchy and exchange points
Definition (ISP). An Internet Service Provider is a telecom company that interconnects other (smaller) networks and gives them access to the Internet.
Inside an ISP the networks are joined by interior gateways (IG); between different ISPs exterior gateways (EG) are used. ISPs form a roughly tree-like hierarchy:
- national ISP (e.g. TIM, Fastweb, GARR for the research network);
- regional ISP, attached to one or more national ones;
- local ISP (e.g. a university), attached to a regional one.
Physical links do not necessarily coincide with logical ones: a local ISP may have a single physical cable but several logical relations with other ISPs.
Definition (NAP / IXP). A Network Access Point (or Internet Exchange Point) is a private institution providing a place where several ISPs interconnect. Direct exchange of traffic between two networks is peering; the alternative, where an ISP pays another one to reach the rest of the Internet, is transit.
Example. The MIX (Milan Internet eXchange) is the largest Italian NAP: ISPs, operators and content providers connect their backbones there to exchange IP traffic (peering) efficiently and more cheaply than transit. The MIX is not an ISP: it gives no access to end users and publishes no content.
Why NAPs exist: without them, traffic between two Italian ISPs would have to climb up to a higher-level ISP (cost and delay) even if source and destination are close; with peering in Milan the two ISPs exchange it directly.
The rest of the course walks down the stack: ISO-OSI Model and TCP-IP StackCommunication between two computers is too varied a problem (signals, errors, medium access, routing, flow control, data representation) for a single protocol, so it is divided into layers. The ISO/OSI model has 7 layers (physical, data link, network, transport, session, presentation, application); the TCP/IP stack merges the top three into one application layer, so it has 5. Each layer offers a service to the one above and talks only to its peer layer through PDUs; going down a header (PCI) is added: encapsulation. Addresses: MAC (link, local), IP (network, global), port (transport).ISO-OSI Model and TCP-IP Stack → describes the layers and Network Devices - Hub, Switch and RouterDevices that interconnect networks differ by the highest layer of the stack they read. Hub (layer 1): a repeater, regenerates the signal and sends it out of all ports, all stations share the capacity. Bridge and switch (layer 2): read the MAC address and forward only to the right port, learning the table (FDB) from source addresses. Router (layer 3): reads the IP address and joins independent networks (internetwork). Switches and bridges isolate traffic and are plug and play; the router gives optimal routing but must be configured.Network Devices - Hub, Switch and Router → the devices.
Versione ripasso
- Milestones.
- 1961-64: packet switching is efficient for bursty traffic (Circuit Switching and Packet SwitchingA switching node can connect input to output in three ways. Circuit switching sets up a dedicated physical connection first (telephone network), delivery time T = 3N t_p + N t_s + M/R. Datagram packet switching splits the message into K packets with a header, each routed independently with store-and-forward, T = N t_p + (N+K-1)(M/K+H)/R, with optimal K = sqrt((N-1)M/H). Virtual circuit has three phases (setup, data, teardown): a dedicated logical connection without dedicated resources, with a local identifier that changes at each hop.Circuit Switching and Packet Switching →).
- 1967: ARPA project with IMP nodes, the first switches.
- 1969: ARPANET with 4 nodes, protocol NCP; first message "LO" (the system died before "LOGIN" was complete).
- 1970: ALOHAnet, wireless network in Hawaii (Multiple Access Protocols - ALOHA and CSMAWhen several stations share a medium a medium access (MAC) protocol must decide who transmits. Random access: pure ALOHA (transmit immediately, vulnerable time 2 t_F), slotted ALOHA (start only at slot boundaries, vulnerable t_F), CSMA (listen before talking, vulnerable tau_p) with 1-persistent, non-persistent and p-persistent variants, CSMA/CD (detects collisions while transmitting: needs t_F >= 2 tau_p, hence a minimum frame) and the Wi-Fi CSMA/CA (IFS, contention window with backoff, ACK, RTS/CTS and NAV). Controlled access: reservation, polling, token. Channelization: FDMA, TDMA, OFDMA, CDMA, SDMA.Multiple Access Protocols - ALOHA and CSMA →).
- 1972: gateways and TCP for end-to-end communication.
- 1977: ARPANET + ALOHANET + packet radio interconnected; TCP split into TCP and IP.
- 1983 DNS; 1989 WWW; 1995 fully commercial.
- Key idea: intelligence at the edges. Before TCP the interior nodes (IMPs) checked errors and retransmitted. With TCP the end hosts do it; routers only forward and keep no per-conversation state. Hence the Internet scales and can join networks of different technologies as long as they carry IP packets.
- Internetworking. Heterogeneous networks joined by gateways (routers) forwarding a common format, IP. Each hop encapsulates the same IP packet in its own frame (Data Link Layer and FramingThe data link layer (DLL) delivers a frame from a node to an adjacent node over a link. Services: framing, medium access (MAC) with 48-bit MAC addresses, flow control, error detection and correction. It splits into DLC (framing, error and flow control) and MAC (shared medium access). Framing delimits frames with a flag: byte-oriented protocols (8-bit flag, ESC) use byte stuffing, bit-oriented ones (flag 01111110) use bit stuffing, which inserts a 0 after every five consecutive 1s.Data Link Layer and Framing →).
- Governance. No government owns the Internet. IANA: DNS root, IP addresses, protocol resources. IETF: short-term engineering and standards (RFC). IRTF: long-term research. IAB: advisor of ISOC. Users get IP addresses from their ISP, not from IANA.
- ISP and hierarchy. An ISP interconnects smaller networks and gives them Internet access. Interior gateways (IG) inside an ISP, exterior gateways (EG) between ISPs. Roughly a tree: national, regional, local. Physical and logical links need not coincide.
- NAP / IXP. A place where several ISPs interconnect. Direct exchange of traffic is peering; paying another ISP to reach the rest of the Internet is transit. Example: the MIX in Milan lets ISPs peer instead of buying transit; it is not an ISP because it gives no access to end users.
- Typical mistakes: believing routers guarantee delivery (TCP at the end hosts does); thinking the MIX is an ISP; saying users get addresses directly from IANA.