All language subtitles for 1. VLSM - Part 1

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal) Download
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

1

welcome back, my name is David Bombal CCIE 1123

2

and in this section, we're going to look at Variable Length Subnet Mask or VLSM

3

and route summarization.

4

VLSM allows us to better use IP addresses

5

by allowing for Variable Length Subnet Mask on a single network.

6

so what we're going to cover in this section is firstly VLSM

7

once again Variable Length Subnet Mask, we're going to look at CIDR

8

or classless Inter-Domain Routing

9

I want to explain summarization and show you

10

how you can summarize multiple routes into fewer or single a route.

11

we're going to look at routing choices

12

and how routers choose one route over another

13

not just based on administrative distance

14

but also based on the legnth of the prefix match

15

and then lastly we're going to look at issues regarding discontiguous networks.

16

so Variable Length Subnet Mask

17

allow us to have varying or variable mask throughout our network

18

so for example, a classful network of 10

19

will have a mask of /8 with the first octet

20

10 is the network portion of the address

21

and the last 3 octets, in other words, the last 24 bits

22

is the host portion of the address.

23

that classful network was subnetted

24

we could, for instance, have a subnet of 10.1.1.0/24

25

where 10.1.1 is the network portion of the address

26

in other words, the most siginificant 24 bits

27

or most significant 3 octets is the netwok portion and the last octet

28

or least significant portion of the address is the host portion.

29

we could also subnet a 10 network down to 10.1.0.0/16

30

where half of the address is the network portion

31

and half of the address is the host portion.

32

please refer to the ICND 1 part of this course

33

or my subnetting explained e-book, for lots of detail on subnetting.

34

CIDR or Classless Inter-Domain Routing was introduced in 1993

35

to replace the prior addressing architecture of classful networks.

36

classful networks were not scalable

37

classful networking introduce 3 classes of addresses

38

for allocation of IP addresses to hosts and networking devices

39

we had A B and C networks.

40

so for instance 10.0.0.0/8 is an example of a classful A network.

41

172.16.0.0/16 is an example of a class B network

42

and 192.168.1.0/24 is an example of a class C network.

43

the problem with this method is that you were forced to use

44

for instances a /16 mask which gave you approximately 65000 host addresses

45

or you could use a class C address like this

46

which only gave you 254 host addresses.

47

this scheme would have resulted

48

in the quick extortion of IP addresses and inflexibility.

49

so CIDR replaced this which is based on Variable Length Subnet Mask

50

were masks can vary on arbitrary lengths

51

so they allow for different size subnets

52

so rather than being forced to use for instance 10.0.0.0/8

53

you can also use 10.0.0.0/16 or 24 or 30 depending on the requirements

54

for the number of subnets or hosts in your network

55

or you can use for instance 10.1.1.0/27 or 10.1.2.0/26 and so forth and so on.

56

so you could take a single class A address

57

and subdivide it into multiple subnets based on your requirements.

58

it's also important to note that in CIDR

59

we don't just advertise a network, we advertise a routing prefix

60

in other words, we would advertise 192.168.1.0/24 not just 192.168.1.0

61

CIDR also allows for the summarization of addresses

62

which I'm going to explain in more detail in a moment.

63

but this is were we take multiple subnets

64

and put them into a super net or summary network

65

which will reduce routing table sizes.

66

Variable Length Subnet Mask have many advantages

67

including the better utilization of IP addresses and subnets.

68

on a WAN link as an example only 2 IP addresses are required.

69

1 IP address for 1 end of the link

70

and another IP address for the other end of the link

71

thus a /30 mask would be better in say a /16 or /24 mask.

72

a /30 mask only support 2 hosts on that subnet

73

and thats all that's required in the point-to-point scenario like this.

74

a /24 mask for instance would support 254 hosts

75

and that would be over kill on this specific link.

76

so VLSM gives assist the administrator

77

the ability to better utilize IP addresses and subnets.

78

where we subnet down subnets

79

to support the required number of IP addresses on that specific segment.

80

so as an example, here we have subnets

81

