02Chapter 2: Parity checks and two-dimensional parityThis chapter assumes you know binary numbers, XOR, and the idea that the data link layer must notice corrupted frames. It builds on the previous chapter's distinction between single-bit and burst errors. Parity is the simplest error-detecting code, and the 2D version is the first code in this tutori4 min read
03Chapter 3: Hamming distance: how many errors a code detects and correctsThis chapter assumes you know binary numbers and bitwise XOR, and that you understand why a data link layer adds redundancy to frames. It also assumes you have seen single-bit and burst errors and simple parity checks. The goal is a precise rule for how many errors any block code can detect or corre5 min read
04Chapter 4: Hamming code: locating and correcting a single-bit errorThis chapter assumes you know bitwise XOR, even parity, and the idea of Hamming distance from the previous chapter. A parity bit tells you that a frame is damaged but not where. A Hamming code adds several parity bits, each covering a different subset of positions, so the pattern of failed checks na5 min read
05Chapter 5: The Internet checksumThis chapter assumes you can add binary and hexadecimal numbers, know what XOR does, and have read the earlier chapters on parity and Hamming distance. The Internet checksum is the error check used in the IPv4 header, TCP, UDP and ICMP. It is weaker than a CRC but cheap to compute in software.4 min read
06Chapter 6: CRC: generator polynomials and modulo-2 divisionThis chapter assumes you know binary numbers and XOR, and that the data link layer must tell whether a received frame was corrupted. It also assumes you have seen parity and the Internet checksum. A cyclic redundancy check (CRC) is the stronger detector that Ethernet uses on every frame.5 min read
07Chapter 7: Sharing one channel: static versus dynamic allocationThis chapter assumes you know what the data link layer does in the layered model. It also assumes you know bandwidth, transmission delay and propagation delay, and that you have seen the Poisson distribution. The chapter sets up the medium access control (MAC) problem. Every later protocol in this t5 min read
08Chapter 8: Pure ALOHA and its throughputThis chapter assumes you know what the data link layer does and what frame transmission time means. It also assumes basic probability, including the Poisson distribution. You should be comfortable with an expression like e^(-2G).5 min read
09Chapter 9: Slotted ALOHA and its throughputThis chapter assumes you know the pure ALOHA model from the previous chapter: frames arrive as a Poisson process, a station sends immediately, and a collision destroys every frame involved. You should also be comfortable with the Poisson probability P(k) = (λ^k · e^−λ) / k!. Everything below builds 5 min read
10Chapter 10: Listening before sending: carrier sense and persistenceThis chapter assumes you know ALOHA and slotted ALOHA from the previous chapters, including why a station that transmits without checking the channel wastes capacity. It also assumes you can compute propagation delay as distance divided by signal speed.4 min read
12Chapter 12: Binary exponential backoffThis chapter assumes you know how CSMA/CD detects a collision and what slot time means (51.2 µs on 10 Mbps Ethernet). It covers how a station decides when to retry after a collision, why the retry rule doubles its range, and the numbers GATE questions ask for.4 min read
14Chapter 14: Efficiency of CSMA/CDThis chapter assumes you know transmission delay (Tt = frame bits / bandwidth), propagation delay (Tp = distance / signal speed), the slot time from the minimum-frame-size chapter, and basic probability. Efficiency is the fraction of channel time spent carrying successful frames. The rest is lost to4 min read
15Chapter 15: CSMA/CA and the hidden terminal problemThis chapter assumes you know carrier sensing and CSMA persistence, the CSMA/CD collision-detection idea, and binary exponential backoff. It also assumes you know that a MAC protocol decides who may transmit on a shared channel. Here you will see why those ideas fail on a wireless LAN and what 802.15 min read
16Chapter 16: Polling and token passingThis chapter covers controlled-access protocols. These give each station its turn to transmit, so frames never collide. It assumes you know the medium access control problem, transmission delay (Tt) and propagation delay (Tp), and why ALOHA and CSMA/CD lose capacity to collisions. It also derives th5 min read
17Chapter 17: MAC addressesA MAC address identifies a network interface on a local link. This chapter assumes you know the layered model, binary and hexadecimal notation, and the role of the data link layer. It covers the structure of a 48-bit address, the three address types, how a frame uses the address to decide who accept5 min read
18Chapter 18: The Ethernet frame: fields and size limitsThis chapter assumes you know what a frame is at the data link layer, how a CRC is computed by modulo-2 division, and why Ethernet needs a minimum frame length. It covers each field of the classic Ethernet frame, the limits on payload size, and the overhead calculations GATE questions use.5 min read
19Chapter 19: Learning switches and collision domainsThis chapter assumes you know the Ethernet frame fields and MAC addresses from the earlier chapters. It also assumes you know how CSMA/CD detects collisions and why the minimum frame size exists. Here we see how a switch removes most of those collisions and how it builds its forwarding table without4 min read
20Chapter 20: From 10 Mbps Ethernet to Gigabit EthernetThis chapter assumes you know the CSMA/CD rules, the slot time and minimum frame size derivation, the CSMA/CD efficiency formula, and how learning switches split collision domains. Here you will see what changed as Ethernet got faster and what stayed fixed. GATE questions often test this as "what ha5 min read