﻿1
00:00:02,603 --> 00:00:08,884
[music]

2
00:00:08,909 --> 00:00:13,647
Just to review, we know
what a Subnet mask is. It's

3
00:00:13,647 --> 00:00:20,821
a comparison tool. Now for
us as humans, it's nice when

4
00:00:20,821 --> 00:00:24,758
we see an IP address and a
Subnet mask, and the Subnet

5
00:00:24,758 --> 00:00:27,895
mask falls in a nice
boundary of a byte like

6
00:00:27,895 --> 00:00:36,136
255.000 or 25525500. Right
that's real easy for us

7
00:00:36,136 --> 00:00:38,171
using our eyeballs to do
that comparison and say,

8
00:00:38,171 --> 00:00:41,842
"Oh, okay clearly this octet
and this octet belong to the

9
00:00:41,842 --> 00:00:45,579
network. Everything else is
host bits." Well I've been

10
00:00:45,579 --> 00:00:47,514
trying to show you with some
of these quiz questions here

11
00:00:47,514 --> 00:00:50,584
is the Subnet mask gives you
the ability to draw that

12
00:00:50,584 --> 00:00:54,988
dividing line anywhere in
that 32-bit IP address. It

13
00:00:54,988 --> 00:01:02,529
doesn't have to fall right
at the end of a byte. So,

14
00:01:02,529 --> 00:01:05,465
for example, in this
particular case it does fall

15
00:01:05,465 --> 00:01:07,701
right at the end of a byte.
Right? Right after the

16
00:01:07,701 --> 00:01:11,238
second byte, our subnet mask
ends. And so it says, Okay,

17
00:01:11,238 --> 00:01:17,144
the first two bytes with the
/16 belong to the network.

18
00:01:17,144 --> 00:01:19,580
Another one where it falls
right at the end. So in this

19
00:01:19,580 --> 00:01:23,583
case, with the /24, that
says the first three entire

20
00:01:23,583 --> 00:01:27,788
bytes belong to the network.
No problem, but you could

21
00:01:27,788 --> 00:01:32,459
easily do it like this, /28
where you say, Okay, the

22
00:01:32,459 --> 00:01:36,396
subnet mask extends all the
way into the last octet.

23
00:01:36,396 --> 00:01:42,369
Four bits of the last octet
belong to the group. So in

24
00:01:42,369 --> 00:01:45,639
that last example, example
number three there, we've

25
00:01:45,639 --> 00:01:47,975
only got four bits left for
host. So let me ask you some

26
00:01:47,975 --> 00:01:51,845
questions about what you see
right here. Question number

27
00:01:51,845 --> 00:01:56,683
one, what was the original
classful network before any

28
00:01:56,683 --> 00:02:00,487
subnet masks were applied?
So forget about the /16,

29
00:02:00,487 --> 00:02:03,623
/24, and /28. If we we're
looking at this purely from

30
00:02:03,623 --> 00:02:05,959
a classful network
perspective, what would the

31
00:02:05,959 --> 00:02:08,695
classful network have been?
Go ahead and someone type

32
00:02:08,695 --> 00:02:10,630
that into the question feed
there and answer that for

33
00:02:10,630 --> 00:02:13,600
me. Does anybody know what
the original classful

34
00:02:13,600 --> 00:02:17,371
network was? Well, the
original classful network

35
00:02:17,371 --> 00:02:21,508
was the 1 Network, right?
With the first bit being a

36
00:02:21,508 --> 00:02:25,779
0, that was a Class A, so we
only looked at the first

37
00:02:25,779 --> 00:02:29,149
byte. The first byte, if we
translate that back to

38
00:02:29,149 --> 00:02:33,353
decimals, the number 1. So
that was the 1.0.0 network.

39
00:02:33,353 --> 00:02:41,094
Next question. In all three
of these examples, what is

40
00:02:41,094 --> 00:02:45,432
the network address now that
we've got /16, /24, and /28?

41
00:02:45,432 --> 00:02:47,801
So in this first example
here, example number one,

42
00:02:47,801 --> 00:02:50,804
given the subnet mask -
we're no longer doing

