{"id":168966,"date":"2026-06-17T21:19:49","date_gmt":"2026-06-17T18:19:49","guid":{"rendered":"https:\/\/computingforgeeks.com\/?p=168966"},"modified":"2026-06-17T22:43:10","modified_gmt":"2026-06-17T19:43:10","slug":"subnetting-by-network-requirements","status":"publish","type":"post","link":"https:\/\/computingforgeeks.com\/subnetting-by-network-requirements\/","title":{"rendered":"How to Subnet: A Step-by-Step Guide to Subnetting by Network Requirements"},"content":{"rendered":"<p>Most people who struggle with the CCNA do not freeze on OSPF or VLANs. They freeze on a subnetting question with the clock running, because subnetting is the one skill the exam expects you to do in your head, fast, with no calculator. The good news: subnetting by network requirements is a fixed three-step method. Once you drill it, every &#8220;how many subnets&#8221; and &#8220;which mask&#8221; question becomes the same small piece of arithmetic.<\/p>\n\n<p>This guide shows you how to subnet by the number of networks you need, then drills the method against a Class C, a Class B, and a Class A starting point, plus the \/30 point-to-point link that shows up on nearly every exam. Every example shows the full arithmetic, the binary, the mask in both notations, and the resulting subnet list. Nothing is summarized away. It maps to objective 1.6 of the <a href=\"https:\/\/computingforgeeks.com\/quickly-prepare-for-ccna-200-301-exam\/\">CCNA 200-301 study guide<\/a>, and every example uses private RFC1918 or documentation address space.<\/p>\n\n<p><em>Worked through every example below by hand and verified the subnet math in June 2026.<\/em><\/p>\n\n<h2>The 3-step method for subnetting by network requirements<\/h2>\n\n<p>To subnet by the number of networks you need: (1) convert the required number of subnets to the minimum number of borrowed bits, (2) add those bits to the default mask to get the new prefix, (3) calculate the increment and list the subnets. That is the whole method. Here is each step.<\/p>\n\n<p><strong>Step 1, find the borrowed bits.<\/strong> Find the smallest number of bits whose combinations cover your requirement. The rule is the smallest <code>n<\/code> where 2 to the power of <code>n<\/code> is greater than or equal to the number of subnets you need. Need 5 subnets? Two bits give 4 combinations (too few), three bits give 8 (enough), so you borrow 3 bits.<\/p>\n\n<p><strong>Step 2, build the new prefix.<\/strong> Borrow those bits from the left of the host portion of the default classful mask. The new prefix length is the default prefix plus the borrowed bits. A Class C default is \/24, so borrowing 3 bits gives \/27.<\/p>\n\n<p><strong>Step 3, find the increment and list the subnets.<\/strong> The increment (block size) is the decimal value of the lowest borrowed bit. For a \/27 the borrowed bits sit in the fourth octet and the lowest one is the 32 position, so the increment is 32. Start at the network address and add the increment repeatedly to walk every subnet.<\/p>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Step<\/th><th>What you compute<\/th><th>Rule<\/th><\/tr><\/thead><tbody><tr><td>1<\/td><td>Borrowed bits<\/td><td>smallest n where 2^n is at least the number of subnets<\/td><\/tr><tr><td>2<\/td><td>New prefix<\/td><td>default prefix + borrowed bits<\/td><\/tr><tr><td>3<\/td><td>Increment<\/td><td>decimal value of the lowest borrowed bit; list subnets by adding it<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<h2>Class C example: 5 subnets from 192.168.5.0\/24<\/h2>\n\n<p>You need 5 subnets from a Class C network. Two bits give 4 combinations, which is not enough; three bits give 8, which covers 5 with room to spare. So borrow 3 bits. The new prefix is \/24 plus 3, which is \/27, and the mask is 255.255.255.224. In binary the fourth octet is <code>11100000<\/code>, and 128 plus 64 plus 32 equals 224, which confirms the mask.<\/p>\n\n<p>The lowest borrowed bit is the 32 position, so the increment is 32. Start at 192.168.5.0 and add 32 each time. That produces eight \/27 subnets; you use 5 and keep 3 spare. Each \/27 has 2 to the power of 5 host addresses, which is 32, leaving 30 usable after the network and broadcast are removed.<\/p>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Subnet<\/th><th>Network<\/th><th>First usable<\/th><th>Last usable<\/th><th>Broadcast<\/th><\/tr><\/thead><tbody><tr><td>192.168.5.0\/27<\/td><td>192.168.5.0<\/td><td>192.168.5.1<\/td><td>192.168.5.30<\/td><td>192.168.5.31<\/td><\/tr><tr><td>192.168.5.32\/27<\/td><td>192.168.5.32<\/td><td>192.168.5.33<\/td><td>192.168.5.62<\/td><td>192.168.5.63<\/td><\/tr><tr><td>192.168.5.64\/27<\/td><td>192.168.5.64<\/td><td>192.168.5.65<\/td><td>192.168.5.94<\/td><td>192.168.5.95<\/td><\/tr><tr><td>192.168.5.96\/27<\/td><td>192.168.5.96<\/td><td>192.168.5.97<\/td><td>192.168.5.126<\/td><td>192.168.5.127<\/td><\/tr><tr><td>192.168.5.128\/27<\/td><td>192.168.5.128<\/td><td>192.168.5.129<\/td><td>192.168.5.158<\/td><td>192.168.5.159<\/td><\/tr><tr><td>192.168.5.160\/27<\/td><td>192.168.5.160<\/td><td>192.168.5.161<\/td><td>192.168.5.190<\/td><td>192.168.5.191<\/td><\/tr><tr><td>192.168.5.192\/27<\/td><td>192.168.5.192<\/td><td>192.168.5.193<\/td><td>192.168.5.222<\/td><td>192.168.5.223<\/td><\/tr><tr><td>192.168.5.224\/27<\/td><td>192.168.5.224<\/td><td>192.168.5.225<\/td><td>192.168.5.254<\/td><td>192.168.5.255<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<h2>Class B example: 60 subnets from 172.16.0.0\/16<\/h2>\n\n<p>Now the requirement is 60 subnets from a Class B network. Five bits give 32 combinations (too few), six bits give 64 (enough for 60), so borrow 6 bits. The default Class B prefix is \/16, so the new prefix is \/22 and the mask is 255.255.252.0. In binary that is <code>11111111.11111111.11111100.00000000<\/code>. All six borrowed bits land in the third octet, which is why the action moves there.<\/p>\n\n<p>The lowest borrowed bit is the 4 position in the third octet, so the increment is 4 and it applies to the third octet. Each \/22 holds 2 to the power of 10 addresses, which is 1024, leaving 1022 usable. Here are the first five subnets; the pattern continues by adding 4 to the third octet.<\/p>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Subnet<\/th><th>Network<\/th><th>First usable<\/th><th>Last usable<\/th><th>Broadcast<\/th><\/tr><\/thead><tbody><tr><td>172.16.0.0\/22<\/td><td>172.16.0.0<\/td><td>172.16.0.1<\/td><td>172.16.3.254<\/td><td>172.16.3.255<\/td><\/tr><tr><td>172.16.4.0\/22<\/td><td>172.16.4.0<\/td><td>172.16.4.1<\/td><td>172.16.7.254<\/td><td>172.16.7.255<\/td><\/tr><tr><td>172.16.8.0\/22<\/td><td>172.16.8.0<\/td><td>172.16.8.1<\/td><td>172.16.11.254<\/td><td>172.16.11.255<\/td><\/tr><tr><td>172.16.12.0\/22<\/td><td>172.16.12.0<\/td><td>172.16.12.1<\/td><td>172.16.15.254<\/td><td>172.16.15.255<\/td><\/tr><tr><td>172.16.16.0\/22<\/td><td>172.16.16.0<\/td><td>172.16.16.1<\/td><td>172.16.19.254<\/td><td>172.16.19.255<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<h2>Class A example: 1000 subnets from 10.0.0.0\/8<\/h2>\n\n<p>A Class A network and a big requirement: 1000 subnets. Nine bits give 512 (too few), ten bits give 1024 (enough), so borrow 10 bits. The default Class A prefix is \/8, so the new prefix is \/18 and the mask is 255.255.192.0, which is <code>11111111.11111111.11000000.00000000<\/code> in binary. Eight of the borrowed bits fill the second octet, making it 255, and the last two turn on the 128 and 64 positions of the third octet, giving 192 there.<\/p>\n\n<p>The lowest borrowed bit is the 64 position in the third octet, so the increment is 64 there. Each \/18 holds 2 to the power of 14 addresses, which is 16384, leaving 16382 usable. The third octet steps 0, 64, 128, 192, then rolls into the next value of the second octet.<\/p>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Subnet<\/th><th>Network<\/th><th>First usable<\/th><th>Last usable<\/th><th>Broadcast<\/th><\/tr><\/thead><tbody><tr><td>10.0.0.0\/18<\/td><td>10.0.0.0<\/td><td>10.0.0.1<\/td><td>10.0.63.254<\/td><td>10.0.63.255<\/td><\/tr><tr><td>10.0.64.0\/18<\/td><td>10.0.64.0<\/td><td>10.0.64.1<\/td><td>10.0.127.254<\/td><td>10.0.127.255<\/td><\/tr><tr><td>10.0.128.0\/18<\/td><td>10.0.128.0<\/td><td>10.0.128.1<\/td><td>10.0.191.254<\/td><td>10.0.191.255<\/td><\/tr><tr><td>10.0.192.0\/18<\/td><td>10.0.192.0<\/td><td>10.0.192.1<\/td><td>10.0.255.254<\/td><td>10.0.255.255<\/td><\/tr><tr><td>10.1.0.0\/18<\/td><td>10.1.0.0<\/td><td>10.1.0.1<\/td><td>10.1.63.254<\/td><td>10.1.63.255<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<h2>The \/30 subnet for point-to-point links<\/h2>\n\n<p>A \/30 is the standard mask for a link between two routers, and it is the single most-tested subnetting scenario on the exam. The reason is efficiency: a point-to-point link needs exactly two addresses, one per router, and a \/30 gives exactly that. The mask is 255.255.255.252, the last two bits of the fourth octet are host bits, and 2 to the power of 2 is 4 total addresses with 2 usable.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"500\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2026\/06\/subnetting-p2p-30-link.png\" alt=\"Topology of a \/30 point-to-point link: router R1 at 203.0.113.1 and router R2 at 203.0.113.2, with .0 network and .3 broadcast\" class=\"wp-image-168964\" title=\"\" srcset=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2026\/06\/subnetting-p2p-30-link.png 1200w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2026\/06\/subnetting-p2p-30-link-300x125.png 300w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2026\/06\/subnetting-p2p-30-link-1024x427.png 1024w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2026\/06\/subnetting-p2p-30-link-768x320.png 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n<p>Take the block 203.0.113.0\/30. The four addresses are 203.0.113.0 (the network), 203.0.113.1 (first usable), 203.0.113.2 (second usable), and 203.0.113.3 (the broadcast). R1 gets .1, R2 gets .2. The trap the exam loves: 203.0.113.3 is the broadcast, so it can never be configured on an interface, yet it is offered as a tempting wrong answer right next to the two valid hosts.<\/p>\n\n<p>The pattern repeats for any \/30. For 10.10.10.0\/30 the addresses are 10.10.10.0 (network), 10.10.10.1 and 10.10.10.2 (the two usable hosts), and 10.10.10.3 (broadcast). If a question asks which address can be assigned to a router interface, only .1 and .2 are correct; the .0 and .3 are off limits. Sequential WAN links then step by the increment of 4: the next block is 10.10.10.4\/30, then 10.10.10.8\/30, and so on.<\/p>\n\n<h2>The binary-boundary trap<\/h2>\n\n<p>When the number of subnets you need is exactly a power of 2, naive binary conversion tempts you into borrowing one bit too many. Say you need 32 subnets. Writing 32 in binary gives <code>100000<\/code>, which looks like 6 bits. But 2 to the power of 5 is already 32, and 5 bits produce values from <code>00000<\/code> to <code>11111<\/code>, which is exactly 32 distinct subnets. Borrow 5, not 6.<\/p>\n\n<p>The safe rule that never fails: subtract 1 from the requirement before converting to binary, then count the bits. If you need 32 subnets, convert 31, which is <code>11111<\/code>, five bits, and 2 to the power of 5 equals 32. If you need 33, convert 32, which is <code>100000<\/code>, six bits, and 2 to the power of 6 equals 64, which covers 33. Either way the count is right. These are the values that catch people, so commit them to memory.<\/p>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Subnets needed<\/th><th>Bits to borrow<\/th><th>Combinations (2^n)<\/th><\/tr><\/thead><tbody><tr><td>2<\/td><td>1<\/td><td>2<\/td><\/tr><tr><td>4<\/td><td>2<\/td><td>4<\/td><\/tr><tr><td>8<\/td><td>3<\/td><td>8<\/td><\/tr><tr><td>16<\/td><td>4<\/td><td>16<\/td><\/tr><tr><td>32<\/td><td>5<\/td><td>32<\/td><\/tr><tr><td>64<\/td><td>6<\/td><td>64<\/td><\/tr><tr><td>128<\/td><td>7<\/td><td>128<\/td><\/tr><tr><td>256<\/td><td>8<\/td><td>256<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<h2>Finding which subnet an address belongs to<\/h2>\n\n<p>The exam also runs the method in reverse: given a host address and a mask, find its subnet. The trick is the increment again. Calculate the block size, then find the highest multiple of the increment that is less than or equal to the value in the interesting octet. That multiple is the network address.<\/p>\n\n<p>Take 192.168.1.75\/26. The mask is 255.255.255.192, so the increment is 64 and the subnets in the fourth octet start at 0, 64, 128, 192. The value 75 sits between 64 and 128, so the network is 192.168.1.64, the broadcast is 192.168.1.127, and the usable range is 192.168.1.65 to 192.168.1.126.<\/p>\n\n<p>A harder one: 172.28.228.144\/21. A \/21 leaves the increment in the third octet, and 256 minus 248 gives a block size of 8. The quick formula is to divide the interesting octet by the increment and take the floor: 228 divided by 8 is 28.5, the floor is 28, and 28 times 8 is 224. So the network is 172.28.224.0, the broadcast is 172.28.231.255, and the usable range is 172.28.224.1 to 172.28.231.254.<\/p>\n\n<h2>Choosing the mask for a given number of hosts<\/h2>\n\n<p>Sometimes the requirement is hosts per subnet, not the number of subnets. The direction flips but the arithmetic is the same: borrow the fewest host bits where 2 to the power of the host bits, minus 2, is at least the hosts you need. Fewer host bits means more bits left for subnets and less wasted address space.<\/p>\n\n<p>An office of 20 users needs at least 20 usable addresses. Four host bits give 14 usable, which is too few; five host bits give 30 usable, which is enough. Five host bits means a \/27 (255.255.255.224). Watch the off-by-one temptation here: a \/28 gives only 14 usable, so it cannot hold 20 users even though it looks close.<\/p>\n\n<p>The same logic handles a multi-floor building. Floors needing 24, 29, 28, and 22 users each fit comfortably in a \/27, because the largest floor (29 users) still needs only 30 usable addresses. One mask, \/27, sizes every floor as its own subnet with almost no waste. Once each segment is sized, you assign the addresses on the device, the same way the <a href=\"https:\/\/computingforgeeks.com\/cisco-device-base-configuration\/\">base configuration on a Cisco device<\/a> sets an interface IP.<\/p>\n\n<h2>Subnetting reference card<\/h2>\n\n<p>Keep these three tables next to you while you practice. The first is the powers of 2 you should know cold; the second is the CIDR prefixes that appear most on the exam; the third is the binary-boundary values to watch.<\/p>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Bits (n)<\/th><th>2^n<\/th><th>Usable hosts (2^n minus 2)<\/th><\/tr><\/thead><tbody><tr><td>2<\/td><td>4<\/td><td>2<\/td><\/tr><tr><td>3<\/td><td>8<\/td><td>6<\/td><\/tr><tr><td>4<\/td><td>16<\/td><td>14<\/td><\/tr><tr><td>5<\/td><td>32<\/td><td>30<\/td><\/tr><tr><td>6<\/td><td>64<\/td><td>62<\/td><\/tr><tr><td>7<\/td><td>128<\/td><td>126<\/td><\/tr><tr><td>8<\/td><td>256<\/td><td>254<\/td><\/tr><tr><td>10<\/td><td>1024<\/td><td>1022<\/td><\/tr><tr><td>14<\/td><td>16384<\/td><td>16382<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p>The common CIDR prefixes, with the mask, block size, and host counts you read off without thinking:<\/p>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Prefix<\/th><th>Mask<\/th><th>Block size<\/th><th>Total addresses<\/th><th>Usable hosts<\/th><\/tr><\/thead><tbody><tr><td>\/24<\/td><td>255.255.255.0<\/td><td>256<\/td><td>256<\/td><td>254<\/td><\/tr><tr><td>\/25<\/td><td>255.255.255.128<\/td><td>128<\/td><td>128<\/td><td>126<\/td><\/tr><tr><td>\/26<\/td><td>255.255.255.192<\/td><td>64<\/td><td>64<\/td><td>62<\/td><\/tr><tr><td>\/27<\/td><td>255.255.255.224<\/td><td>32<\/td><td>32<\/td><td>30<\/td><\/tr><tr><td>\/28<\/td><td>255.255.255.240<\/td><td>16<\/td><td>16<\/td><td>14<\/td><\/tr><tr><td>\/29<\/td><td>255.255.255.248<\/td><td>8<\/td><td>8<\/td><td>6<\/td><\/tr><tr><td>\/30<\/td><td>255.255.255.252<\/td><td>4<\/td><td>4<\/td><td>2<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<h2>Practice until it is automatic<\/h2>\n\n<p>Reading subnetting is not the same as doing it. The only way to beat the clock on exam day is to run the calculation until it is muscle memory. The trainer below generates an unlimited stream of questions and checks each one instantly, covering network and broadcast addresses, host ranges, masks, wildcards, and prefixes. Aim for a long streak before you move on.<\/p>\n\n<div class=\"cfg-subnet-trainer\"><div class=\"cfg-st-sub\">Loading subnetting trainer...<\/div><\/div>\n\n\n<p>When the trainer feels easy, test the concepts with the short quiz below. Each question has a worked explanation so you can confirm the method, not just the answer. Keep the <a href=\"https:\/\/computingforgeeks.com\/subnetting-cheat-sheet\/\">subnetting cheat sheet<\/a> open while you drill for the mask, host-count, and block-size tables at a glance.<\/p>\n\n<div class=\"cfg-quiz\" data-quiz=\"{\n  &quot;id&quot;: &quot;subnetting-basics&quot;,\n  &quot;title&quot;: &quot;Subnetting practice quiz&quot;,\n  &quot;objective&quot;: &quot;1.6 Configure and verify IPv4 addressing and subnetting&quot;,\n  &quot;intro&quot;: &quot;Practice questions covering host counts, masks, increments, subnet membership, \/30 links, and the binary-boundary trap. Every answer is computed; read the explanation to confirm the method.&quot;,\n  &quot;questions&quot;: [\n    {&quot;q&quot;: &quot;How many usable host addresses are in a \/27 subnet?&quot;, &quot;options&quot;: [&quot;30&quot;, &quot;32&quot;, &quot;28&quot;, &quot;62&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;A \/27 leaves 5 host bits, so 2^5 = 32 total addresses, minus the network and broadcast = 30 usable.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;How many usable hosts does a \/30 subnet provide?&quot;, &quot;options&quot;: [&quot;4&quot;, &quot;2&quot;, &quot;1&quot;, &quot;6&quot;], &quot;answer&quot;: 1, &quot;explanation&quot;: &quot;2^2 = 4 total addresses minus network and broadcast = 2 usable, exactly enough for a point-to-point link.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;How many usable hosts are in a \/23 subnet?&quot;, &quot;options&quot;: [&quot;254&quot;, &quot;510&quot;, &quot;512&quot;, &quot;1022&quot;], &quot;answer&quot;: 1, &quot;explanation&quot;: &quot;A \/23 leaves 9 host bits, so 2^9 = 512, minus 2 = 510 usable.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;What is the subnet mask for a \/26 prefix?&quot;, &quot;options&quot;: [&quot;255.255.255.192&quot;, &quot;255.255.255.224&quot;, &quot;255.255.255.240&quot;, &quot;255.255.255.128&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;\/26 makes the fourth octet 11000000 = 192, so the mask is 255.255.255.192.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;What prefix length matches the mask 255.255.254.0?&quot;, &quot;options&quot;: [&quot;\/24&quot;, &quot;\/23&quot;, &quot;\/22&quot;, &quot;\/25&quot;], &quot;answer&quot;: 1, &quot;explanation&quot;: &quot;254 = 11111110 = 7 network bits in the third octet, so 8 + 8 + 7 = \/23.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;What is the wildcard mask for a \/27?&quot;, &quot;options&quot;: [&quot;0.0.0.31&quot;, &quot;0.0.0.32&quot;, &quot;0.0.0.15&quot;, &quot;0.0.0.224&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;The wildcard is the inverse of the subnet mask 255.255.255.224, which is 0.0.0.31.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;A Class C \/24 must be split into at least 6 subnets using the fewest borrowed bits. Which mask achieves this?&quot;, &quot;options&quot;: [&quot;\/26&quot;, &quot;\/27&quot;, &quot;\/25&quot;, &quot;\/28&quot;], &quot;answer&quot;: 1, &quot;explanation&quot;: &quot;2^2 = 4 is too few, 2^3 = 8 covers 6, so borrow 3 bits: \/24 + 3 = \/27.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;What is the broadcast address of 192.168.1.0\/26?&quot;, &quot;options&quot;: [&quot;192.168.1.63&quot;, &quot;192.168.1.64&quot;, &quot;192.168.1.127&quot;, &quot;192.168.1.255&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;A \/26 has a block size of 64, so the first subnet spans .0 to .63 and its broadcast is 192.168.1.63.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;Which is the network address for the host 172.16.5.130\/26?&quot;, &quot;options&quot;: [&quot;172.16.5.128&quot;, &quot;172.16.5.64&quot;, &quot;172.16.5.96&quot;, &quot;172.16.5.192&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;\/26 block size is 64, so subnets fall at .0, .64, .128, .192; 130 is in the 128 block, so the network is 172.16.5.128.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;A \/27 subnet starts at 192.168.1.32. What is the last usable host address?&quot;, &quot;options&quot;: [&quot;192.168.1.62&quot;, &quot;192.168.1.63&quot;, &quot;192.168.1.60&quot;, &quot;192.168.1.64&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;Block size 32, so the subnet is .32 to .63; the broadcast is .63 and the last usable host is 192.168.1.62.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;An interface is configured with ip address 10.2.1.1 255.255.255.252. What is the broadcast address?&quot;, &quot;options&quot;: [&quot;10.2.1.3&quot;, &quot;10.2.1.2&quot;, &quot;10.2.1.4&quot;, &quot;10.2.1.255&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;A \/30 (block size 4) starting at 10.2.1.0 spans .0 to .3, so the broadcast is 10.2.1.3.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;Which address can be assigned to a router interface in the subnet 10.2.1.0\/30?&quot;, &quot;options&quot;: [&quot;10.2.1.1&quot;, &quot;10.2.1.0&quot;, &quot;10.2.1.3&quot;, &quot;255.255.255.252&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;In a \/30 the .0 is the network and .3 is the broadcast; only .1 and .2 are usable, so 10.2.1.1 is valid.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;You need 50 subnets from 172.20.0.0\/16. What is the resulting subnet mask?&quot;, &quot;options&quot;: [&quot;255.255.252.0&quot;, &quot;255.255.254.0&quot;, &quot;255.255.248.0&quot;, &quot;255.255.255.0&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;2^5 = 32 is too few, 2^6 = 64 covers 50, so borrow 6 bits: \/16 + 6 = \/22 = 255.255.252.0.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;To which subnet does 10.0.65.5 with mask 255.255.192.0 belong?&quot;, &quot;options&quot;: [&quot;10.0.64.0&quot;, &quot;10.0.0.0&quot;, &quot;10.0.65.0&quot;, &quot;10.0.128.0&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;The third-octet increment is 256 - 192 = 64; 65 falls between 64 and 128, so the network is 10.0.64.0.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;WAN links use sequential \/30 blocks starting at 192.168.100.0\/30. What is the network address of the third \/30?&quot;, &quot;options&quot;: [&quot;192.168.100.8&quot;, &quot;192.168.100.4&quot;, &quot;192.168.100.12&quot;, &quot;192.168.100.3&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;The \/30 increment is 4: first .0, second .4, third .8.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;To which subnet does the host 172.28.228.144\/21 belong?&quot;, &quot;options&quot;: [&quot;172.28.224.0&quot;, &quot;172.28.228.0&quot;, &quot;172.28.232.0&quot;, &quot;172.28.216.0&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;A \/21 gives a third-octet increment of 8; 228 \/ 8 = 28.5, floor 28, 28 x 8 = 224, so the network is 172.28.224.0.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;You need exactly 32 subnets. How many bits must you borrow?&quot;, &quot;options&quot;: [&quot;5&quot;, &quot;6&quot;, &quot;4&quot;, &quot;32&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;2^5 = 32 gives exactly 32 subnets because binary counts from zero; borrowing 6 bits would be one too many (the binary-boundary trap).&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;What is the increment (block size) for a \/22 mask?&quot;, &quot;options&quot;: [&quot;4&quot;, &quot;8&quot;, &quot;2&quot;, &quot;64&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;A \/22 mask is 255.255.252.0; 256 - 252 = 4 in the third octet.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;Four floors need 24, 29, 28, and 22 users. What is the smallest single mask that fits each floor as its own subnet?&quot;, &quot;options&quot;: [&quot;\/27&quot;, &quot;\/26&quot;, &quot;\/28&quot;, &quot;\/25&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;The largest floor needs 29 hosts; \/28 gives only 14 usable, \/27 gives 30, so \/27 fits every floor with minimal waste.&quot;, &quot;validated&quot;: &quot;computed&quot;},\n    {&quot;q&quot;: &quot;An office of 20 users needs the most address-efficient mask. Which one?&quot;, &quot;options&quot;: [&quot;\/27&quot;, &quot;\/28&quot;, &quot;\/26&quot;, &quot;\/29&quot;], &quot;answer&quot;: 0, &quot;explanation&quot;: &quot;\/28 gives 14 usable (too few for 20); \/27 gives 30 usable, the smallest that fits 20, so \/27 (255.255.255.224).&quot;, &quot;validated&quot;: &quot;computed&quot;}\n  ]\n}\n\" data-quiz-count=\"10\"><div class=\"cfg-quiz-loading\">Loading quiz...<\/div><\/div>\n\n\n<p>Once subnetting by requirement is automatic, the next skill is <a href=\"https:\/\/computingforgeeks.com\/subnetting-vlsm-explained\/\">VLSM<\/a>, which assigns differently sized subnets from a single block so a \/30 WAN link and a \/24 user LAN can share the same address space without waste. That builds directly on the increment method you just drilled.<\/p>","protected":false},"excerpt":{"rendered":"<p>Most people who struggle with the CCNA do not freeze on OSPF or VLANs. They freeze on a subnetting question with the clock running, because subnetting is the one skill the exam expects you to do in your head, fast, with no calculator. The good news: subnetting by network requirements is a fixed three-step method. &#8230; <a title=\"How to Subnet: A Step-by-Step Guide to Subnetting by Network Requirements\" class=\"read-more\" href=\"https:\/\/computingforgeeks.com\/subnetting-by-network-requirements\/\" aria-label=\"Read more about How to Subnet: A Step-by-Step Guide to Subnetting by Network Requirements\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":168965,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[299,55],"tags":[524,525],"cfg_series":[39888],"class_list":["post-168966","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","category-networking","tag-ccna","tag-cisco","cfg_series-ccna-200-301"],"_links":{"self":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/168966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/comments?post=168966"}],"version-history":[{"count":4,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/168966\/revisions"}],"predecessor-version":[{"id":168977,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/168966\/revisions\/168977"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/media\/168965"}],"wp:attachment":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/media?parent=168966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/categories?post=168966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/tags?post=168966"},{"taxonomy":"cfg_series","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/cfg_series?post=168966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}