![]() |
|
|
|
#1 |
|
I have 6 tests under my belt and I saved 216 for the end. I have been
studying subnetting and thought I had it down. As I take practice tests it seems that is not the case. So anyone that knows or can point me in the right direction/website/anything your help would be much appreciated. I really want to know this not just for the test but for my job in general. I will use my last practice question as an example of how I am confused. The question wants to know which addresses can be divided into at least 4 subnets with at least 100 hosts per subnet. A. 10.25.0.0/22 B. 10.25.0.0/23 C. 10.25.0.0/24 D. 10.25.0.0/25 # My Calculations: /22 = 255.255.252.0 = 14 subnet bits 10 host bits /23 = 255.255.254.0 = 15 subnet bits 9 host bits /24 = 255.255.255.0 = 16 subnet bits 8 host bits /25 = 255.255.255.128 = 17 subnet bits 7 host bits using 2^n -2 A = 2^14 -2 = 16382 subnets and 2^10-2 =1022 hosts B = 2^15 -2 = 32766 subnets and 2^9-2= 510 hosts C = 2^16 -2 = 65534 subnets and 2^8-2= 254 hosts D = 2^17 -2 = 131070 subnets and 2^7-2= 128 hosts I thought the answer should be all of them. Apparently I was wrong. The test says that only A and B are correct. It says that C can be divided into 2 or 4 subnets and D can be divided into 4 subnets with only 30 hosts. I know it is a CIDR address but I guess I just don't quite get that concept or at least the math behind it. Is there a foormula for this type of calculation? Am I just way off with subnetting and need to read the book again? I don't quite understand where you start and stop counting the bits with CIDR. Mike |
|
|
|
|
#2 |
|
Posts: n/a
|
On Tue, 11 Nov 2003 22:50:15 -0500, Mike wrote:
<snip> > > A. 10.25.0.0/22 > B. 10.25.0.0/23 > C. 10.25.0.0/24 > D. 10.25.0.0/25 > > # My Calculations: > > /22 = 255.255.252.0 = 14 subnet bits 10 host bits /23 = 255.255.254.0 = > 15 subnet bits 9 host bits /24 = 255.255.255.0 = 16 subnet bits > 8 host bits /25 = 255.255.255.128 = 17 subnet bits 7 host bits > Forget classes for a moment. Just because 10.x.x.x is class A doesn't necessarily give you /8 - the possible answers give you the ranges/masks. eg. 10.25.0.0/22 gives you the range 10.25.0.0 - 10.25.3.255 (or 10 host bits starting from 10.25.0.0) - the rest is not yours. 100 hosts need 7 bits, and 4 subnets need 2 bits, so you need 9 host bits to play with - so a mask or /23 (32 - 9) or less is required. HTH Andy Andy Foster |
|
|
|
#3 |
|
Posts: n/a
|
Andy
Could you let me know how you get the following range in your calculation: 10.25.0.0/22 gives you the range 10.25.0.0 - 10.25.3.255 I don't understand how you are calculating 10.25.0.0 - 10.25.3.255 with /22 Thanks Paul >-----Original Message----- >On Tue, 11 Nov 2003 22:50:15 -0500, Mike wrote: > ><snip> >> >> A. 10.25.0.0/22 >> B. 10.25.0.0/23 >> C. 10.25.0.0/24 >> D. 10.25.0.0/25 >> >> # My Calculations: >> >> /22 = 255.255.252.0 = 14 subnet bits 10 host bits /23 = 255.255.254.0 = >> 15 subnet bits 9 host bits /24 = 255.255.255.0 = 16 subnet bits >> 8 host bits /25 = 255.255.255.128 = 17 subnet bits 7 host bits >> > >Forget classes for a moment. Just because 10.x.x.x is class A doesn't >necessarily give you /8 - the possible answers give you the ranges/masks. >eg. 10.25.0.0/22 gives you the range 10.25.0.0 - 10.25.3.255 (or 10 host >bits starting from 10.25.0.0) - the rest is not yours. >100 hosts need 7 bits, and 4 subnets need 2 bits, so you need 9 host bits >to play with - so a mask or /23 (32 - 9) or less is required. > >HTH > >Andy >. > Paul |
|
|
|
#4 |
|
Posts: n/a
|
www.learntosubnet.com
>-----Original Message----- >Andy > >Could you let me know how you get the following range in >your calculation: > >10.25.0.0/22 gives you the range 10.25.0.0 - 10.25.3.255 > >I don't understand how you are calculating 10.25.0.0 - >10.25.3.255 with /22 > >Thanks > >Paul >>-----Original Message----- >>On Tue, 11 Nov 2003 22:50:15 -0500, Mike wrote: >> >><snip> >>> >>> A. 10.25.0.0/22 >>> B. 10.25.0.0/23 >>> C. 10.25.0.0/24 >>> D. 10.25.0.0/25 >>> >>> # My Calculations: >>> >>> /22 = 255.255.252.0 = 14 subnet bits 10 host >bits /23 = 255.255.254.0 = >>> 15 subnet bits 9 host bits /24 = 255.255.255.0 = >16 subnet bits >>> 8 host bits /25 = 255.255.255.128 = 17 subnet bits 7 >host bits >>> >> >>Forget classes for a moment. Just because 10.x.x.x is >class A doesn't >>necessarily give you /8 - the possible answers give you >the ranges/masks. >>eg. 10.25.0.0/22 gives you the range 10.25.0.0 - >10.25.3.255 (or 10 host >>bits starting from 10.25.0.0) - the rest is not yours. >>100 hosts need 7 bits, and 4 subnets need 2 bits, so you >need 9 host bits >>to play with - so a mask or /23 (32 - 9) or less is >required. >> >>HTH >> >>Andy >>. >> >. > Eric |
|
|
|
#5 |
|
Posts: n/a
|
If you break down the subnet mask to its bit form, /22
will give you: 10.25.0.0/22 nnnnnnnn.nnnnnnnn.sssssshh.hhhhhhhh = /22 where n=network bits / s=subnet bits / h=host bits or 11111111.11111111.11111100.00000000 = /22 or 255.255.252.0 = /22 Therefore, in the 3rd octect, you have 6 bits for the subnets and 10 bits for the hosts. Remember, the formula to calculate subnets and hosts is 2^bits - 2. In this example: Number of subnets = 2^6 - 2 or 62 Number of hosts = 2^10 - 2 or 1022 The first subnet in the range would be 10.25.4.1 - 10.25.7.254. The last subnet in the range would be 10.25.248.1 - 10.25.251.254. Sincerely, Xavier Todd Clarke ----- Original Message ----- From: Paul Newsgroups: microsoft.public.cert.exam.mcse Sent: Wednesday, November 12, 2003 6:00 AM Subject: Re: 216 and Subnetting Andy Could you let me know how you get the following range in your calculation: 10.25.0.0/22 gives you the range 10.25.0.0 - 10.25.3.255 I don't understand how you are calculating 10.25.0.0 - 10.25.3.255 with /22 Thanks Paul >-----Original Message----- >On Tue, 11 Nov 2003 22:50:15 -0500, Mike wrote: > ><snip> >> >> A. 10.25.0.0/22 >> B. 10.25.0.0/23 >> C. 10.25.0.0/24 >> D. 10.25.0.0/25 >> >> # My Calculations: >> >> /22 = 255.255.252.0 = 14 subnet bits 10 host bits /23 = 255.255.254.0 = >> 15 subnet bits 9 host bits /24 = 255.255.255.0 = 16 subnet bits >> 8 host bits /25 = 255.255.255.128 = 17 subnet bits 7 host bits >> > >Forget classes for a moment. Just because 10.x.x.x is class A doesn't >necessarily give you /8 - the possible answers give you the ranges/masks. >eg. 10.25.0.0/22 gives you the range 10.25.0.0 - 10.25.3.255 (or 10 host >bits starting from 10.25.0.0) - the rest is not yours. >100 hosts need 7 bits, and 4 subnets need 2 bits, so you need 9 host bits >to play with - so a mask or /23 (32 - 9) or less is required. > >HTH > >Andy >. > >-----Original Message----- >Andy > >Could you let me know how you get the following range in >your calculation: > >10.25.0.0/22 gives you the range 10.25.0.0 - 10.25.3.255 > >I don't understand how you are calculating 10.25.0.0 - >10.25.3.255 with /22 > >Thanks > >Paul >>-----Original Message----- >>On Tue, 11 Nov 2003 22:50:15 -0500, Mike wrote: >> >><snip> >>> >>> A. 10.25.0.0/22 >>> B. 10.25.0.0/23 >>> C. 10.25.0.0/24 >>> D. 10.25.0.0/25 >>> >>> # My Calculations: >>> >>> /22 = 255.255.252.0 = 14 subnet bits 10 host >bits /23 = 255.255.254.0 = >>> 15 subnet bits 9 host bits /24 = 255.255.255.0 = >16 subnet bits >>> 8 host bits /25 = 255.255.255.128 = 17 subnet bits 7 >host bits >>> >> >>Forget classes for a moment. Just because 10.x.x.x is >class A doesn't >>necessarily give you /8 - the possible answers give you >the ranges/masks. >>eg. 10.25.0.0/22 gives you the range 10.25.0.0 - >10.25.3.255 (or 10 host >>bits starting from 10.25.0.0) - the rest is not yours. >>100 hosts need 7 bits, and 4 subnets need 2 bits, so you >need 9 host bits >>to play with - so a mask or /23 (32 - 9) or less is >required. >> >>HTH >> >>Andy >>. >> >. > TheXman |
|
|
|
#6 |
|
Posts: n/a
|
On Wed, 12 Nov 2003 08:08:04 -0800, TheXman wrote:
> If you break down the subnet mask to its bit form, /22 will give you: > > 10.25.0.0/22 > > nnnnnnnn.nnnnnnnn.sssssshh.hhhhhhhh = /22 where n=network bits / s=subnet > bits / h=host bits > > or > 11111111.11111111.11111100.00000000 = /22 or > 255.255.252.0 = /22 > > > Therefore, in the 3rd octect, you have 6 bits for the subnets and 10 bits > for the hosts. Remember, the formula to calculate subnets and hosts is > 2^bits - 2. > 16 bits in the 3rd octet ? For you to have 16 bits to play with, you would have to be given 10.25.0.0/16. > In this example: > Number of subnets = 2^6 - 2 or 62 > Number of hosts = 2^10 - 2 or 1022 > Wrong! > The first subnet in the range would be 10.25.4.1 - 10.25.7.254. > The last subnet in the range would be 10.25.248.1 - 10.25.251.254. > Wrong! 10.25.4.1 - 10.25.7.254 is the usable host range for 10.25.4.0/22. That has nothing to do with the original question. HTH Andy Andy Foster |
|
|
|
#7 |
|
Posts: n/a
|
On Wed, 12 Nov 2003 04:00:06 -0800, Paul wrote:
> Andy > > Could you let me know how you get the following range in your calculation: > > 10.25.0.0/22 gives you the range 10.25.0.0 - 10.25.3.255 > > I don't understand how you are calculating 10.25.0.0 - 10.25.3.255 with > /22 > As suggested elsewhere www.learntosubnet.com This isn't how I calculated it, but the longhand is as follows.... Converting 10.25.0.0 into binary gives 00001010.00011001.00000000.00000000 /22 (aka 255.255.252.0) into binary gives 11111111.11111111.11111100.00000000 The range of addresses (not hosts) described by 10.25.0.0/22 in binary is 00001010.00011001.00000000.00000000 (10.25.0.0) to 00001010.00011001.00000011.11111111 (10.25.3.255) This would give a host range of 10.25.0.1 to 10.25.3.254 if it were used as a single subnet, (which it isn't) HTH Andy Andy Foster |
|
|
|
#8 |
|
Posts: n/a
|
To Andy Foster - It must be wonderful to be so sure of your own abilities . . . howeve the ability to read would be quite a useful one to start with!!! TheXman quite clearly stated that for the address 10.25.0.0/22 - "i the 3rd octect, you have 6 bits for the subnets and 10 bits for the hosts" This was not edited afterwards as you quoted it in your own post. However you then misquoted and mocked it > 16 bits in the 3rd octet ? > Wrong! Wrong! TheXman is quite right in stating that in the example given the Numbe of subnets = 2^6 - 2 or 62 and the Number of hosts = 2^10 - 2 or 1022 That's why, surprisingly enough, the address range given was correc for the example given i.e 10.25.0.0/22! HTH ; YOUNGMA Sign up for free daily practice questions at: http://www.QoD.U ----------------------------------------------------------------------- Posted via http://www.examnotes.ne ----------------------------------------------------------------------- View this thread: http://www.examnotes.net/article1027841.htm YOUNGMAN |
|
|
|
#9 |
|
Posts: n/a
|
Thank you YOUNGMAN. Can you believe the nerve of this Andy Foster
character? First, he ask for help understanding IP subnetting. Then, he mocks correct answers as if he knows IP subnetting. Instead of defending my answer, I decided it would be more pleasurable to let Andy make a FOOL of himself when he shows others his failed understanding of IP subnetting. You can only teach people who want to learn. Obviously, Andy Foster already knows everything. (lol). -- Sincerely, TheXman "YOUNGMAN" <> wrote in message news:... To Andy Foster - It must be wonderful to be so sure of your own abilities . . . however the ability to read would be quite a useful one to start with!!! TheXman quite clearly stated that for the address 10.25.0.0/22 - "in the 3rd octect, you have 6 bits for the subnets and 10 bits for the hosts" This was not edited afterwards as you quoted it in your own post. However you then misquoted and mocked it > 16 bits in the 3rd octet ? > Wrong! Wrong! TheXman is quite right in stating that in the example given the Number of subnets = 2^6 - 2 or 62 and the Number of hosts = 2^10 - 2 or 1022 That's why, surprisingly enough, the address range given was correct for the example given i.e 10.25.0.0/22! HTH YOUNGMAN Sign up for free daily practice questions at: http://www.QoD.US ------------------------------------------------------------------------ Posted via http://www.examnotes.net ------------------------------------------------------------------------ View this thread: http://www.examnotes.net/article1027841.html TheXman |
|
|
|
#10 |
|
Posts: n/a
|
TheXman wrote:
> Thank you YOUNGMAN. Can you believe the nerve of this Andy Foster > character? First, he ask for help understanding IP subnetting. > Then, he mocks correct answers as if he knows IP subnetting. Instead > of defending my answer, I decided it would be more pleasurable to let > Andy make a FOOL of himself when he shows others his failed > understanding of IP subnetting. You can only teach people who want > to learn. Obviously, Andy Foster already knows everything. (lol). You need to re-read the original post in this thread. Andy did not ask for help, he replied to the original poster (Mike). FWIW, both you and YOUNGMAN are complete dicks. -- Fris "or maybe incomplete ones" bee® MCNGP #13 http://www.mcngp.tk The MCNGP Team - We're here to help http://groups.yahoo.com/group/certaholics Certaholics - We're here if you're beyond help =?Windows-1252?Q?Frisbee=AE_MCNGP?= |
|