43
00:02:50,804 --> 00:02:53,507
classful - what's the new
network address based on

44
00:02:53,507 --> 00:02:56,009
what you see right here?
Well hopefully, it's pretty

45
00:02:56,009 --> 00:02:59,513
easy. You just count up the
red bits. The first byte is

46
00:02:59,513 --> 00:03:04,217
1. The second byte is the
number three, so this is the 1.3

47
00:03:04,217 --> 00:03:08,388
network. And the second
example, our network address

48
00:03:08,388 --> 00:03:15,095
in now 1.3.192. And the
third example, the network

49
00:03:15,095 --> 00:03:25,105
address is 1.3.192.112. That
one's a little bit tougher.

50
00:03:25,105 --> 00:03:30,310
112 is the fourth octet. Of
these three examples here

51
00:03:30,310 --> 00:03:33,480
with these three different
subnet masks, which one

52
00:03:33,480 --> 00:03:40,520
provides for the greatest
quantity of hosts?

53
00:03:40,520 --> 00:03:44,191
Well hopefully, you very quickly
said example number one

54
00:03:44,191 --> 00:03:46,193
because example number one's
got a whole lot of host

55
00:03:46,193 --> 00:03:52,265
bits. The other two examples
don't have as many. Last

56
00:03:52,265 --> 00:03:56,203
question about this. If this
company was originally given

57
00:03:56,203 --> 00:04:00,774
the Class A network of
1.0.0.0, which of these

58
00:04:00,774 --> 00:04:05,011
subnet masks would provide
for the greatest quantity of

59
00:04:05,011 --> 00:04:07,848
subnets? In other words,
which of these subnet masks

60
00:04:07,848 --> 00:04:11,218
would allow us to take that
original network of 1.0.0.0

61
00:04:11,218 --> 00:04:14,387
and carve it up into the
most quantity of subnets

62
00:04:14,387 --> 00:04:18,592
that we could? Give us the
most variation. Well hopefully

63
00:04:18,592 --> 00:04:22,295
you said example number
three. With example number

64
00:04:22,295 --> 00:04:26,266
three, I can't touch my
original network of 1, but

65
00:04:26,266 --> 00:04:33,240
with a /28, that means I've
got 8, 16, 20 bits of

66
00:04:33,240 --> 00:04:37,377
subnetting. That gives me 2
to the power of 20

67
00:04:37,377 --> 00:04:41,781
combinations I can come up
with. Tens of thousands of--

68
00:04:41,781 --> 00:04:44,584
hundreds of thousands of
networks I can come up with.

69
00:04:51,758 --> 00:04:59,399
So why do we subnet? So we
can divide a single

70
00:04:59,399 --> 00:05:03,036
allocated network into
multiple subnetworks. That's

71
00:05:03,036 --> 00:05:07,807
the whole reason behind it.
Minor loss of host space

72
00:05:07,807 --> 00:05:13,113
available. So here's a
practical example. Imagine

73
00:05:13,113 --> 00:05:18,485
if you lease a network from
your ISP for $100 a month.

74
00:05:18,485 --> 00:05:21,721
The building here we see
requires four networks. If

75
00:05:21,721 --> 00:05:27,694
we used classful addressing,
that right there would cost

76
00:05:27,694 --> 00:05:31,031
us $400 a month because we
had to purchase or lease

77
00:05:31,031 --> 00:05:36,269
four unique networks. With
subnetting, I can take just

78
00:05:36,269 --> 00:05:41,041
one classful network, subnet
it, I'm only paying $100 a

79
00:05:41,041 --> 00:05:44,978
month. I'm only paying one
fee for my 20.0.0.0 for my

80
00:05:44,978 --> 00:05:49,082
ISP, but by extending those
bits out with a subnet mask,

81
00:05:49,082 --> 00:05:51,718
I have now given myself four
unique networks but I'm only

82
00:05:51,718 --> 00:05:55,789
paying for one of them. One
of the key points I want you

83
00:05:55,789 --> 00:05:59,759
to take away from this is
that, as I take my original

84
00:05:59,759 --> 00:06:03,830
network and I say, Okay, I'm now
gonna take some of my host bits

