?
Solved

Is this correct?

Posted on 2003-03-09
7
Medium Priority
?
233 Views
Last Modified: 2010-03-19
Using the IP address 193.144.233.0 and the subnet mask 255.255.255.248 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
255.255.255.248 32 subnets 6 hosts
255.255.255.252 64 subnets 2 hosts

How do I work out the subnet id and the range of host id for the subnet id?
0
Comment
Question by:Makaveli2003
[X]
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
7 Comments
 
LVL 41

Accepted Solution

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

Author Comment

by:Makaveli2003
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.

Thanx
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 8097752
lets use a class B
255.255.192.0
1. list the # of bits in the subnet id
example if 2 bits are used
11000000 (192)
 V
11000000 convert to decimal is 64
so
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
0
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

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

Expert Comment

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

Expert Comment

by:TheAmigo
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 255.255.255.248 and IP of 193.144.233.0, 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 193.144.233.0, 193.144.233.8, 193.144.233.16, 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: 193.144.233.7, 193.144.233.15, 193.144.233.23, etc.

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

Simple, eh?  No binary involved :)
0
 

Expert Comment

by:CleanupPing
ID: 9153194
Makaveli2003:
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 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

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