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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

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

Independent Software Vendors: 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!

Question has a verified solution.

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

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
This program is used to assist in finding and resolving common problems with wireless connections.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Suggested Courses

777 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