85
00:06:03,830 --> 00:06:06,266
and add them to that network
- give me a little bit of

86
00:06:06,266 --> 00:06:09,035
room to play and have
variation. Well, the more

87
00:06:09,035 --> 00:06:12,105
host bits you steal-- you'll
see that term a lot,

88
00:06:12,105 --> 00:06:14,608
stealing bits, which means
you're taking your host bits

89
00:06:14,608 --> 00:06:17,110
and you're stealing them for
networking bits. You're

90
00:06:17,110 --> 00:06:20,347
converting them into subnet
bits. The more subnet bits I

91
00:06:20,347 --> 00:06:24,217
have, there's pros and cons
to that, right? The more subnet

92
00:06:24,217 --> 00:06:26,987
bits I have available to me,
the more networks I can come

93
00:06:26,987 --> 00:06:32,392
up with. But, the more
subnet bits I have, the less

94
00:06:32,392 --> 00:06:34,894
host bits I have. And the
fewer host bits I have, that

95
00:06:34,894 --> 00:06:39,399
means that each subnet can't
have as many hosts anymore.

96
00:06:39,399 --> 00:06:45,105
The subnets are getting
smaller and smaller. So

97
00:06:45,105 --> 00:06:48,508
here's an example of that.
So I got this class B from

98
00:06:48,508 --> 00:06:56,716
my ISP, 180.1. That's the
network. We know that those

99
00:06:56,716 --> 00:07:00,120
original 16 bits are
untouchable. Can't touch

100
00:07:00,120 --> 00:07:03,523
those bits. So we ask
ourselves, how many host

101
00:07:03,523 --> 00:07:07,827
bits do I have? Well, in
this case, I've got 16.

102
00:07:07,827 --> 00:07:10,597
Sixteen bits I can play with
on the back end of this

103
00:07:10,597 --> 00:07:16,036
address. For every host bit
that you convert into a

104
00:07:16,036 --> 00:07:19,706
subnet bit, you've just
gained two additional

105
00:07:19,706 --> 00:07:28,748
networks. Two additional
networks. For example, if

106
00:07:28,748 --> 00:07:32,819
this is what I was given
from my service provider -

107
00:07:32,819 --> 00:07:40,894
let's say 1.0.2.3.4.5.6.7.8.
1,2,3,4,5,6,7,8. So that's

108
00:07:40,894 --> 00:07:43,063
what I'm given from my ISP
and I can't touch that.

109
00:07:51,071 --> 00:07:56,042
Okay, there's my remaining 16
bits of host bits. If I say,

110
00:07:56,042 --> 00:07:58,912
Well, here's what I'm going
to do. I'm going to take

111
00:07:58,912 --> 00:08:03,850
this bit right here and add
it to my networking bits.

112
00:08:03,850 --> 00:08:06,986
I'm going to say, Well, my
group, my broadcast domain

113
00:08:06,986 --> 00:08:12,392
is the first 17 bits. Well I
know I can't touch this original

114
00:08:12,392 --> 00:08:16,062
pattern of 16. That was
purchased from my ISP. But

115
00:08:16,062 --> 00:08:19,866
what can I do? I can say,
Well, I've got one network,

116
00:08:19,866 --> 00:08:26,573
that's 129.1 and then put a
0 right here. My only other

117
00:08:26,573 --> 00:08:30,477
option is to put a 1 right
there. I've just now taken

118
00:08:30,477 --> 00:08:33,546
the one network I got from
my ISP and subdivided into

119
00:08:33,546 --> 00:08:38,284
two portions. One broadcast
domain is a 17 bit group

120
00:08:38,284 --> 00:08:41,855
number ending with 0. The
other broadcast domain is a

121
00:08:41,855 --> 00:08:48,428
17 bit number ending with a
1. You can see, if I move

122
00:08:48,428 --> 00:08:53,099
it-- let's say I move that
line. I say, Well, I'm

123
00:08:53,099 --> 00:09:00,040
actually going to now take
two of my host bits. Well,

124
00:09:00,040 --> 00:09:02,208
now what can I have? Well, I
can have one broadcast

