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.

One of community members found this great subnetting practice page. Enjoy!

Subnetting Practice Page

Some things never change. CCENT and CCNA candidates still have the roughest time in the curriculum with the topic of subnetting.

Hey! No problem! We have all been there. Just remain patient, remain calm, and keep working through examples and practice problems.

Do you want a quick quiz to see if your skills are up to speed? Check out this blog post:

Subnetting Practice Quiz 1

Let's walkthrough a common subnetting question type in this blog entry. Here is the question, followed by how I would solve it in the written exam on my scratch paper.

"You run the ipconfig command and discover your IP address and subnet mask are: 172.16.129.180/255.255.255.128. What is your network address?"

I immediately think about the analogy in the CCENT course about street address and house number here. They are asking for the street address (network portion) of this address. The host ID is my house number.

Well, the contiguous bits in the mask identify the network portion of the IP address. I can see from the 255.255.255 portion of the mask that my street address definitely begins as follows:

172.16.129.?

The real question here is what value is in the forth octet?

To solve this, I create my "cheat sheet" conversion table on the scratch paper:

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

Converting 180 to decimal and 128 to binary produces the following:

IP Address - Forth Octet:        10110100
Subnet Mask - Forth Octet:   10000000

When you AND (multiply) each IP address bit position against the subnet mask, you end up with the network identifier. Here the result is simple - 10000000

Our street address is:

172.16.129.128

Let's have you try one!

"You run the ipconfig command and discover your IP address and subnet mask are: 10.12.100.20/255.255.224.0. What is your network address?"

Have fun working though it. Post your solution, and your solution approach, in the comments below.

CCENT candidates are always starving for IP subnetting practice questions to ensure their skills are ready for the CCENT exam! This practice quiz is sure to help. Grab your pencil and scratch paper and have fun! Click the link below to begin the quiz:

CCENT IP Subnetting Practice Quiz 1