CSE 316 · Session 10 · try it yourself

Where the ones stop — is where the network stops

A mask is not a magic number. It is a boundary, written as 32 bits so a router can apply it with one instruction. Drag the boundary and watch the network swallow the address.

Any address in the block
Thirty-two bits — network part, host part, and the AND that separates them
The mask
—
Block size 2^(32−n)
—
Network address
—
address AND mask
The range it covers
—
first — last
bitsarebits.com · CSE 316 — Data Communication & Networking