125
00:09:02,208 --> 00:09:05,945
domain that ends with 0.0.
Another one that ends with

126
00:09:05,945 --> 00:09:09,983
0.1. Another one that ends
with 1.0. Another one that

127
00:09:09,983 --> 00:09:16,122
ends with 1.1. So with two
bits, I'm now just giving

128
00:09:16,122 --> 00:09:22,829
myself four combinations. So
what you're going to see

129
00:09:22,829 --> 00:09:29,736
here is just basically boils
down to this nice formula. 2

130
00:09:29,736 --> 00:09:36,176
to the power of subnetting
or 2 to the power of N, gives

131
00:09:36,176 --> 00:09:42,182
you your quantity of
subnets. In other words--

132
00:09:42,182 --> 00:09:48,588
let's go back to my example
here. I'm given this

133
00:09:48,588 --> 00:09:58,665
original network of 16 bits
and I say, Well, hmm, I need

134
00:09:58,665 --> 00:10:06,239
let's say eight networks.
Well if I use that formula

135
00:10:06,239 --> 00:10:09,542
to 2 to the power of stolen
bits, or 2 to the power of

136
00:10:09,542 --> 00:10:15,448
subnetting bits, is it going
to be greater than or equal

137
00:10:15,448 --> 00:10:23,790
to the number of networks I
need? So now I solve it. I

138
00:10:23,790 --> 00:10:29,596
say, 2 to the power of SN
subnetting bits is going to

139
00:10:29,596 --> 00:10:33,500
be greater than or equal to
8, because I need 8

140
00:10:33,500 --> 00:10:39,739
networks. So you say, "Oh,
well, okay that would be the

141
00:10:39,739 --> 00:10:44,010
number 3." If I have 2 to
the power of 3, if I steal 3

142
00:10:44,010 --> 00:10:49,682
bits, that will actually
give me 8 combinations of

143
00:10:49,682 --> 00:10:58,391
numbers: 000, 001, 010, 011,
all the way up to 111 - 8

144
00:10:58,391 --> 00:11:02,495
possible combinations. So
you might get questions like

145
00:11:02,495 --> 00:11:06,199
that on your CCNA or even in
real life, if you're given

146
00:11:06,199 --> 00:11:09,369
some based network, and
you're told, "Okay, well you

147
00:11:09,369 --> 00:11:14,173
need 15 networks, or you
need 30 networks, how many

148
00:11:14,173 --> 00:11:16,809
host bits do you need to
re-purpose or re-convert in a

149
00:11:16,809 --> 00:11:20,613
subnetting bits to give you
enough variation for the 15

150
00:11:20,613 --> 00:11:26,252
networks you need, or the 20
networks that you need?"

151
00:11:26,252 --> 00:11:31,224
Based on that, let's do
some-- oh, before we do

152
00:11:31,224 --> 00:11:34,260
another quiz, one other key
thing here - one other key

153
00:11:34,260 --> 00:11:38,331
thing. Let's go back to this
for a moment. In my example,

154
00:11:38,331 --> 00:11:41,801
I said, "Well, I need to
have 8 networks." You say,

155
00:11:41,801 --> 00:11:45,204
"Oh, well-- okay, well, 2 to
the power of 3 works, but

156
00:11:45,204 --> 00:11:48,775
why don't I say, oh I don't
know, why don't I steal this

157
00:11:48,775 --> 00:11:54,347
many? That looks good. Why
don't I steal 11 bits? Right?

158
00:11:54,347 --> 00:11:57,083
Because 2 to the power of 11
is going to give me far more

159
00:11:57,083 --> 00:11:59,686
that 8." "Yeah, but it'll
give me the 8 you need,

160
00:11:59,686 --> 00:12:03,289
right? Why not just use 8
networking bits? Subnet

161
00:12:03,289 --> 00:12:05,758
bits?" Well, here's the
thing. Remember, the further

162
00:12:05,758 --> 00:12:08,528
you push this line to the
right, the more bits you

163
00:12:08,528 --> 00:12:13,967
steal, the less host space
you have available. If I put

164
00:12:13,967 --> 00:12:17,637
my line way out here, my
broadcast domain is not

