Solved

Host IDs

Posted on 2000-03-28
3
271 Views
Last Modified: 2010-04-11
I taking a class "Networking Essentials" Subject "Binary Numbers" I am lost.

One question I am stumped on, please help.

  Define a range of host IDs for the the following subnet: Network ID of 150.17.0.0, subnet mask of 255.255.255.0, and 4 subnets.

0
Comment
Question by:mad3654
3 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2666005
From that data (IP 150.17.0.0 and a subnet mask of 255.255.255.0) there are 254 standard subnets (255 if you use subnet-zero). The question asks for four subnets and the first four standard subnets would be:

150.17.1.0 (IP's 150.17.1.1-150.17.1.254)
150.17.2.0 (IP's 150.17.2.1-150.17.2.254)
150.17.3.0 (IP's 150.17.3.1-150.17.3.254)
150.17.1.0 (IP's 150.17.3.1-150.17.3.254)

And the last subnet would be:

150.17.254.0 (IP's 150.17.254.1-150.17.254.254)


All the subnet mask does is to specify what part of the IP is the network portion and what part is the host portion. If you convert both the IP and the subnet mask to binary quads and logically AND each quad the result is the network quad. In this case (it's simple) the network portion in 150.17.n and the host portion is 0.0.0.n.
0
 
LVL 1

Expert Comment

by:deltree
ID: 2675217
255.255.255.0 uses 150.17.0.1 to 150.17.0.254 (classful routing, you lose network and broacast addresses).
We usually break something like that with 26 bit subnets (255.255.255.192)
..1 to .62
..65 to .126
..129 to .190
..193 to .254
Given that most of our sites are roughly the same size. You could break it up many different ways, though. Rewording what jlevie said, the subnet just defines how many IP addresses you can have "in that building". You can, of course, have many subnets in one physical building, it's just a good way to visualise it.
Can't remember where, but I downloaded a demo version of a subnet calculator at work. There's a few of them out there, and can be quite handy (saves doing the math in your head) and can be useful in teaching subnetting.
0
 

Accepted Solution

by:
cujavia earned 50 total points
ID: 2702829
You have B-class address, but your subnet mask suggests that you have only 256-2=254 IP addresses for your hosts available. Now you want to divide your network into four subnets. Binary 11100000 or 224 has 3 masked bits and 5 unmasked bits. Therefore using subnet mask 255.255.255.224 you can have up to 6 subnets (2x2x2-2). For your 4 subnets you can choose out of the following ranges:
150.17.0.32 to 150.17.0.63
150.17.0.64 to 150.17.0.95
150.17.0.96 to 150.17.0.127
150.17.0.128 to 150.17.0.159
150.17.0.160 to 150.17.0.191
150.17.0.192 to 150.17.0.223
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now