we've addressed how to use our sub net masks to provide us additional subnets or networks. So we'll modify that sub net mask is needed and get the formula where two to the power of X equals the number of subnets you've created.
Now we'll switch our focus and discuss hosts per network.
When we're working with Subnets. Remember, we're working with ones and when we're working with hosts were working with zeros.
So when somebody for hosts we'll do things a bit differently
in Submitting for host will focus on binary zeros
when stealing bits for sub nuts. We go left to right, and when stealing for hosts, we go right to left.
The formula for the number of hosts needed is X to the power of two minus two.
Remember, we have to subtract two for the network, and broadcast address is
also remember that when you figure out the number of hosts or binary zeros you'll be using, you'll have a 32 bit I p address.
If I need five binary zeros to support hosts, the remaining 27 will be set to one.
Let's take a look at this helpful chart,
which will replace the submitting chart.
When working with hosts, we'll look at things differently and use this chart instead.
Using the chart I just shared. Let's work on a question together.
What sub net mask what I use to produce as many networks as possible, with a minimum of 20 hosts per sub net.
Let's go back to the chart
that I recommend Memorizing
I'm looking for 20 hosts per submit
and four bits set to zero isn't enough.
But five bits set to zero will give me 30 hosts in each submit.
If five are set to zero, the remaining 27 are set to one.
Use your slash 27 to indicate the number of binary ones in your sub net mask.
Try the next questions. What network would I use to produce as many networks as possible with a minimum of 64 hosts per submit?
Pause the video and see how you do.
Let's take a look at the answers.
We've already went through the first one together
for the next one. I need to produce as many networks as possible, and I need 64 hosts per subnets.
I like to use my chart to answer these questions,
I need support for 64 hosts.
so we'll go up to seven.
We'll set seven bits to zero because we're talking about hosts,
meaning we'll have a slash 25 sub net mask with 25 bits set to one in our sub net mask.
What would be the sub net mask to produce as many networks as possible? With a minimum of 600 hosts per subnets
going back to our chart, nine bits will not be enough.
The next step is to set 10 bits to zero,
which would give me support for 1022 hosts.
Remember that it's important.
Now we'll have 10 bits at 20
with 22 bit set to one so slash 22.
Finally, the sub net mask for Class A
as many networks as possible with a minimum of 45 hosts. Prayer said that
to support 45 hosts, I'll have six bits set to zero with this last 26 sub net mask.
The trick is having this chart.
So what would the sub net mask for Class A B?
We said the answer for class a sash 26. I hope you did okay with these questions.
Remember, when dealing with hosts or work with zeros,
figure out how many zeros you need and the rest will be binary ones.