165
00:12:17,637 --> 00:12:20,106
going to be able to have
very many laptops and PCs

166
00:12:20,106 --> 00:12:23,409
and printers in it, because
I don't have very many

167
00:12:23,409 --> 00:12:26,946
addresses left for host
addresses. So when you're

168
00:12:26,946 --> 00:12:29,482
doing subnetting in this way
that we're doing right here,

169
00:12:29,482 --> 00:12:36,489
the idea is push your line
to the right, not as far as

170
00:12:36,489 --> 00:12:39,058
you can go but as minimal as
you can go. In other words,

171
00:12:39,058 --> 00:12:41,728
you say, Okay, if I push it
just one, will that be

172
00:12:41,728 --> 00:12:45,598
enough? Ugh, it's not enough. If
I push it two to the right,

173
00:12:45,598 --> 00:12:47,200
is that enough? Ugh, it's
not enough. Well, if I push

174
00:12:47,200 --> 00:12:50,436
it three to the right,
that's just barely going to

175
00:12:50,436 --> 00:12:53,940
give me what I need. That's
where you stop, where the

176
00:12:53,940 --> 00:12:56,542
number you come up with here
is just barely what you're

177
00:12:56,542 --> 00:13:00,346
looking for but it just fits
what you're looking for.

178
00:13:00,346 --> 00:13:02,482
Sure, you could keep pushing
it to the right if you wanted

179
00:13:02,482 --> 00:13:10,056
to, but now you're sacrificing
host space. So let's do some

180
00:13:10,056 --> 00:13:16,562
examples of this. So you
were leased the following

181
00:13:16,562 --> 00:13:22,335
network from your ISP, the
45 network. If you convert

182
00:13:22,335 --> 00:13:27,440
the first three host bits
into subnetting bits, how

183
00:13:27,440 --> 00:13:32,645
many total subnets will you
have available? Okay, time's

184
00:13:32,645 --> 00:13:37,684
up. If we use our formula of
2 to the power of subnetting

185
00:13:37,684 --> 00:13:40,720
bits gives us our total
quantity of subnets, well,

186
00:13:40,720 --> 00:13:44,757
if we steal three bits, that's
2 to the power of 3, which gives

187
00:13:44,757 --> 00:13:51,497
us the number 8. Robert, I see
your question there.

188
00:13:58,871 --> 00:14:01,374
When stealing, start
stealing point, is it

189
00:14:01,374 --> 00:14:09,816
connected to the classful
network? So the question is,

190
00:14:09,816 --> 00:14:12,919
where do you start stealing
the bits from? You have to

191
00:14:12,919 --> 00:14:16,522
ask yourself, Okay, what was
I originally given? What was

192
00:14:16,522 --> 00:14:19,425
I given from my service
provider or from my regional

193
00:14:19,425 --> 00:14:24,030
Internet registry? You know, of
my 32-bit number that they gave

194
00:14:24,030 --> 00:14:27,366
me, what amount of those
bits do they consider

195
00:14:27,366 --> 00:14:31,104
untouchable as the
networking portion? Now they

196
00:14:31,104 --> 00:14:33,706
may have given you a
classful network, or they

197
00:14:33,706 --> 00:14:37,610
may not. For example, your
regional Internet registry

198
00:14:37,610 --> 00:14:41,347
or your service provider
could say, Okay, we're

199
00:14:41,347 --> 00:14:53,593
giving you this,
140.55.64.0/18. So what that

200
00:14:53,593 --> 00:14:57,130
means is, from the service
provider's perspective, I am

201
00:14:57,130 --> 00:15:01,200
not allowed to touch the
first 18 bits. That is not a

202
00:15:01,200 --> 00:15:04,971
classful mask, right? A classful
network would be a /16

203
00:15:04,971 --> 00:15:09,142
because 140 is a class B
address. But here, my

204
00:15:09,142 --> 00:15:12,378
service provider has given
me a /18. So that means if

205
00:15:12,378 --> 00:15:15,848
I'm going to take that one
network and subdivide it

206
00:15:15,848 --> 00:15:20,353
into subnets, I may have to
go beyond /18. So in this

