Cluster
The networking basics, explained
Networking rests on two questions: which address, and how do the bytes travel. RFC 791 answers the first by defining the IPv4 packet and its 32-bit address. RFC 793 and RFC 768 answer the second, in opposite ways: TCP guarantees delivery, UDP guarantees nothing. Almost everything else is commentary on those three.
Addresses came first, and then ran out. RFC 791 gave the internet a 32-bit address, about 4.3 billion of them, which felt limitless in 1981. RFC 1918 bought two extra decades by reserving three blocks anyone may reuse inside their own network, invisible to the public internet. By 2012 even the providers had run dry, so RFC 6598 carved out a fourth block, one layer up, for carrier-grade NAT. The same trick, applied three times, to the same shortage.
Transport is the fork in the road. RFC 793 opens a connection, retransmits what is lost, puts packets back in order and slows down when the network complains. RFC 768 does none of that: eight bytes of header, no handshake, no promises. TCP is a registered letter, UDP a postcard. Neither is better; they answer different questions about what to do when a packet goes missing.
Then there is the rulebook nobody reads but everybody obeys. RFC 1122 and RFC 1123 are two halves of one document, STD 3, published the same day in 1989. They define no protocol. They walk through the ones that already existed and write down, clause by clause, the behaviour that a decade of independent implementations had been quietly disagreeing about. Independent TCP stacks interoperate because of them.
Start here
Seven pages, in the order that makes the picture come together fastest:
-
RFC 1918 The famous one
Private IP addresses, explained like you're new here.
Why your router is 192.168.0.1, and why millions of homes can share the same address without chaos. The most-used standard you have never read.
-
RFC 791 The foundation
IPv4, the envelope every packet travels in.
What an IP packet and a 32-bit address actually are. Everything above sits on this, and its address shortage caused everything below.
-
RFC 6598 The fourth range
The fourth private range nobody voted for.
Carrier-grade NAT and the 100.64 block. Why you cannot port forward on some connections, and how to tell.
-
RFC 793 The careful transport
TCP, the protocol that turns postcards into a phone call.
TCP: connections, retransmission, ordering. Reliable delivery at the price of latency and state.
-
RFC 768 The careless transport
UDP, the protocol that promises nothing.
UDP: eight bytes, no promises, three pages. The protocol DNS, video and HTTP/3 all chose on purpose.
-
RFC 1122 The rulebook, below
Ten years of TCP/IP bug reports, written down.
What a host must do with IP, TCP and UDP. Half of STD 3, and home of the Robustness Principle.
-
RFC 1123 The rulebook, above
The RFC that let hostnames start with a digit.
What a host must do with email, DNS, FTP and Telnet. The other half of STD 3, and the reason hostnames may start with a digit.