A structured lesson workspace with readable content, hands-on examples, and a clean path to completion.
You don't need to be a binary wizard. You need eight place values memorized and a habit of subtracting. That's the entire skill. Practice for one afternoon and you'll do subnetting in your head faster than most candidates with a calculator.
| Bit position | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Place value | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
Each bit in an octet corresponds to one of these values. To convert decimal to binary, start from 128 and ask: is my number ≥ 128? If yes, set bit 8 and subtract 128. Then move to 64. Repeat until you reach 1.
Example: convert 200. Is 200 ≥ 128? Yes → bit 8 = 1, remaining = 72. Is 72 ≥ 64? Yes → bit 7 = 1, remaining = 8. Is 8 ≥ 32? No → bit 6 = 0. Same for 16 (bit 5). Is 8 ≥ 8? Yes → bit 4 = 1, remaining = 0. All remaining bits 0.
Result: `11001000`. Every conversion follows the same pattern. With practice you'll do it in under five seconds.
Going the other way is even easier. Add the place values of every bit that's set to 1. `10101000` = 128 + 32 + 8 = 168. `11111111` = 255. `00000000` = 0.
Notice the pattern: each /N in the third and fourth octets adds one more leading 1. 128, 192, 224, 240, 248, 252, 254, 255. That's a sequence, not a lookup — memorize it as a sequence and you can derive any prefix length instantly.
AND returns 1 only if both inputs are 1. Everything else returns 0. When you AND an IP with a mask, the mask's zeros zero out the host bits, leaving the network address.
IP: 11000000.10101000.00001010.01100100 (192.168.10.100)Mask: 11111111.11111111.11111111.11000000 (255.255.255.192)AND: 11000000.10101000.00001010.01000000 (192.168.10.64)Result: the network address is 192.168.10.64/26
Drill until you can convert 20 random octets in under 60 seconds. Exam shortcut: memorize 128,192,224,240,248,252,254,255 = /25-/32. Block size = 256 - mask. You rarely need full binary on exam day if you know both.
Binary conversion in hand. Next lesson applies it directly to subnetting.
Finish the lesson once you have worked through the material. This awards ★ 40 XP.