that are using a /27 mask, on the WAN links we are using /30 mask

82

and for the instance at the headquarters we are using a /16 mask.

83

it also allows us to implement better summarization

84

and scalability of networks as rather than the entire world

85

being forced to use a specific subnet mask

86

we are able to use varying mask in our own networks

87

and advertise summaries to other companies or to the Internet.

88

so heres a simple network to explain the problem

89

when summarization is not used.

90

on the left hand side we have networks 10.1.1.0/24

91

up to 10.1.2.200.0/24

92

on the right hand side we have networks 10.2.1.0/24

93

up to 10.2.200.0/24 now summarization is now implemented

94

and let's say you're running a routeing protocol like RIP

95

which advertises the entire routing table every 30 seconds

96

you're going to have scenario like this

97

with the router on the left-hand side

98

advertises 200 routes every 30 seconds and the router on the router side

99

also advertises 200 routes every 30 seconds.

100

RIP will continually sends out its entire routing table

101

every 30 seconds even though there are no changes.

102

so 400 routes are advertised across this WAN link

103

which is very inefficient, those routing updates

104

consume a lot of bandwidth and don’t accomplish much

105

because they will continuously be advertise

106

even though there are no changes

107

so it makes more sense to summarize the routes

108

so on the left-hand side, we have 10.1.1.0

109

all the way up to 10.1.200.0

110

So these are subnets of the 10.1.0.0 network

111

so we could summarize those 200 routes into a single route

112

and on the left hand side 10.2.1.0 up to 10.2.200.0

113

could be summarize as 10.2.0.0/16

114

so rather than advertising 400 routes a single route from the left-hand side

115

is advertised to the left-hand side.

116

and a single route from right-hand side is advertised to the left-hand side

117

With summarization what we are have looking for

118

is most significant bits that are equal, in other words

119

starting from the left-and side and working towards the right-hand side

120

we look for bits that are the same

121

so in the first octet all the subnets contain 10

122

so that’s common, in the second octet all the subnets contain 1

123

so that's common but in the 3rd octet the values vary from 1 - 200

124

so it’s not as easy to see what’s in common

125

so we could just summarize it as 10.1.0.00/16

126

knowing that 10.1 is common throughout

127

and the router over here will summarize all of those routes

128

and only send out 1 advertisement

129

the router on the left-hand side can still get to all of this subnets

130

because they are subnets of this network

131

so even though we've summarized routes

132

we still have full connectivity throughout the network

133

here’s some more complicated example

134

assume that we have networks 172.16.32.0/24

135

all the way up to 172.16.63.0/24

136

now rather than this router advertising all of those networks

137

can we summarize this network into 1 or at least a few summaries

138

now to work this out you start from the most significant bits

139

in other words, you start from the left-hand side

140

and you look for what is common throughout all of this networks

141

so in the first octet 172 is common, so we know that’s common

142

16 is also common, so we know does far that the 1st 2 octets are common

143

in the third octet, however, the numbers are changing

144

so we have 32, 33, 34, 35, all the way up to 63

145

so it's not as easy to visualize or see what’s common here

146

so what we're going to do is we can convert the third octet

147

into binary to look for common bits, so for example 32 = 0010 0000

148

now obviously there’s no gap halfway through an octet

149

I’ve just put the space here to try and make it easier to read

150

so an octet consists of 8 binary values, 32 would look at follows

151

now as soon as you convert into binary

152

you should convert the remaining bits into binary as well

153

now in this example, you don’t need to do that

154

because you can see that the last octet contains just a 0

155

but I’ve done it here for completeness, the second network is 172.16.33.0

156

and 33 in binary looks as follows, 34 looks as follows, 35 looks as follows

157

and I wouldn’t recommend that you convert all the addresses into binary

158

I would just do say the first 3 or 4

159

and then the last one to see what’s in common.

160

in the real world, however, you may come across far more complicated examples

161

and you may need to convert all the addresses into binary

162

but at the CCNA level that may not be necessary.

163

So once we’ve done that we can look for bits that are in common

164