207
00:15:20,353 --> 00:15:23,189
particular case of a /18,
let me ask you this. If

208
00:15:23,189 --> 00:15:27,160
they're giving me a /18, how
many host bits do I have

209
00:15:27,160 --> 00:15:29,629
available from this one
network that I just

210
00:15:29,629 --> 00:15:32,365
purchased from my service
provider? How many host bits

211
00:15:32,365 --> 00:15:39,372
are left? I've got 14 host
bits left, right? I've got

212
00:15:39,372 --> 00:15:41,874
14 host bits because my
service provider is saying,

213
00:15:41,874 --> 00:15:44,343
Look, as far as we're
concerned, the first eight

214
00:15:44,343 --> 00:15:47,580
bits here are networking
bits, the first eight bits

215
00:15:47,580 --> 00:15:50,750
here are networking bits,
and the first two bits here

216
00:15:50,750 --> 00:15:56,989
are networking bits. So that
means of the third octet

217
00:15:56,989 --> 00:16:02,829
I've got six host bits left,
and then of the fourth octet

218
00:16:02,829 --> 00:16:07,466
I've got eight host bits
left. So I've got 14 host

219
00:16:07,466 --> 00:16:15,508
bits available. One, two,
three. So what this is

220
00:16:15,508 --> 00:16:18,578
showing me in this
particular case is, one,

221
00:16:18,578 --> 00:16:20,513
two, three, four, five, six,
seven, eight. One, two,

222
00:16:20,513 --> 00:16:23,649
three, four, five, six,
seven, eight. One, two. So I

223
00:16:23,649 --> 00:16:27,620
can't touch those. So this
is what they've given me

224
00:16:27,620 --> 00:16:37,029
right here, so I'll just say
this is untouchable. So now,

225
00:16:37,029 --> 00:16:42,401
what's left over? One, two,
three, four, five, six. One,

226
00:16:42,401 --> 00:16:45,438
two, three, four, five, six,
seven, eight. So now I'm

227
00:16:45,438 --> 00:16:47,940
going to start stealing from
right here. If I'm going to

228
00:16:47,940 --> 00:16:51,277
start creating my subnets, I
have to start from the right

229
00:16:51,277 --> 00:16:57,450
of this line. So my subnets
will be a /19, /20, /21, but

230
00:16:57,450 --> 00:17:00,486
I can't go anything less
than /18 because /18 is what

231
00:17:00,486 --> 00:17:04,957
they gave me. And yes,
Robert, that number that you

232
00:17:04,957 --> 00:17:08,561
just did that this right
here, I'll just put it right

233
00:17:08,561 --> 00:17:10,496
there. That's how you
determine your host

234
00:17:10,496 --> 00:17:15,434
requirements. That's
actually the next slide. So

235
00:17:15,434 --> 00:17:18,104
right now we've just been
focusing in on how many bits

236
00:17:18,104 --> 00:17:21,140
do I need to steal to come
up with a number of subnets

237
00:17:21,140 --> 00:17:29,181
that I need. Here's another
one. You are leased this

238
00:17:29,181 --> 00:17:32,451
network from your service
provider. If you convert the

239
00:17:32,451 --> 00:17:35,855
first six host bits into
subnetting bits, how many

240
00:17:35,855 --> 00:17:40,359
total subnets will you have
available? If we use that

241
00:17:40,359 --> 00:17:49,135
same formula, 2 to the power
of 6 gives me 64 subnets

242
00:17:49,135 --> 00:17:55,007
available. That's right, 2
to the power of 6. Now let's

243
00:17:55,007 --> 00:17:57,443
take it up a notch, make it
a little bit more

244
00:17:57,443 --> 00:18:01,747
complicated. You are leased
the following network from

245
00:18:01,747 --> 00:18:06,686
your service provider. If
you convert the first three

246
00:18:06,686 --> 00:18:10,890
host bits into subnetting
bits, what will be the

247
00:18:10,890 --> 00:18:18,230
subnet address of the fourth
subnet? Some of you may have

248
00:18:18,230 --> 00:18:20,266
been able to work this one
through, some of you didn't.

