Transcript
172.16.77.200 slash 20. Which network is it on? You can answer in about ten seconds, with the same trick as the slash 26, moved one octet to the left. At most test centres you get a wipe-clean board and a marker. Here's what to write on it. Step one: find the octet that's being split. An address is four numbers, eight bits each. Slash 8, slash 16 and slash 24 are the clean edges. Slash 20 sits between 16 and 24, so the third octet is the one to watch. Here, that's 77. Step two: the mask number. Slash 20 reaches four bits into that octet. Write the mask row once: 128, 192, 224, 240. Four steps in, so the mask is 240. Step three: block size. 256 minus 240 is 16. Networks jump in sixteens in the third octet. Step four: count. 0, 16, 32, 48, 64, 80. 77 falls between 64 and 80. So the network is 172.16.64.0. The broadcast is one below the next block: 172.16.79.255. Twelve host bits give 4,094 usable addresses. Here's where people lose marks. Is 172.16.70.255 a valid host? Yes. It ends in 255, but it sits in the middle of the block. Only the very first and very last addresses are reserved. Even 172.16.65.0 is a normal host. Your turn: 10.1.130.9 slash 23. Third octet again, mask 254, block size 2. 130 is even, so the network is 10.1.130.0, and the broadcast is 10.1.131.255. So remember it like this: find the octet, 256 minus the mask, count in blocks. Want to check your answers? Comment SUBNET and I'll send you the free subnet calculator. Practise subnetting hands-on at seclern.com, and follow for more.