so the first binary 0 in the 3rd octet is common throughout

165

the second binary 0 is also common throughout, the 3rd binary bit is a 1

166

and that is common throughout, however, in the 4th binary bit position

167

the values change as you can see here the first few networks have 0's

168

but the last network has a 1 in the fourth binary bit position

169

so we can draw a line to the right of all the bits that are common

170

so as you can see here to the left of the line in the 3rd octet

171

we have 001 in binary

172

the remaining bits in binary are not common in other words bits vary.

173

Now Cisco does not support discontiguous subnet masks

174

so you can see these bits are not in common and these this bits are in common

175

there has to be a contiguous grouping of common bits

176

starting from the left-hand side moving from the right-hand side

177

and as soon as there are bits that are not common

178

you have to draw a line to make a differentiation between common bits

179

and bits that are not common

180

so we know now that the first octet is common, the second octet is common

181

so 172.16 in the third octet, the first 3 binary bits are common

182

so 001 now any bits that are not in common are just set to 0

183

so notice, we’ve populate the remaining portion of the address with binary 0's

184

and then we convert the binary back to decimal

185

so hopefully remember this from the ICND 1 course.

186

So the first octet is 172, the second octet is 16

187

the third octet if you convert this to decimal is equal to 32

188

and the last octet converted to decimal is 0.

189

So the summary address is 172.16.32.0

190

The last step is to work out the bits that are in common

191

now the first octet is in common and an octet is 8 bits

192

the second octet is in common and that’s an additional 8 bits

193

so thus far we have 8 bits + 8 bits in other words, 16 bits that are in common

194

3 bits in the third octet are in common, so 8+8+3 will give you 19 bits in common

195

thus the summary address for this subnets will be 172.16.32.0/19

196

it’s a simple as that to work out summarization

197

and I’m going to show you trick in a moment

198

that allows you to work this out in the few seconds

199

here’s another example, we have subnets 172.16.64.0/24 up to 172.16.127.0/24

200

can these subnets be summarized into a single subnet or fewer subnets?

201

so using the same process we start from the left-hand side

202

and we look for bits that are in common

203

in the first octet, we have 172 throughout all of those subnets

204

so that’s common, in the second octet we have 16

205

so that’s common throughout

206

So we know that the first 2 octets 172.16 are common throughout

207

but in the third octet the values are changing

208

we’ve got 64, 65, 66, 67 all the way up to 127

209

so that third octet we're going to convert to binary

210

to be able to better see what’s in common

211

so converting 64 into binary will give you 00100 0000

212

65 will look as follows, 66 as this, 67 as that

213

and you could convert a third octet of all of the subnets until you get a 127

214

which looks as follows

215

the last octet is a 0 in decimal which looks as follows in binary

216

so now what we need to do is we need to look for the common bits

217

so the common bits are once again 172.16

218

and then the first binary 0 is in common throughout the subnets

219

the second binary bit which is set to 1 is common throughout

220

but the third binary bit is not common throughout notice there’s 0

221

and then here there’s a binary 1

222

so we can draw a line after the second binary bit

223

to denote that everything to the left of the line is in common

224

and everything to the right of the line is not in common

225

so all of this is in common and all of this is not in common.

226

therefore 172.16 in decimal, the first 2 octets are in common

227

and the first 2 binary bits of the third octet are in common

228

the remaining binary bits need to be set to 0's

229

so filling the remaining binary bits is to 0 will look as follows

230

and then converting the binary back to decimal

231

will get 172 in the first octet, 16 in the second octet

232

this is 64 in decimal, so the third octet is 64

233

and the last octet binary 0's is equal to 0 in decimal

234

so the address is 172.16.64.0 that is the summary network for all of these subnets.

235

the last step is to count the number of bits in common

236

the first octet is 8 bits, the second octet is 8 bits

237

so that’s 16 bits in total followed by another 2 binary bits

238

which gives you 18 bits in common

239

so the first 18 bits are in common throughout all of this subnets

240

so our final answer will be 172.16.64.0/18

241

that is the summary network for all of the listed subnets.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.