249
00:18:20,266 --> 00:18:25,371
Let's go ahead and look at
the logic behind this. Okay,

250
00:18:25,371 --> 00:18:27,907
so we're starting with 45. I
cannot touch those first

251
00:18:27,907 --> 00:18:31,444
eight bits, and we're saying
I'm going to be subnetting

252
00:18:31,444 --> 00:18:34,614
my next three bits. So that
gives me these various

253
00:18:34,614 --> 00:18:38,584
combinations. The fourth
subnet? Well, the first one

254
00:18:38,584 --> 00:18:42,154
is 000 and the next one is
001, so the fourth

255
00:18:42,154 --> 00:18:48,227
combination I can come up
with is 011. So if I take

256
00:18:48,227 --> 00:18:52,498
all of my remaining host
bits and convert them into

257
00:18:52,498 --> 00:19:00,740
0s, I get that, and so my
fourth subnet is the

258
00:19:00,740 --> 00:19:09,582
45.96.00 network with the
slash 11 mask. Start out as

259
00:19:09,582 --> 00:19:14,120
slash 8 and then I added 3
bits to it making into a

260
00:19:14,120 --> 00:19:19,892
slash 11, so another one of
these. You release the

261
00:19:19,892 --> 00:19:24,997
following network,
199.000/24. From the single

262
00:19:24,997 --> 00:19:29,602
network you need to create 7
subnets. What will be your

263
00:19:29,602 --> 00:19:38,210
new subnet mask? And the
correct answer here was

264
00:19:38,210 --> 00:19:48,154
255.255.255.2.24. Why is
that? Well we need to create

265
00:19:48,154 --> 00:19:55,294
7 subnets. So we know 2 to
the power of our subnetting

266
00:19:55,294 --> 00:20:04,303
bits must be greater than or
equal or 7. So if we do 2 to

267
00:20:04,303 --> 00:20:10,443
the power of 3 that gives us
eight subnets, so three is

268
00:20:10,443 --> 00:20:16,515
the minimum we can steal. So
if we start out with a /24

269
00:20:16,515 --> 00:20:22,321
and we add three more bits
to that, that gives us a

270
00:20:22,321 --> 00:20:30,196
/27. /27 means all eight
bits of the first octet, all

271
00:20:30,196 --> 00:20:33,632
eight bits of the second,
all eight bits of the third,

272
00:20:33,632 --> 00:20:41,974
and three bits, 111, three
bits of the fourth octet are

273
00:20:41,974 --> 00:20:48,314
subnetting bits. That
would be our new subnet

274
00:20:48,314 --> 00:21:03,229
mask. Let's do one more, and
then we'll take a break.

275
00:21:03,229 --> 00:21:07,767
You're leased the following
network, 145.10 /19. Don't

276
00:21:07,767 --> 00:21:10,369
let that throw you. Just
remember, the first 19 bits

277
00:21:10,369 --> 00:21:13,372
are untouchable. That's how
you need to look at that.

278
00:21:13,372 --> 00:21:18,043
From the single network, you
need to create 58 subnets.

279
00:21:18,043 --> 00:21:28,254
What will be your new subnet
mask? Time's up. There is

280
00:21:28,254 --> 00:21:30,756
your new subnet mask. So how
did you come up with that?

281
00:21:30,756 --> 00:21:33,592
How did we come up with
that? So here's how we do

282
00:21:33,592 --> 00:21:36,929
this. Well, 58 subnets.
Let's see, 2 to the power of

283
00:21:36,929 --> 00:21:46,472
1 is 2, 4, 8, 16, 32 -
almost there - 64. So I need

284
00:21:46,472 --> 00:21:53,846
to steal six bits. That'll
give me up to 64 subnets. So

285
00:21:53,846 --> 00:22:02,521
I need to add six bits to
this. So 19 plus 6 is going

286
00:22:02,521 --> 00:22:13,199
to be 25 or a /25. So that
means here is my 24, and 128

287
00:22:13,199 --> 00:22:17,873
gives me my 25th bit. So
that's how you got that.

288
00:22:17,898 --> 00:22:22,960
[music]

