IP subnetting

IP subnetting

NewsGroups | Search | Tools
 alt.certification.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
IP subnetting RIckH 07-16-2007
|--> Re: IP subnetting Gabriele Beltra ..07-16-2007
|   |--> Re: IP subnetting reza.behroozi@g ..07-17-2007
|   `--> Re: IP subnetting reza.behroozi@g ..07-17-2007
Posted by RIckH on July 16, 2007, 8:40 am
If you were  Registered and logged in, you could reply and use other advanced thread options


Can someone please explain how the answer to this question is
obtained ?

How many subnets are gained by subnetting 172.17.32.0/20 into multiple/
28 subnets?

They answer is 256, but I can not figure out how to come up with that
answer.

Thanks for the help


NMFall 20%
Posted by pk on July 16, 2007, 9:17 am
If you were  Registered and logged in, you could reply and use other advanced thread options


RIckH wrote:

> Can someone please explain how the answer to this question is
> obtained ?
>
> How many subnets are gained by subnetting 172.17.32.0/20 into multiple/
> 28 subnets?
>
> They answer is 256, but I can not figure out how to come up with that
> answer.

If you keep 172.17.32.0/20 as is, you have just one big network (of course).

If you use a /28 mask, then you have the following subnets (relative to the
original address and mask):

172.17.32.0/28 .00100000.0000 0000 (last two octets, space at /28)
172.17.32.16/28 .00100000.0001 0000
172.17.32.32/28 .00100000.0010 0000
172.17.32.48/28 .00100000.0011 0000
...
172.17.32.240/28 .00100000.1111 0000 (16 subnets so far)

then:

172.17.33.0/28 .00100001.0000 0000
...
172.17.33.240/28 .00100001.1111 0000 (other 16 subnets )

and so on until

172.17.47.0/28 .00101111.0000 0000
...
172.17.47.240/28 .00101111.1111 0000


So, you have 16*16 subnets (eg, 256) if you use a /28 mask.

You can also see this very quickly if you think that you gain 8 bits for the
subnet part (/20 -> /28), thus you have 2^8 = 256 subnets.

Posted by Gabriele Beltrame on July 16, 2007, 9:22 am
If you were  Registered and logged in, you could reply and use other advanced thread options



> Can someone please explain how the answer to this question is
> obtained ?
>
> How many subnets are gained by subnetting 172.17.32.0/20 into multiple/
> 28 subnets?
>
> They answer is 256, but I can not figure out how to come up with that
> answer.
>
> Thanks for the help
>
Hi,


2^(28-20) = 256 subnets (with ip subnet-zero)


172.17.32.0/20 172.17.32.0-172.17.47.255
172.17.32.0 (16 subnets)
172.17.32.0-172.17.32.15
172.17.32.16-172.17.32.31
....
....
172.17.32.240-172.17.32.255

172.17.33.0 (16 subnets)
172.17.33.0-172.17.33.15
172.17.33.16-172.17.33.31
....
....
172.17.33.240-172.17.33.255
.....
.....
172.17.47.0 (16 subnets)
172.17.47.0-172.17.47.15
172.17.47.16-172.17.47.31
....
....
172.17.47.240-172.17.47.255


Regards,
Gabriele



Posted by pk on July 16, 2007, 9:23 am
If you were  Registered and logged in, you could reply and use other advanced thread options


RIckH wrote:

> Can someone please explain how the answer to this question is
> obtained ?
>
> How many subnets are gained by subnetting 172.17.32.0/20 into multiple/
> 28 subnets?
>
> They answer is 256, but I can not figure out how to come up with that
> answer.

If you keep 172.17.32.0/20 as is, you have just one big network (of course).

If you use a /28 mask, then you have the following subnets (relative to the
original address and mask):

172.17.32.0/28 .00100000.0000 0000 (last two octets, space at /28)
172.17.32.16/28 .00100000.0001 0000
172.17.32.32/28 .00100000.0010 0000
172.17.32.48/28 .00100000.0011 0000
...
172.17.32.240/28 .00100000.1111 0000 (16 subnets so far)

then:

172.17.33.0/28 .00100001.0000 0000
...
172.17.33.240/28 .00100001.1111 0000 (other 16 subnets )

and so on until

172.17.47.0/28 .00101111.0000 0000
...
172.17.47.240/28 .00101111.1111 0000


So, you have 16*16 subnets (eg, 256) if you use a /28 mask.

You can also see this very quickly if you think that you gain 8 bits for the
subnet part (/20 -> /28), thus you have 2^8 = 256 subnets.

Ok, strictly speaking, you "gain" 255 subnets (you had one, and now you have
256), but I hope you got the idea.


Posted by RIckH on July 16, 2007, 3:16 pm
If you were  Registered and logged in, you could reply and use other advanced thread options


> RIckH wrote:
> > Can someone please explain how the answer to this question is
> > obtained ?
>
> > How many subnets are gained by subnetting 172.17.32.0/20 into multiple/
> > 28 subnets?
>
> > They answer is 256, but I can not figure out how to come up with that
> > answer.
>
> If you keep 172.17.32.0/20 as is, you have just one big network (of course).
>
> If you use a /28 mask, then you have the following subnets (relative to the
> original address and mask):
>
> 172.17.32.0/28 .00100000.0000 0000 (last two octets, space at /28)
> 172.17.32.16/28 .00100000.0001 0000
> 172.17.32.32/28 .00100000.0010 0000
> 172.17.32.48/28 .00100000.0011 0000
> ...
> 172.17.32.240/28 .00100000.1111 0000 (16 subnets so far)
>
> then:
>
> 172.17.33.0/28 .00100001.0000 0000
> ...
> 172.17.33.240/28 .00100001.1111 0000 (other 16 subnets )
>
> and so on until
>
> 172.17.47.0/28 .00101111.0000 0000
> ...
> 172.17.47.240/28 .00101111.1111 0000
>
> So, you have 16*16 subnets (eg, 256) if you use a /28 mask.
>
> You can also see this very quickly if you think that you gain 8 bits for the
> subnet part (/20 -> /28), thus you have 2^8 = 256 subnets.
>
> Ok, strictly speaking, you "gain" 255 subnets (you had one, and now you have
> 256), but I hope you got the idea.

Thanks, That makes perfect sense now.


Similar ThreadsPosted
Subnetting help June 6, 2006, 9:04 pm
Subnetting July 3, 2006, 4:40 am
Subnetting May 18, 2007, 11:16 pm
Subnetting Question February 6, 2005, 11:45 pm
Fast Subnetting Anyone? April 28, 2005, 2:51 am
IP subnetting tips... February 20, 2006, 9:41 pm
subnetting a subnet May 24, 2006, 8:32 pm
Subnetting for Dummies April 18, 2007, 1:24 pm
Subnetting question? April 28, 2007, 2:26 am
Check my subnetting? May 3, 2007, 6:37 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map