Class B subnetting applies the same foundational concepts as Class C, scaled up to handle significantly larger address spaces with up to 65,534 hosts per network and over 16,000 possible subnets.
Subnetting a Class B Address
We're going to subnet a Class B. All the concepts are exactly the same, and really it's just like subnetting a Class C except there are larger numbers that we're dealing with, which may seem a little confusing at first but really is very similar. So what we're going to do is go through another exercise. I'd like you to try it on your own, check your answers, and then we'll go through it together.
As you can see, we're dealing with quite a few bigger numbers here. We've got the 141.44.something.something, so we're dealing with a Class B address here. We have 32 networks. I didn't have enough space to put them all on there, but we've got a total number of 32 networks. We're just going to do the first six, figure out the first six, and then it ranges anywhere from 1500 hosts per network down to two hosts per network. So that's what we're working with.
Other than that, you can see we made some adjustments, so the hosts go all the way up to 65,000, the networks go all the way up to sixteen thousand, so we made a few little adjustments like that.
So at this point in time go ahead and pause and try this out on your own, and then see how close you came, and after that we will go through it together in case you want a little extra help as you're going through this process.
Here are the answers, so go ahead and pause again and check to see what you came up with and make sure it's close to what we have here. So go ahead and check your answers. All right, hopefully that's close.
Now what we're going to do is step through the process together to see what we come up with.
The first thing that I'm going to need to do is determine how many bits I'm going to need to borrow. I need a total number of 32 networks, so I can get exactly that right there, so 32 networks right there. And then I also need up to 1500 hosts per network, so I can cross that off, or really I can just jump straight to this, this is going to be what we need right there. So this is where I'm going to draw the line. I am borrowing eight bits for this.
All right, next what I'm going to do is start figuring out what my different networks are, so here's where that binary counting comes in. We'll just play this out, and like I say, we're only going to go to this sixth network right here.
Next what we need to do is figure out what the network is. So if these are all zeros here for the network address, then what we're going to do — and I ended up putting a zero right there, which this is really just the division line there between the two octets. So what our network is, it's going to be 0.0, so 141.44.0.0.
The broadcast address would then be all ones through here, so if we were to calculate that out, this would be .255, and ones here would be the 4 plus the 2 plus the 1, so four, five, six, seven, so .7. So the broadcast address is .7.255. So the usable range is anywhere from .0.1 through .7.254. So we're going to subtract 1 from that last octet there and add one to the last octet there to find out what the usable host range is. So there we have it.
I could also do my other method where I figure out all the networks first. So this network is .8, and then .16, then .24, then .32, then .40, and then this is actually .0.0. And then I can figure out what the broadcast is from there by subtracting one.
It looks a little strange when we subtract one like this. .16.0, we're subtracting 1 from it, so we have to borrow from this third octet for the fourth octet to subtract one from it, so that brings that down to .15.255. And this would be .23.255, this one would be .31.255, and this one would be .39.255. And then our next one would be .48.0, so this one would be .47.255.
And then we can figure out the usable range in between, which is going to be .8.1 through .15.254. So I won't make you stay for the rest of this, but you can see we would just calculate for the usable host address, and that is fairly straightforward at this point.
As always, I would just check your work again, make sure that you are good to go, and make sure you have this down before you proceed on to the next set of videos.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →