Академический Документы
Профессиональный Документы
Культура Документы
Help
Register
What's New
Today's Posts
Forum Actions
Advanced Search
Forum
CompTIA Cisco Microsoft CWNP InfoSec Practice Exams Forums Blogs
Cisco
CCNA / CCENT
If this is your first visit, be sure to check out the FAQ. You may have to register before you can post and use our practice exams: click the register link above to proceed.
+ Reply to Thread
Thread: Subnetting Made Easy
Results 1 to 25 of 407
Page 1 of 17
1 2 3 4 5 11 ...
Last
Thread Tools
LordFlasheart
Junior Member Join Date: Posts: Jun 2005 5
12-29-2008 05:31 PM
#1
Subnetting Made Easy Hi all, I've received an email from one of your members asking me to post up my technique for subnetting as links to external blogs are not allowed due to forum rules. I know that he benefited from it and he wishes to help out others so here goes: First of all I need you to get rid of all of the negative thoughts surrounding subnetting. Put down all of the books that you have read about the subject and navigate away from other sites claiming to provide an easy way to subnet. This technique requires no charts, just simply the know-how to work with the powers of 2. We need to start with the fundamentals of IP addressing. An IP address is made up of 32 bits, split into 4 octets (oct = 8, yes?). Some bits are reserved for identifying the network and the other bits are left to identify the host. There are 3 main classes of IP address that we are concerned with. Class A Range 0 - 127 in the first octet (0 and 127 are reserved) Class B Range 128 - 191 in the first octet Class C Range 192 - 223 in the first octet Below shows you how, for each class, the address is split in terms of network (N) and host (H) portions. NNNNNNNN . HHHHHHHH . HHHHHHHH . HHHHHHHH Class A NNNNNNNN . NNNNNNNN . HHHHHHHH . HHHHHHHH Class B NNNNNNNN . NNNNNNNN . NNNNNNNN . HHHHHHHH Class C At each dot I like to think that there is a boundary, therefore there are boundaries after bits 8, 16, 24, and 32. This is an important concept to remember. We will now look at typical questions that you may see on subnetting. More often than not they ask what a host range is for a specific address or which subnet a certain address is located on. I shall run through examples of each, for each class of IP address. What subnet does 192.168.12.78/29 belong to? You may wonder where to begin. Well to start with let's find the next boundary of this address. Our mask is a /29. The next boundary is 32. So 32 - 29 = 3. Now 2^3 = 8 which gives us our block size i.e. 2 to the power of 3 equals 8. We have borrowed from the last octet as the 29th bit is in the last octet. We start from zero and count up in our block size. Therefore it follows that the subnets are:192.168.12.0 192.168.12.8 192.168.12.16 192.168.12.24 192.168.12.32 192.168.12.40 192.168.12.48 192.168.12.56 192.168.12.64 192.168.12.72
Subnet Calculator Netpict Online Degrees Exam Vouchers Free Magazines Topsites
www.techexams.net/forums/ccna-ccent/38772-subnetting-made-easy.html
1/10
10/23/13
192.168.12.80 .............etc
Our address is 192.168.12.78 so it must sit on the 192.168.12.72 subnet. What subnet does 172.16.116.4/19 sit on? Our mask is /19 and our next boundary is 24. Therefore 24 - 19 = 5. The block size is 2^5 = 32. We have borrowed into the third octet as bit 19 is in the third octet so we count up our block size in that octet. The subnets are:172.16.0.0 172.16.32.0 172.16.64.0 172.16.96.0 172.16.128.0 172.16.160.0 .............etc Our address is 172.16.116.4 so it must sit on the 172.16.96.0 subnet. Easy eh? What subnet does 10.34.67.234/12 sit on? Our mask is 12. Our next boundary is 16. Therefore 16 - 12 = 4. 2^4 = 16 which gives us our block size. We have borrowed from the second octet as bit 12 sits in the second octet so we count up the block size in that octet. The subnets are:10.0.0.0 10.16.0.0 10.32.0.0 10.48.0.0 .............etc Our address is 10.34.67.234 which must sit on the 10.32.0.0 subnet. Hopefully the penny is starting to drop and you are slapping the side of your head realising that you were a fool to think that subnetting was hard. We will now change the type of question so that we have to give a particular host range of a subnet. What is the valid host range of of the 4th subnet of 192.168.10.0/28? Easy as pie! The block size is 16 since 32 - 28 = 4 and 2^4 = 16. We need to count up in the block size in the last octet as bit 28 is in the last octet. 192.168.10.0 192.168.10.16 192.168.10.32 192.168.10.48 192.168.10.64 .................etc Therefore the 4th subnet is 192.168.10.48 and the host range must be 192.168.10.49 to 192.168.10.62, remembering that the subnet and broadcast address cannot be used. What is the valid host range of the 1st subnet of 172.16.0.0/17? /17 tells us that the block size is 2^(24-17) = 2^7 = 128. We are borrowing in the 3rd octet as bit 17 is in the 3rd octet. Our subnets are:172.16.0.0 172.16.128.0 The first subnet is 172.16.0.0 and the valid host range is 172.16.0.1 to 172.16.127.254. You must remember not to include the subnet address (172.16.0.0) and the broadcast address (172.16.127.255). What is the valid host range of the 7th subnet of address 10.0.0.0/14? The block size is 4, from 16 - 14 = 2 then 22 = 4. We are borrowing in the second octet so count in the block size from 0 seven times to get the seventh subnet. The seventh subnet is 10.24.0.0. Our valid host range must be 10.24.0.1 to 10.27.255.254 again remembering not to include our subnet (10.24.0.0) and the broadcast address (10.27.255.255). What if they give me the subnet mask in dotted decimal?
www.techexams.net/forums/ccna-ccent/38772-subnetting-made-easy.html
2/10
10/23/13
captobvious
Left for Android! =) Join Date: Location: Posts: Dec 2008 Upstate NY 649
12-31-2008 04:03 PM
#2
Quote
kriscamaro68
Senior Member
12-31-2008 06:39 PM
#3
Ok so I got this question on subnettingquestions.com and didn't see a way to answer it with your method: Question: You are designing a subnet mask for the 10.0.0.0 network. You want 3800 subnets with up to 3800 hosts on each subnet. What subnet mask should you use? Answer: 255.255.240.0 Here is also another one: Question: How many subnets and hosts per subnet can you get from the network 172.29.0.0 255.255.254.0? Answer: 128 subnets and 510 hosts Any way of explaining that out in your method. Thanks for that post I am finally starting to get subnetting.
dynamik
Senior Member Join Date: Posts: Mar 2007 12,322
12-31-2008 07:22 PM
#4
Just memorize how many items you get for each number of bits (subtract two for hosts) 000000000001 000000000011 000000000111 000000001111 000000011111 000000111111 000001111111 = 2 (1) = 4 (2) = 8 (3) = 16 (4) = 32 (5) = 64 (6) = 128 (7)
www.techexams.net/forums/ccna-ccent/38772-subnetting-made-easy.html
3/10
10/23/13
000011111111 000111111111 001111111111 011111111111 111111111111
If you can't remember what one is, just remember it's twice the number of the one before it (or halve the number after it if you're counting down). There's no math, tricks, etc. involved. So for the first question, you'll need 12 bits for both because the value is between 2048 and 4096 (you obviously have to go with the higher value). You can look at the other question the same way. /23 on a class B will give you 7 subnet bits and 9 host bits. 7 bits is 128 and 9 bits is 512 (minus 2 gives you 510).
kriscamaro68
Senior Member
12-31-2008 07:59 PM
#5
Thanks for the post dynamik I think it's all coming together for me now.
Quote
LordFlasheart
Junior Member Join Date: Posts: Jun 2005 5
#6
Ok so I got this question on subnettingquestions.com and didn't see a way to answer it with your method: Question: You are designing a subnet mask for the 10.0.0.0 network. You want 3800 subnets with up to 3800 hosts on each subnet. What subnet mask should you use? Answer: 255.255.240.0 Here is also another one: Question: How many subnets and hosts per subnet can you get from the network 172.29.0.0 255.255.254.0? Answer: 128 subnets and 510 hosts Any way of explaining that out in your method. Thanks for that post I am finally starting to get subnetting.
For your first question, how many bits do you need to borrow to accommodate 3800 subnets? The answer would be 12 bits as 2 ^ 12 = 4096. Your network address is a /8 by default as it is a Class A address so 8 + 12 = /20 mask. The second question is straightforward. Your address is Class B so it has a default mask of /16. 255.255.254.0 is the same as /23, so 23 - 16 = 7. 2 ^ 7 = 128 subnets and the number of hosts equals (2 ^ (32 - 23)) - 2 = 2 ^ 9 - 2 = 510 hosts. HTH
Quote
Morty3
Constantly learning Join Date: Posts: Dec 2008 136
01-01-2009 11:40 PM
#7
Very much alike Jeremy from CBT nuggets way. Find the last 1 in the mask, that one is your increment. If the last one is a 8, the nets also hop with and 8.
www.techexams.net/forums/ccna-ccent/38772-subnetting-made-easy.html
4/10
10/23/13
bryantstewart
Junior Member
02-24-2009 10:26 PM
#8
Quote
kevin31
Senior Member Join Date: Posts: Jan 2008 148
02-25-2009 10:42 AM
#9
The lights are comming on.... Great post Lordflasheart! I have been trying to subnet in my head for ages but there seems to be so many ways and guess Im just getting confused. I like the method behind lordflaheart does this work on all address classes? Is it really as simply as it seems? What do people thing of the chart method? thanks Kevin
Quote
wbosher
Senior Member
02-25-2009 10:36 PM
#10
Get your hands on CBT Nuggets, this is by far the easiest method I've come accross. Using this method I can solve most subnetting problems in my head in less than 30 seconds. Give it a try.
Join Date: Nov 2007 Location: Wellington, New Zealand Posts: 422 Certifications: CCNA
Quote
kevin31
Senior Member Join Date: Posts: Jan 2008 148
02-26-2009 11:36 PM
#11
Quote
Honky007
Junior Member Join Date: Location: Australia Posts: Sep 2008 Sydney, 26
04-14-2009 10:16 PM
#12
Thank you! ! You are the man!! I thought I'd have to struggle with subnetting for weeks until I found this post. It really is awesome...and it works! I practised with this for an afternoon and now there's no subnetting question on subnettingquestions.com - Free Subnetting Questions and Answers Randomly Generated Online that I can't get within about 30 seconds...and it's getting easier.
www.techexams.net/forums/ccna-ccent/38772-subnetting-made-easy.html
5/10
10/23/13
Quote
MattGibson
Member
04-15-2009 07:32 PM
#13
Got a subnetting question that I couldn't figure out. What is the first valid host on the subnetwork that the node 172.26.224.246/20 belongs to? Answer - 172.26.224.1
Feb 2009 36
Here was my logic using the system 24 - 20 = 4 and 2^4 = 16 I counted up and here's what I got: 0 16 32 48 64 80 96 112 128 144 160 186 202 218 234 250 So I figured the first host on the subnetwork would be 172.26.218.1 Considering that 224 falls inbetween 218 and 234. Where was I wrong?
Quote
Forsaken_GA
Senior Member Join Date: Posts: Aug 2008 3,954
#14
Got a subnetting question that I couldn't figure out. Where was I wrong?
Right here:
160 186 202 218 234 250 You went up by 26 instead of 16, putting the rest of your numbers 10 ahead. Subtract 10 from each number after 160, and you'll see that 224 is a subnet boundary, making 224.1 the correct choice. When you're doing this method, the last possible number on the octet is 256, if your last application of the range will put you over that, you made an error in incrementing, it's a good way to double check yourself. You should be able to go from 0 to 256 just by incrementing by your range and never going over. My personal rule of thumb is that, if I'm going to have to count the increment more than 5 steps, I'll just cheat and use division instead. Once you know the range, it's pretty easy to
www.techexams.net/forums/ccna-ccent/38772-subnetting-made-easy.html
6/10
10/23/13
mikej412
Cisco Moderator
#15
160 186 202 218 234 250 so i figured the first host on the subnetwork would be 172.26.218.1 considering that 224 falls inbetween 218 and 234. Where was i wrong?
Certifications: CCNP CCIP CCSP CCVP CCDP CCDA CCNA CS-CIPSS CS-CIPTDS CS-CIPTOS CS-CIPCSS CSCFWS CS-CVPNS CS-CISecS ISSP 4013 4011
Quote
londo29
Junior Member Join Date: Posts: Apr 2009 1
04-15-2009 07:51 PM
#16
144 160 186 You added incorrectly. after 160 the next number is 176 not 186 160 176 192 208 224
Quote
MattGibson
Member
04-15-2009 10:22 PM
#17
Thanks for the help guys. I figured it was that, but for some reason I wasn't seeing it. Good to know the error wasn't in the logic!
Feb 2009 36
Quote
alexander007
Junior Member
04-21-2009 09:21 PM
#18
www.techexams.net/forums/ccna-ccent/38772-subnetting-made-easy.html
7/10
10/23/13
Join Date: Location: Posts: May 2006 PR 5
miller811
Senior Member
04-21-2009 10:03 PM
#19
When presented with a problem like this, sort the networks largest to smallest and then start subnetting Subnet - Range - hosts b. 204.15.5.0/27 - 204.15.5.0 - 204.15.5.31 - 30 hosts e. 204.15.5.32/27 - 204.15.5.32 - 204.15.5.63 - 30 hosts a. 204.15.5.64/28 - 204.15.5.64 - 204.15.5.79 - 14 hosts d. 204.15.5.80/28 - 204.15.5.80 - 204.15.5.95 - 14 hosts c. 204.15.5.96/30 - 204.15.5.96 - 204.15.5.99 - 2 hosts
Quote
alexander007
Junior Member Join Date: Location: Posts: May 2006 PR 5
04-21-2009 10:17 PM
#20
but how do you get that answer?....I need to see how to answer that...not just tha answer Thanks again
Quote
blackninja
Senior Member
#21
but how do you get that answer?....I need to see how to answer that...not just tha answer Thanks again
Quote
miller811
Senior Member
#22
but how do you get that answer?....I need to see how to answer that...not just tha answer Thanks again
Join Date: Location: Oct 2007 Nashville
Do you know how to subnet? You need to know how to subnet to solve the problem.
www.techexams.net/forums/ccna-ccent/38772-subnetting-made-easy.html
8/10
10/23/13
Posts: 896
alexander007
Junior Member Join Date: Location: Posts: May 2006 PR 5
04-22-2009 12:35 AM
#23
I see now..Thanks
Quote
unitedfan1
Junior Member
08-05-2009 07:33 AM
#24
Hi guys, kinda new at all of this....i`m currently doing CCNA1 and i have a question i was hoping you could help me out with. Question : ABC has aquired a class B address 172.16.0.0 ,the Company needs to create a subnetting scheme to provide the following: 36 subnets with at least 100 hosts
www.techexams.net/forums/ccna-ccent/38772-subnetting-made-easy.html
9/10
10/23/13
Aug 2009 1
mella060
Senior Member Join Date: Location: Posts: Jul 2009 Australia 187
08-05-2009 09:01 AM
#25
VLSM is basically subnetting a subnet. You have to be able to subnet first. Once you have mastered subnetting then working out VLSM issues will be a lot easier.
Certifications: CCNA
Quote
+ Reply to Thread
Previous Thread | Next Thread
Page 1 of 17
1 2 3 4 5 11 ...
Last
Digg
del.icio.us
StumbleUpon
Tw eet
Share
www.techexams.net/forums/ccna-ccent/38772-subnetting-made-easy.html
10/10