# subnetwark

what is the different be taween  255.255.255.0  and 255.255.255.252 and 255.255.0.0
Thank
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Senior DeveloperCommented:
255.255.255.0  = 254 Computers
255.255.255.252  = 3 Computers
0
Author Commented:
How do you known 254 computer or 3 computer
Thank
0
It's based on the bits.  255.255.255.0 is equal to 11111111.11111111.11111111.00000000 (in binary).  It defines the network.

For a clearer, more detailed explanation, you might want to have a look at these links:
http://www.troutman.org/tech/linux_guides/subnet.html

http://www.blogontheweb.com/ccda/archive/2004/02/17/3736.aspx

http://www.windowsitlibrary.com/Content/121/01/2.html
0
Commented:
here we go ...

consider you want 10 subnetworks.
2^2 = 4 (4 - 2 = 2 => 2 usable subnetworks; you will always have two reserved network addrs: the broadcast addr and the network addr)
2^3 = 8 (8 - 2 = 6 => 6 usable subnetworks)
2^4 = 16 (16 - 2 = 14 => 14 subnetworks - this is what u want)

Therefore you will have to use 4 bits for the netowrk addr
what this means is that your network mask will be something like:

1. 255.[1111 0000].0.0 = 255.240.0.0 (if you are subnetting a class A addr) / here u will have 20 bits for hosts (2^20 - 2 hosts / per subnet)
2. 255.255.[1111 0000].0 = 255.255.240.0 (if you are subnetting a class B addr) / here u have 12 bits for hosts
3. 25.255.255.[1111 0000]  = 255.255.255.240 (in case you are subnetting a class C addr) / here u have 4 bits for hosts

This is it! Basically!!!

On some configurations you might be able to use what is called the "subnet zero" subnetwork which for a cisco router is configured using the "ip subnet zero" command. ... but this is another "area" ...

;)
Cheers.
0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.