Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Is this correct?

Posted on 2003-03-09
Medium Priority
Last Modified: 2010-03-19
Using the IP address and the subnet mask is using 29 bits for network, so remaining bits out of 32 i.e. 3 bits can be used for hosts giving you 6 IP addresses for hosts. And the number of subnets will be 32.

So 32 subnets 6 hosts 64 subnets 2 hosts

How do I work out the subnet id and the range of host id for the subnet id?
Question by:Makaveli2003
LVL 41

Accepted Solution

stevenlewis earned 80 total points
ID: 8097570
In a class c network will give you 6 hosts per subnet, but you have a max of 30 subnets 2 hosts/max 62 subnets
should help you a lot

Author Comment

ID: 8097710
Could some1 show me how to calculate the host range? Ive looked at serveral examples, but cant seem to work it out ot see how.

LVL 41

Expert Comment

ID: 8097752
lets use a class B
1. list the # of bits in the subnet id
example if 2 bits are used
11000000 (192)
11000000 convert to decimal is 64
0 0-64 invalid
64  w.x 64.1 --> w.x.127.254
64=128  w.x.128.1 -->w.x.191.254

192 is class c so 192 would be in class c
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 41

Expert Comment

ID: 8097754
Argggg it moved the "V" over one, it should be pointing to the second "1", not the first
LVL 41

Expert Comment

ID: 8097757
again http://www.learntosubnet.com/ should help you understand (and has some shortcuts)

Expert Comment

ID: 8099196
Here's how to do it without having to deal with any binary... this way you can do it in your head without a calculator or scrap paper.

Given netmask of and IP of, there are a few basic questions you can answer:
1) What is the subnet number
2) What is the broadcast address
3) What range of IPs are valid on that subnet

Once you have 1) and 2), the answer for 3) is all the IPs between them.

To start, take your subnet mask.  Note that it is 8 less than 256.  This means that your subnet will hold 8 IPs.  Since 0 is always a starting point, it also means that the subnets will all start with numbers divisible by 8.

So you'll have subnets like,,, etc.

That answers part 1.  For part2, the broadcast address is the number one less than the next subnet.  So your broadcast addresses will be:,,, etc.

Knowing both the subnet number and the broadcast, you now know the range of host IPs too:
on subnet, hosts are from - with the broadcast of

Simple, eh?  No binary involved :)

Expert Comment

ID: 9153194
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
In this article I will be showing you how to subnet the easiest way possible for IPv4 (Internet Protocol version 4). This article does not cover IPv6. Keep in mind that subnetting requires lots of practice and time.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question