Menu

For Part 2 of this series - click here.

WARNING: You must master subnetting using our course or some other trusted materials before you start using these shortcut approaches. It is a common issue for Cisco candidates to move directly to subnetting shortcuts for the exams without fully understanding exactly how subnetting functions.

ICND1 (CCENT)

Question 3: Your co-worker has decided upon use of the 172.16.0.0 address space for a section of your network. This section requires 15 subnets. What subnet mask will you recommend?

Step 1: I reference the Powers of Two chart I created on my scratch paper when I encountered the first question. The forumla for the number of subnets you can create based on subnet bits is 2^s. From the chart I see if we "borrow" 4 bits we can create 16 subnets.

2^7=128  |  2^6=64  |  2^5=32  |  2^4=16  |  2^3=8  |  2^2-=4 | 2  ^1=2  |  2^0=1

Step 2: Borrowing 4 bits beyond the Class B boundary results in 255.255.128+64+32+16 = 240. Our mask is 255.255.240.0.

Click here for Part 1 of this series.

WARNING: You must master subnetting using our course or some other trusted materials before you start using these shortcut approaches. It is a common issue for Cisco candidates to move directly to subnetting shortcuts for the exams without fully understanding exactly how subnetting functions.

ICND1 (CCENT)

Question 2: You have run the ipconfig command and discovered your IP address and mask are 192.168.20.102 and 255.255.255.224. How many hosts are permitted on your subnet?

Step 1: I reference the Powers of Two chart I created on my scratch paper when I encountered the first question. Adding 128 + 64 + 32 = 224. There are 3 bits used for subnetting and that leaves 5 bits for hosts.

2^7=128  |  2^6=64  |  2^5=32  |  2^4=16  |  2^3=8  |  2^2-=4 | 2  ^1=2  |  2^0=1

Step 2: The equation for the number of hosts per subnet is 2^h - 2 where h is the number of host bits. From the chart I see that 2^5  = 32. 32-2 = 30 hosts per subnet! Too easy!

As always, let us know in the comments if you have a quicker approach.

Thanks to Randy of our CCNA program for this suggestion. Randy wanted some guidance on how to solve the subnetting questions in ICND1 and ICND2 very quickly. The ability to do this is often the difference between a passing score and a failed attempt.

WARNING: You must master subnetting using our course or some other trusted materials before you start using these shortcut approaches. It is a common issue for Cisco candidates to move directly to subnetting shortcuts for the exams without fully understanding exactly how subnetting functions.

For this series of posts, we will use simulated exam questions from ICND1 and ICND2. Well, with all that out of the way - let's have some fun. You will find that once you "turn the corner" on subnetting, you will pray for many of these questions in the exam. It is an opportunity to solve questions quickly and be 100% convinced that your response is "spot on".

ICND1 (CCENT)

Question 1: What is the last usable address in the subnet of a host with the address 192.168.1.134 and the subnet mask of 255.255.255.240?

Step 1: Since the is the first subnetting question I have encountered in my exam, I am going to use this as my opportunity to build my Powers of Two reference chart on my scratch paper.

2^7=128  |  2^6=64  |  2^5=32  |  2^4=16  |  2^3=8  |  2^2-=4 | 2  ^1=2  |  2^0=1

Step 2: 192 in the first octet tells me I have a Class C address. I memorized these number ranges; some students like to list those on the scratch paper as well. The default subnet mask for the Class C space is 255.255.255.0. You also need to memorize these, and again, many students like to list these on scratch paper as well.

Step 3: How many bits of subnetting are used in the fourth octet here? My Power of Two chart tells me. 1 bit = 128; 2 bits = 192; 3 bits = 224; 4 bits = 240.

Step 4: I go four bits deep (from left to right) in the Power of Two chart. This tells me that the subnets increment on 16:

192.168.1.16...32...48...64...80...96...112...128...144

Step 5: We can see that this host lives on the 192.168.1.128 subnet. The broadcast address for this subnet is one less than the next subnet of 144, so that is 143. The last usable is 142. Our answer - 192.168.1.142. Wooohooo! Bring on more of these!

Did you have an even easier way to arrive at the answer? Let us know in the comments.