02Chapter 2: Reading addresses in binaryThis chapter assumes you can convert single values from 0 to 255 between binary and decimal. It shows how to apply that skill to whole IPv4 addresses and masks, which is the basis for every subnet calculation that follows.2 min read
03Chapter 3: Network bits and host bitsThis chapter assumes you know what an IP address and a network are. It also assumes you can read binary and convert values from 0 to 255 between binary and decimal. Here you will see how one 32-bit address divides into a network part and a host part. Every later subnetting calculation builds on that3 min read
04Chapter 4: Why classful addressing was replacedThis chapter assumes you can convert between binary and decimal for values 0 to 255. It also assumes you know that an IPv4 address splits into a network part and a host part. Here you will see the older scheme that fixed that split, and why it was abandoned.2 min read
05Chapter 5: CIDR notation and prefix lengthThis chapter assumes you can read an IPv4 address as four octets, convert values from 0 to 255 between binary and decimal, and understand that an address has a network part and a host part. Here you will learn how CIDR writes down where that split falls.2 min read
06Chapter 6: Subnet masks and the bitwise ANDThis chapter assumes you can convert values from 0 to 255 between binary and decimal. It also assumes you know that a CIDR prefix such as /20 gives the number of network bits in an IPv4 address. Here you will turn a prefix into a subnet mask. You will then use the mask with a bitwise AND to find the3 min read
07Chapter 7: Network address, broadcast address, and usable hostsThis chapter assumes you can convert between binary and decimal, and that you know a prefix length such as /26 gives the number of network bits. You will learn how to find the three key values of any subnet: the network address, the broadcast address, and the range of usable host addresses.3 min read
08Chapter 8: Block size and subnet boundariesThis chapter assumes you can convert between binary and decimal, read a prefix length such as /26, and turn it into a subnet mask. It also assumes you know that the bitwise AND of an address and its mask gives the network address. Here you will find a subnet's boundaries with simple arithmetic and n2 min read
09Chapter 9: Splitting a network into equal subnetsThis chapter assumes you can convert between binary and decimal. It also assumes you know what a prefix length and a subnet mask are, and how to find the network and broadcast addresses of a block.2 min read
10Chapter 10: Variable-length subnet maskingThis chapter assumes you can compute a network address, broadcast address, and usable host range from a prefix length. It also assumes you know block sizes and how to split a network into equal subnets.2 min read
11Chapter 11: Special prefixes and reserved rangesThis chapter assumes you can compute a network address, a broadcast address, and usable hosts for a prefix. Some prefixes and address blocks break the usual "subtract two" rule or have a fixed meaning. You need to recognize them.2 min read
12Chapter 12: Summarizing routesRoute summarization (also called supernetting) replaces several contiguous routes with one shorter-prefix route. Routing tables get smaller, and updates between routers shrink. This chapter assumes you can find a block's size and network address from a prefix length, as covered in the earlier chapte3 min read
13Chapter 13: Longest-prefix match in routingThis chapter assumes you can read CIDR notation, compute a subnet's network and broadcast addresses, and know what a summary route is. It explains how a router chooses among routes when more than one matches a destination.2 min read
14Chapter 14: Checking your work with PythonThis chapter assumes you can compute network addresses, broadcast addresses, and block sizes by hand, and that you know basic Python. Manual subnetting is error-prone, so you will use Python's standard ipaddress module as an independent check. It needs no installation.2 min read