02Chapter 2: The structure of an IPv4 addressThis chapter assumes you know what an IP address is and can do decimal arithmetic with powers of two. The Python examples are optional but run as shown.2 min read
03Chapter 3: Network part and host partThis chapter assumes you can convert between decimal and binary and know that an IPv4 address is a 32-bit number written as four octets. It covers how one address carries two pieces of information, and why routers need that split.2 min read
04Chapter 4: The original classful schemeThis chapter assumes you can read an IPv4 address as four decimal octets and know that each octet is 8 bits. It also assumes you can convert between binary and decimal. Both were covered in the earlier chapters.3 min read
05Chapter 5: Class ranges and default masksThis chapter assumes you can convert an octet between decimal and binary, and that you know an address has a network part and a host part. It covers how the first bits of an address decided its class, what range each class spans, and which default mask each class carried.2 min read
06Chapter 6: Subnet masks and prefix lengthThis chapter assumes you can convert between decimal and binary, know that an IPv4 address is 32 bits split into a network part and a host part, and have seen the default masks of classes A, B, and C. The mask is what turns that split from a rule tied to the first octet into a setting you can choose2 min read
07Chapter 7: Network address, broadcast address, and usable hostsThis chapter assumes you can convert between dotted decimal and binary, and that you know what a subnet mask and a prefix length are. Here you will use them to find the first address, the last address, and the number of usable hosts in a subnet.2 min read
08Chapter 8: CIDR: why classes were replacedThis chapter assumes you can convert between dotted decimal and binary, and that you know what a subnet mask and a prefix length are. It also assumes you know the default masks of classes A, B, and C.3 min read
09Chapter 9: Special-purpose address rangesNot every IPv4 address can be assigned to a host on the public internet. Several ranges are set aside for specific jobs. This chapter assumes you can read dotted-decimal addresses, know that a prefix such as /8 gives the number of network bits, and know the class boundaries from earlier chapters.2 min read
10Chapter 10: Public and private addressesThis chapter assumes you can read a dotted-decimal address, know that a prefix such as /24 splits an address into network and host parts, and recognize the special-purpose ranges from the previous chapter. It explains how addresses are split into public and private, and how to test which one you hav2 min read
11Chapter 11: The three RFC 1918 private rangesThis chapter assumes you can read dotted-decimal addresses, know that a prefix length such as /12 counts the network bits, and can work out the first and last address of a subnet. It covers the three blocks reserved for private use, how to test an address against them, and the errors people commonly2 min read
12Chapter 12: How NAT lets private hosts reach the internetThis chapter assumes you know the three RFC 1918 private ranges and the difference between a public and a private address. Routers on the internet do not forward packets to or from private addresses. Network address translation (NAT) is the mechanism that lets hosts with private addresses still use 3 min read
13Chapter 13: Pitfalls: range boundaries and overlapping networksThis chapter assumes you can read CIDR prefixes and know the three RFC 1918 ranges. It covers two mistakes that cause real outages: misjudging where a private range ends, and giving two networks addresses that overlap.2 min read
14Chapter 14: Shared address space (100.64.0.0/10) and carrier-grade NATThis chapter assumes you know the three RFC 1918 private ranges, how a CIDR prefix defines a block, and the basic idea of NAT from the earlier chapters. It covers a fourth block that looks private but is not.3 min read