01Chapter 1: IPv4 addresses: structure and notationAssume you can convert between binary and decimal, and you know that hosts, routers, and packets operate at different network layers. You should also understand that an IPv4 address identifies a network-layer interface.2 min read
02Chapter 2: Subnetting and subnet masksThis chapter assumes that you can convert between binary and decimal, understand IPv4 addresses as 32-bit values, and know that a router forwards packets between networks.2 min read
03Chapter 3: CIDR and prefix notationAssume you know binary and decimal conversion, IPv4 addresses, and the basic roles of hosts, packets, and routers. CIDR helps you describe IPv4 networks without relying on fixed address classes.2 min read
04Chapter 4: Variable-length subnet masksThis chapter assumes that you can convert between binary and decimal, read IPv4 prefix notation such as /24, and calculate usable hosts in a subnet. A subnet is a smaller logical network inside a larger IP network.2 min read
05Chapter 5: Route aggregation and supernettingAssume you know binary and decimal conversion, IPv4 prefixes, subnet masks, and the difference between a host and a router. This chapter uses those ideas to reduce routing-table size and select forwarding routes.2 min read
06Chapter 6: The IPv4 header fields that matterAssume you know binary and decimal conversion, the basic network layers, packets, routers, hosts, and weighted-graph terminology. This chapter focuses on the IPv4 header fields used in fragmentation and routing questions.2 min read
08Chapter 8: Computing fragment sizes, offsets and flagsAssume you know IPv4 header fields, binary arithmetic, and the meaning of an MTU (maximum transmission unit). An IPv4 datagram may be fragmented when its total size exceeds the outgoing link’s MTU.2 min read
09Chapter 9: Reassembly and loss of a single fragmentThis chapter assumes you know IPv4 headers, MTU, binary arithmetic, and the meaning of a packet and a router. You should also know that an IPv4 datagram is the network-layer unit delivered to the destination host.2 min read
10Chapter 10: Private address rangesAssume you know IPv4 notation, subnet masks, packets, routers, and TCP or UDP port numbers. This chapter focuses on addresses that are not globally routable and on the address translation performed by a network address translator (NAT).2 min read
11Chapter 11: PAT and the NAT translation tableAssume you know IPv4 addresses, transport-layer ports, and the difference between a private and a public address. A router performs PAT (Port Address Translation) when many private hosts share one public IPv4 address. PAT is also called NAT overload.1 min read
12Chapter 12: NAT limitations and trade-offsAssume you know IPv4 addresses, transport-layer ports, routers, and basic packet forwarding. You should also know that NAT maps one address and port combination to another.2 min read
13Chapter 13: Distance-vector routing and Bellman-FordAssume you know IPv4 addresses, forwarding, weighted graphs, and the difference between a router and a host. This chapter explains how routers learn paths when each router knows only its neighbors and the cost of reaching them.2 min read
14Chapter 14: Count-to-infinity, split horizon and poison reverseAssume you know IPv4 addressing, forwarding, and the basic distance-vector algorithm. A distance-vector router stores the cost to each destination and the next hop. Routers periodically exchange these values with their neighbors.2 min read
15Chapter 15: RIP: hop count and the infinity value of 16Assume you know IPv4 prefixes, forwarding tables, and basic weighted graphs. RIP and OSPF are routing protocols: they help routers learn paths. Forwarding then uses the selected path to send each packet.2 min read
16Chapter 16: OSPF: areas, flooding and costAssume you know IPv4 prefixes, routers, weighted graphs, and the basic difference between routing and forwarding. Open Shortest Path First (OSPF) is a link-state routing protocol used inside one autonomous system. An autonomous system is a network managed by one organization.2 min read
17Chapter 17: BGP and path-vector routing between autonomous systemsThis chapter assumes you know IPv4 prefixes, longest-prefix match, routing tables, and basic graph terminology. You should also know that an autonomous system (AS) is a network under one administrative authority.2 min read
18Chapter 18: GATE problem patterns and shortcutsThis chapter assumes binary-to-decimal conversion, IPv4 addressing, subnet masks, packet headers, and basic graph terminology. It also assumes that you know the difference between a host, a router, and a network.2 min read