1
1

00:00:00,540  -->  00:00:02,510
<v ->In the last lesson, I talked about the fact</v>
2

2

00:00:02,510  -->  00:00:04,480
that we can use dynamic routing protocols
3

3

00:00:04,480  -->  00:00:06,880
so routers can tell each other the routes they know.
4

4

00:00:06,880  -->  00:00:08,010
But I said we would talk more
5

5

00:00:08,010  -->  00:00:10,700
about those specific writing protocols later on.
6

6

00:00:10,700  -->  00:00:12,660
Well, in this lesson, we're going to cover
7

7

00:00:12,660  -->  00:00:14,000
each and every one of those
8

8

00:00:14,000  -->  00:00:16,740
that you're going to need to know for the Network+ exam.
9

9

00:00:16,740  -->  00:00:18,270
Now there are two different types
10

10

00:00:18,270  -->  00:00:19,970
of dynamic routing protocols.
11

11

00:00:19,970  -->  00:00:22,230
There are internal ones and external ones
12

12

00:00:22,230  -->  00:00:24,210
and these are the basic categories.
13

13

00:00:24,210  -->  00:00:25,870
Now, interior ones are things like
14

14

00:00:25,870  -->  00:00:27,930
interior gateway protocols that operate
15

15

00:00:27,930  -->  00:00:30,880
within a network or within an autonomous system.
16

16

00:00:30,880  -->  00:00:33,030
External gateway protocols will operate
17

17

00:00:33,030  -->  00:00:36,360
between autonomous systems on those exterior networks.
18

18

00:00:36,360  -->  00:00:37,970
So for example, the internet
19

19

00:00:37,970  -->  00:00:40,150
is a really large exterior system
20

20

00:00:40,150  -->  00:00:43,360
so it's going to be using exterior gateway protocols.
21

21

00:00:43,360  -->  00:00:45,350
Your networks inside your intranet,
22

22

00:00:45,350  -->  00:00:47,700
even if you have multiple routers and switches there,
23

23

00:00:47,700  -->  00:00:50,760
are going to operate using interior gateway protocols.
24

24

00:00:50,760  -->  00:00:52,040
And we're going to go through some examples
25

25

00:00:52,040  -->  00:00:54,940
of both of these types of protocols in this lesson.
26

26

00:00:54,940  -->  00:00:58,660
Now first, let's talk about the router advertisement method.
27

27

00:00:58,660  -->  00:01:01,710
This is a characteristic of every routing protocol.
28

28

00:01:01,710  -->  00:01:04,330
Every dynamic routing protocol is going to look at routing
29

29

00:01:04,330  -->  00:01:06,140
just a little bit differently, though.
30

30

00:01:06,140  -->  00:01:07,650
Some of them are going to use things
31

31

00:01:07,650  -->  00:01:09,840
known as distance vectors and others
32

32

00:01:09,840  -->  00:01:12,290
are going to use things known as link states.
33

33

00:01:12,290  -->  00:01:13,880
Now some of them don't fit neatly
34

34

00:01:13,880  -->  00:01:15,760
into either of these two categories
35

35

00:01:15,760  -->  00:01:17,960
and they become a hybrid of both of them.
36

36

00:01:17,960  -->  00:01:20,420
Now, what this means is that there's some method
37

37

00:01:20,420  -->  00:01:22,730
for the route to be received, advertised,
38

38

00:01:22,730  -->  00:01:24,280
and provided to somebody else.
39

39

00:01:24,280  -->  00:01:26,200
And you have to figure out how you're going to do that.
40

40

00:01:26,200  -->  00:01:27,310
There's different ways of doing it.
41

41

00:01:27,310  -->  00:01:29,160
It can be based on the measurement of cost.
42

42

00:01:29,160  -->  00:01:30,870
That would be something like a distance vector.
43

43

00:01:30,870  -->  00:01:32,010
If could be based on how many routers
44

44

00:01:32,010  -->  00:01:33,010
you have to go through,
45

45

00:01:33,010  -->  00:01:35,260
it might be something based on the link state of it.
46

46

00:01:35,260  -->  00:01:36,690
All of those are valid ways,
47

47

00:01:36,690  -->  00:01:38,550
depending on the protocol you're using.
48

48

00:01:38,550  -->  00:01:40,720
And this is where you become much more concerned
49

49

00:01:40,720  -->  00:01:42,380
with the different ways of doing things.
50

50

00:01:42,380  -->  00:01:44,930
For instance, if you're going to be using a link state vector,
51

51

00:01:44,930  -->  00:01:47,340
this is where you're going to be concerned more with link speed
52

52

00:01:47,340  -->  00:01:49,510
and what is the quickest method of getting there?
53

53

00:01:49,510  -->  00:01:50,900
If you have to go through four routers,
54

54

00:01:50,900  -->  00:01:52,620
but it's quicker than going through just one.
55

55

00:01:52,620  -->  00:01:54,580
That's okay if we're dealing with link state,
56

56

00:01:54,580  -->  00:01:57,070
but if we're dealing with distance, that would be backwards.
57

57

00:01:57,070  -->  00:01:59,860
We only want to go through one router, even if it's slower.
58

58

00:01:59,860  -->  00:02:01,690
This is the way we have to look at these different things
59

59

00:02:01,690  -->  00:02:03,820
and figure out what's going to be best for us.
60

60

00:02:03,820  -->  00:02:05,410
Now, we're going to talk about all of these
61

61

00:02:05,410  -->  00:02:06,760
as we go through this video
62

62

00:02:06,760  -->  00:02:09,220
and hopefully it'll make a little bit more sense to you.
63

63

00:02:09,220  -->  00:02:11,680
First, let's talk about distance vectors.
64

64

00:02:11,680  -->  00:02:13,660
Now, when you're dealing with a distance vector,
65

65

00:02:13,660  -->  00:02:15,270
this is about the number of routers
66

66

00:02:15,270  -->  00:02:16,470
you're going to be connecting through
67

67

00:02:16,470  -->  00:02:17,750
for a particular route.
68

68

00:02:17,750  -->  00:02:19,460
And so if you're dealing with a distance vector,
69

69

00:02:19,460  -->  00:02:22,070
it's going to send a full copy of its routing table
70

70

00:02:22,070  -->  00:02:24,380
to everybody else who's directly connected to it
71

71

00:02:24,380  -->  00:02:25,960
at regular intervals.
72

72

00:02:25,960  -->  00:02:27,780
Now, the bad thing about this is it has
73

73

00:02:27,780  -->  00:02:30,010
what's known as a slow convergence time.
74

74

00:02:30,010  -->  00:02:31,340
Now, what is convergence?
75

75

00:02:31,340  -->  00:02:33,210
Well, convergence is the time it takes
76

76

00:02:33,210  -->  00:02:35,670
for all of the routers to update their routing tables
77

77

00:02:35,670  -->  00:02:37,960
in response to a topology change.
78

78

00:02:37,960  -->  00:02:40,050
So if I add a router or I take one away,
79

79

00:02:40,050  -->  00:02:42,320
how long is it going to take for everyone on the network
80

80

00:02:42,320  -->  00:02:43,770
to know that happened?
81

81

00:02:43,770  -->  00:02:46,580
So in this example, you'll see I have three routers.
82

82

00:02:46,580  -->  00:02:48,870
I have routers one, two, and three.
83

83

00:02:48,870  -->  00:02:50,490
And if I added a fourth router in,
84

84

00:02:50,490  -->  00:02:52,970
it's going to take some amount of time for router four
85

85

00:02:52,970  -->  00:02:55,130
to tell the other three routers that it's there
86

86

00:02:55,130  -->  00:02:56,500
and how it's connected.
87

87

00:02:56,500  -->  00:02:58,880
That's the idea of convergence time.
88

88

00:02:58,880  -->  00:03:01,290
Now, once everybody knows all the same information
89

89

00:03:01,290  -->  00:03:02,910
across all four routers
90

90

00:03:02,910  -->  00:03:05,850
then you have what's known as a converged network.
91

91

00:03:05,850  -->  00:03:07,520
Now, one of the ways that we can speed up
92

92

00:03:07,520  -->  00:03:10,930
our convergence time is to actually use a hold-down timer.
93

93

00:03:10,930  -->  00:03:13,970
So instead of updating our routing tables every 30 seconds,
94

94

00:03:13,970  -->  00:03:16,220
we might update it every three minutes.
95

95

00:03:16,220  -->  00:03:17,940
Now, by doing that, it's going to allow us
96

96

00:03:17,940  -->  00:03:19,250
to converge faster
97

97

00:03:19,250  -->  00:03:21,740
because there's less changes across the network.
98

98

00:03:21,740  -->  00:03:23,190
Now, if there's more changes,
99

99

00:03:23,190  -->  00:03:25,220
it's going to take us more time to converge.
100

100

00:03:25,220  -->  00:03:27,120
So if we do less changes and we spread that out
101

101

00:03:27,120  -->  00:03:30,630
from 30 seconds to three minutes, maybe to six minutes,
102

102

00:03:30,630  -->  00:03:31,800
that's going to be better for us
103

103

00:03:31,800  -->  00:03:33,900
in terms of convergence time.
104

104

00:03:33,900  -->  00:03:35,940
Now, when we deal with a distance vector,
105

105

00:03:35,940  -->  00:03:38,680
it's really also concerned about a thing known as hop count.
106

106

00:03:38,680  -->  00:03:39,940
And this is how many times
107

107

00:03:39,940  -->  00:03:42,710
I have to go through another router to get somewhere.
108

108

00:03:42,710  -->  00:03:45,040
So in this example, what's the quickest way
109

109

00:03:45,040  -->  00:03:47,550
to get from router three to router two?
110

110

00:03:47,550  -->  00:03:49,540
Well, if you're only concerned with hops
111

111

00:03:49,540  -->  00:03:51,320
or the number of routers you have to go through,
112

112

00:03:51,320  -->  00:03:54,320
you're going to go directly from three over to two
113

113

00:03:54,320  -->  00:03:57,610
over that slow, one-megabit-per-second connection.
114

114

00:03:57,610  -->  00:04:00,050
Now, if you're concerned with link state on the other hand,
115

115

00:04:00,050  -->  00:04:01,950
you're going to be concerned with the fastest way
116

116

00:04:01,950  -->  00:04:04,600
to get there by going where the most bandwidth is available.
117

117

00:04:04,600  -->  00:04:05,750
And that would actually be going
118

118

00:04:05,750  -->  00:04:08,300
across the 100-megabit-per-second connections.
119

119

00:04:08,300  -->  00:04:12,000
So I go from router three to router one to router two,
120

120

00:04:12,000  -->  00:04:14,720
and that will be much faster than going directly
121

121

00:04:14,720  -->  00:04:16,600
to router two from router three.
122

122

00:04:16,600  -->  00:04:18,790
Now that's again not going to account for the fact
123

123

00:04:18,790  -->  00:04:21,230
that if we're doing a distance or link state vector.
124

124

00:04:21,230  -->  00:04:24,270
If we're using a distance vector, we don't consider speed.
125

125

00:04:24,270  -->  00:04:25,730
We just count the hops.
126

126

00:04:25,730  -->  00:04:28,160
So we're going to go direct from two to three,
127

127

00:04:28,160  -->  00:04:30,620
but if we're dealing with a link state vector,
128

128

00:04:30,620  -->  00:04:32,240
we're going to go based on speed.
129

129

00:04:32,240  -->  00:04:33,880
And that's the big difference here.
130

130

00:04:33,880  -->  00:04:35,860
So you have to think about that as you're figuring out
131

131

00:04:35,860  -->  00:04:37,060
which protocol you're going to use
132

132

00:04:37,060  -->  00:04:38,640
and which is going to be the best way
133

133

00:04:38,640  -->  00:04:41,040
for you to have information flow in your network.
134

134

00:04:41,040  -->  00:04:43,460
Now, when we deal with link state, we start worrying
135

135

00:04:43,460  -->  00:04:46,110
about the cost and the speed of all these connections.
136

136

00:04:46,110  -->  00:04:47,740
This is going to require all of our routers
137

137

00:04:47,740  -->  00:04:50,760
to know about all the paths of all the other routers as well
138

138

00:04:50,760  -->  00:04:52,400
so it can figure out what the best path is
139

139

00:04:52,400  -->  00:04:54,210
to send the information around.
140

140

00:04:54,210  -->  00:04:55,840
Now, this information is flooded out
141

141

00:04:55,840  -->  00:04:58,920
through the link state domain when you're using OSPF,
142

142

00:04:58,920  -->  00:05:01,050
which is one of our routing protocols.
143

143

00:05:01,050  -->  00:05:02,620
Another one we can use is IS-IS
144

144

00:05:03,590  -->  00:05:05,360
and this again is a link state protocol
145

145

00:05:05,360  -->  00:05:07,680
to ensure the routers have a synchronized information
146

146

00:05:07,680  -->  00:05:09,380
inside their routing tables.
147

147

00:05:09,380  -->  00:05:11,150
Now, with that synchronized information,
148

148

00:05:11,150  -->  00:05:13,800
they can then make the best routing decisions.
149

149

00:05:13,800  -->  00:05:15,290
Now, we're going to talk specifically
150

150

00:05:15,290  -->  00:05:17,880
about these two protocols in just a little bit here
151

151

00:05:17,880  -->  00:05:19,430
so hang in with me.
152

152

00:05:19,430  -->  00:05:22,630
Now, the link state does have a faster convergence time
153

153

00:05:22,630  -->  00:05:25,250
than distance vectors and it does use that cost
154

154

00:05:25,250  -->  00:05:26,950
and other factors as metrics
155

155

00:05:26,950  -->  00:05:30,120
when it figures out what the best way of routing traffic is.
156

156

00:05:30,120  -->  00:05:32,680
Now, this also includes things like your link speed,
157

157

00:05:32,680  -->  00:05:34,420
because the link speed is really important
158

158

00:05:34,420  -->  00:05:37,450
of how much bandwidth you have to send the data across.
159

159

00:05:37,450  -->  00:05:38,720
Each router is going to construct
160

160

00:05:38,720  -->  00:05:40,920
its own relative shortest path based
161

161

00:05:40,920  -->  00:05:43,890
on where it sees itself in the logical diagram
162

162

00:05:43,890  -->  00:05:45,590
and then it calculates the distance
163

163

00:05:45,590  -->  00:05:47,900
of how it's going to get to the other places.
164

164

00:05:47,900  -->  00:05:50,090
So let's take an example of you sitting in Florida,
165

165

00:05:50,090  -->  00:05:52,000
and I'm sitting here in Washington, DC,
166

166

00:05:52,000  -->  00:05:54,060
and we both want to get to California.
167

167

00:05:54,060  -->  00:05:56,470
Now we can have different methods to get there based
168

168

00:05:56,470  -->  00:05:59,410
on where we sit in the typology of the United States, right?
169

169

00:05:59,410  -->  00:06:01,250
If we're both going to get in our car and drive there,
170

170

00:06:01,250  -->  00:06:03,710
we have to figure out based on the highway speeds
171

171

00:06:03,710  -->  00:06:05,230
and the slowness of those speeds
172

172

00:06:05,230  -->  00:06:06,700
and which traffic there is
173

173

00:06:06,700  -->  00:06:08,310
and how many states we have to go through
174

174

00:06:08,310  -->  00:06:10,660
and which highways we're going to go to get over there.
175

175

00:06:10,660  -->  00:06:12,930
So let's say we had to go 3,000 miles
176

176

00:06:12,930  -->  00:06:15,930
to get to California from Washington or from Florida.
177

177

00:06:15,930  -->  00:06:17,980
Well, if I can go 60 miles an hour the whole time,
178

178

00:06:17,980  -->  00:06:20,040
but you can only go 30 miles an hour,
179

179

00:06:20,040  -->  00:06:22,080
well, I'm going to get there a lot faster, right?
180

180

00:06:22,080  -->  00:06:24,870
Because I can go two miles for every one that you go.
181

181

00:06:24,870  -->  00:06:26,270
Now that's the idea.
182

182

00:06:26,270  -->  00:06:27,570
So as we start figuring out
183

183

00:06:27,570  -->  00:06:29,920
how we're going to go through this using link state,
184

184

00:06:29,920  -->  00:06:32,440
we can start taking speeds into account and figuring out,
185

185

00:06:32,440  -->  00:06:34,420
hey, maybe I'm going to take this highway
186

186

00:06:34,420  -->  00:06:35,790
versus that back road.
187

187

00:06:35,790  -->  00:06:37,790
Or, there's a lot of traffic on that highway
188

188

00:06:37,790  -->  00:06:39,740
so I'm going to take the back roads instead.
189

189

00:06:39,740  -->  00:06:42,040
Well, our routers do the same exact thing
190

190

00:06:42,040  -->  00:06:44,370
using those links state protocols.
191

191

00:06:44,370  -->  00:06:46,750
Now let's talk about the first routing protocol here.
192

192

00:06:46,750  -->  00:06:49,600
This one is known as RIP, R-I-P,
193

193

00:06:49,600  -->  00:06:52,250
and it's one of the oldest routing protocols out there.
194

194

00:06:52,250  -->  00:06:54,570
It stands for the Routing Information Protocol
195

195

00:06:54,570  -->  00:06:56,593
and it is an interior gateway protocol
196

196

00:06:56,593  -->  00:06:59,150
that is used internal to your networks.
197

197

00:06:59,150  -->  00:07:01,080
This is a distance vector protocol
198

198

00:07:01,080  -->  00:07:02,950
and so it's going to rely on hop count
199

199

00:07:02,950  -->  00:07:04,940
to figure out the fastest path.
200

200

00:07:04,940  -->  00:07:06,750
Now it's all about how many routers
201

201

00:07:06,750  -->  00:07:08,020
we're going to have to go through
202

202

00:07:08,020  -->  00:07:12,360
and the maximum number of hops you can hit is 15 with RIP.
203

203

00:07:12,360  -->  00:07:14,200
Now, if you hit 16 or more routers,
204

204

00:07:14,200  -->  00:07:15,840
the connection is going to be considered dead
205

205

00:07:15,840  -->  00:07:17,340
and it's just going to drop the packet
206

206

00:07:17,340  -->  00:07:19,420
and wait for you to retransmit it.
207

207

00:07:19,420  -->  00:07:21,750
Now, again, this is the oldest dynamic routing protocol
208

208

00:07:21,750  -->  00:07:24,970
out there and it does provide updates every 30 seconds
209

209

00:07:24,970  -->  00:07:27,460
and so it becomes really hard to maintain convergence
210

210

00:07:27,460  -->  00:07:29,470
when you're dealing with a RIP network.
211

211

00:07:29,470  -->  00:07:31,260
Now, RIP is really easy to configure
212

212

00:07:31,260  -->  00:07:34,740
and it sends out its information using UDP as its protocol
213

213

00:07:34,740  -->  00:07:37,560
and so it does have that fire and forget method.
214

214

00:07:37,560  -->  00:07:40,360
The next routing protocol we have is known as OSPF
215

215

00:07:40,360  -->  00:07:41,850
which is really popular.
216

216

00:07:41,850  -->  00:07:44,710
This is known as Open Shortest Path First.
217

217

00:07:44,710  -->  00:07:47,430
OSPF is another interior gateway protocol,
218

218

00:07:47,430  -->  00:07:50,600
but unlike RIP it doesn't use distance vector.
219

219

00:07:50,600  -->  00:07:52,020
It uses link state.
220

220

00:07:52,020  -->  00:07:54,280
So it is concerned with costs and this way
221

221

00:07:54,280  -->  00:07:56,220
it's going to be a lot more efficient.
222

222

00:07:56,220  -->  00:07:58,640
Now, going back to our example of having the three routers,
223

223

00:07:58,640  -->  00:08:00,670
router one, router two, and router three,
224

224

00:08:00,670  -->  00:08:02,760
what is the shortest path for us to go
225

225

00:08:02,760  -->  00:08:04,770
from router three to router two?
226

226

00:08:04,770  -->  00:08:07,090
Well, it's actually going through router one
227

227

00:08:07,090  -->  00:08:08,290
because the speed there is going
228

228

00:08:08,290  -->  00:08:10,550
across a 100-megabit-per-second link
229

229

00:08:10,550  -->  00:08:13,370
instead of going over a 10-megabit-per-second link.
230

230

00:08:13,370  -->  00:08:16,530
Cost here is based on link speed not on hop count.
231

231

00:08:16,530  -->  00:08:18,960
And so OSPF will help you get there fastest
232

232

00:08:18,960  -->  00:08:21,090
using that link state variable.
233

233

00:08:21,090  -->  00:08:22,080
Next, we have
234

234

00:08:22,080  -->  00:08:24,400
the Intermediate System to Intermediate System
235

235

00:08:24,400  -->  00:08:26,380
known as IS-IS.
236

236

00:08:26,380  -->  00:08:28,550
This is another interior gateway protocol
237

237

00:08:28,550  -->  00:08:30,910
and it functions a lot like OSPF.
238

238

00:08:30,910  -->  00:08:33,900
It again is going to use cost as its link state measurement.
239

239

00:08:33,900  -->  00:08:37,380
And this cost is based on link speed between two routers.
240

240

00:08:37,380  -->  00:08:39,380
It functions a lot like OSPF,
241

241

00:08:39,380  -->  00:08:41,760
but OSPF is still dominant in the marketplace
242

242

00:08:41,760  -->  00:08:44,240
and used very widely where IS-IS
243

243

00:08:44,240  -->  00:08:46,440
didn't really see widespread adoption.
244

244

00:08:46,440  -->  00:08:49,820
The next routing protocol we have to discuss is EIGRP
245

245

00:08:49,820  -->  00:08:52,490
or the Enhanced Interior Gateway Routing Protocol,
246

246

00:08:52,490  -->  00:08:53,840
which you can probably guess
247

247

00:08:53,840  -->  00:08:57,060
is the interior gateway protocol based on its name.
248

248

00:08:57,060  -->  00:08:59,720
Now this is an advanced distance vector protocol
249

249

00:08:59,720  -->  00:09:02,960
that uses both bandwidth and delay to make it a hybrid
250

250

00:09:02,960  -->  00:09:05,380
of the distance and link state protocols.
251

251

00:09:05,380  -->  00:09:07,050
It does count the delay that exists,
252

252

00:09:07,050  -->  00:09:08,620
which is how many hops there are,
253

253

00:09:08,620  -->  00:09:10,730
as well as the cost that's available
254

254

00:09:10,730  -->  00:09:13,090
with each of those links to figure out their speed,
255

255

00:09:13,090  -->  00:09:14,860
making it that nice hybrid.
256

256

00:09:14,860  -->  00:09:17,260
Now, this hybrid protocol was developed by Cisco
257

257

00:09:17,260  -->  00:09:20,240
as an upgrade to OSPF and it is very popular
258

258

00:09:20,240  -->  00:09:22,710
if you're using a Cisco-only network.
259

259

00:09:22,710  -->  00:09:24,180
Because it's proprietary,
260

260

00:09:24,180  -->  00:09:26,720
meaning you can only use it with all Cisco products,
261

261

00:09:26,720  -->  00:09:28,830
you're not going to see it a lot if you're using Juniper
262

262

00:09:28,830  -->  00:09:31,540
or Brocade or other routers in your network.
263

263

00:09:31,540  -->  00:09:33,970
Again, it hasn't gotten the widespread acceptance
264

264

00:09:33,970  -->  00:09:37,360
that OSPF has because OSPF can be used on any device
265

265

00:09:37,360  -->  00:09:40,010
in any networks, not just Cisco.
266

266

00:09:40,010  -->  00:09:42,770
The last protocol we're going to talk about is BGP
267

267

00:09:42,770  -->  00:09:44,820
or the Border Gateway Protocol.
268

268

00:09:44,820  -->  00:09:47,970
This is an external gateway protocol and on the exam,
269

269

00:09:47,970  -->  00:09:49,020
if you're asked which of these
270

270

00:09:49,020  -->  00:09:50,880
is an exterior gateway protocol,
271

271

00:09:50,880  -->  00:09:54,060
the only answer you should be looking for is BGP
272

272

00:09:54,060  -->  00:09:56,020
because all the other protocols we talked about
273

273

00:09:56,020  -->  00:09:57,950
are interior protocols.
274

274

00:09:57,950  -->  00:10:01,150
Now this gateway protocol is going to use a path vector
275

275

00:10:01,150  -->  00:10:03,640
to use a number of the autonomous system hops
276

276

00:10:03,640  -->  00:10:06,220
that it needs to use instead of router hops.
277

277

00:10:06,220  -->  00:10:07,920
Now, I'm not concerned with how many routers
278

278

00:10:07,920  -->  00:10:09,330
I have to go through necessarily,
279

279

00:10:09,330  -->  00:10:11,600
but I'm more concerned with how many systems
280

280

00:10:11,600  -->  00:10:12,860
I have to go through.
281

281

00:10:12,860  -->  00:10:14,700
Again, this makes sense when you start thinking
282

282

00:10:14,700  -->  00:10:16,720
about the fact that BGP is used
283

283

00:10:16,720  -->  00:10:18,410
as the backbone of the internet.
284

284

00:10:18,410  -->  00:10:20,760
It's made up of lots of different autonomous systems
285

285

00:10:20,760  -->  00:10:22,790
as we move from one ISP to another
286

286

00:10:22,790  -->  00:10:24,600
and so this is what we want to think about
287

287

00:10:24,600  -->  00:10:26,580
when we talk about autonomous systems.
288

288

00:10:26,580  -->  00:10:28,640
Now this has gained widespread utilization
289

289

00:10:28,640  -->  00:10:30,620
and is used all across the internet.
290

290

00:10:30,620  -->  00:10:33,490
BGP makes the internet run.
291

291

00:10:33,490  -->  00:10:34,760
The big problem with it is that
292

292

00:10:34,760  -->  00:10:36,450
it doesn't converge very quickly
293

293

00:10:36,450  -->  00:10:38,980
because of the large scale of all of these networks.
294

294

00:10:38,980  -->  00:10:41,320
So if you add a new router or a new system to the internet,
295

295

00:10:41,320  -->  00:10:42,460
it can take an hour or two
296

296

00:10:42,460  -->  00:10:44,000
before it starts getting populated
297

297

00:10:44,000  -->  00:10:46,650
and even more as it goes across the entire internet
298

298

00:10:46,650  -->  00:10:48,610
to let them know that it now exists.
299

299

00:10:48,610  -->  00:10:50,070
When we talk about these routers,
300

300

00:10:50,070  -->  00:10:51,470
we have all of these different routes
301

301

00:10:51,470  -->  00:10:54,560
and we have to think about the believability of a route.
302

302

00:10:54,560  -->  00:10:55,900
Now, what exactly does that mean
303

303

00:10:55,900  -->  00:10:58,270
when we talk about believability of a route?
304

304

00:10:58,270  -->  00:11:00,320
Well, let's say I have a network that's using
305

305

00:11:00,320  -->  00:11:02,010
more than one routing protocol
306

306

00:11:02,010  -->  00:11:04,620
because my routers can support multiple protocols.
307

307

00:11:04,620  -->  00:11:07,070
I might be running RIP, and I might have OSPF.
308

308

00:11:07,070  -->  00:11:08,950
Both of them being used on the same router
309

309

00:11:08,950  -->  00:11:10,460
in the same network.
310

310

00:11:10,460  -->  00:11:11,690
Now, how do I know which one
311

311

00:11:11,690  -->  00:11:13,480
I'm going to go with when I'm a packet
312

312

00:11:13,480  -->  00:11:15,980
and the router needs to move me around the network?
313

313

00:11:15,980  -->  00:11:17,840
Well, these routing protocols
314

314

00:11:17,840  -->  00:11:20,310
are going to be considered more or less believable
315

315

00:11:20,310  -->  00:11:22,800
based on some different factors that we have.
316

316

00:11:22,800  -->  00:11:27,030
For example, RIP is considered less believable than OSPF.
317

317

00:11:27,030  -->  00:11:28,460
Now, why is that?
318

318

00:11:28,460  -->  00:11:31,610
Well, this is because routers use an index of believability,
319

319

00:11:31,610  -->  00:11:33,328
which we're going to call AD
320

320

00:11:33,328  -->  00:11:35,070
or the administrative distance.
321

321

00:11:35,070  -->  00:11:37,470
Now, if a route has a lower administrative distance,
322

322

00:11:37,470  -->  00:11:39,570
it's going to be considered more believable,
323

323

00:11:39,570  -->  00:11:41,410
and it's going to be better to have a lower number.
324

324

00:11:41,410  -->  00:11:43,520
So I like to think about this like golf rules,
325

325

00:11:43,520  -->  00:11:45,500
the lower the number, the better it is
326

326

00:11:45,500  -->  00:11:47,250
in terms of believability.
327

327

00:11:47,250  -->  00:11:49,720
Now here's a chart for you with the administrative distances
328

328

00:11:49,720  -->  00:11:51,830
of the different protocols we talked about.
329

329

00:11:51,830  -->  00:11:53,880
If you're dealing with a directly connected route,
330

330

00:11:53,880  -->  00:11:55,730
this is going to be the most believable.
331

331

00:11:55,730  -->  00:11:56,563
Why?
332

332

00:11:56,563  -->  00:11:58,270
Because the router is directly connected
333

333

00:11:58,270  -->  00:12:00,470
to another router so it knows itself
334

334

00:12:00,470  -->  00:12:03,030
and it trusts its own opinion that it's connected.
335

335

00:12:03,030  -->  00:12:04,750
Now, this makes a lot of sense, right?
336

336

00:12:04,750  -->  00:12:06,890
So if I know you personally, we're holding hands,
337

337

00:12:06,890  -->  00:12:09,820
we're both connected and therefore the trust would be zero.
338

338

00:12:09,820  -->  00:12:12,180
That's the idea here with the directly connected route.
339

339

00:12:12,180  -->  00:12:13,800
It is fully trusted.
340

340

00:12:13,800  -->  00:12:15,420
Now a statically configured network
341

341

00:12:15,420  -->  00:12:17,410
is going to have an AD of one.
342

342

00:12:17,410  -->  00:12:19,040
That's the next most believable
343

343

00:12:19,040  -->  00:12:20,640
because routers do what they're told.
344

344

00:12:20,640  -->  00:12:22,820
And if you, as a network administrator
345

345

00:12:22,820  -->  00:12:26,200
went in and configured a static route, you told that router,
346

346

00:12:26,200  -->  00:12:28,400
I want you to believe this above everything else,
347

347

00:12:28,400  -->  00:12:30,700
unless you're directly connected to somebody else.
348

348

00:12:30,700  -->  00:12:33,000
Beyond that, you're always going to believe me.
349

349

00:12:33,000  -->  00:12:35,710
After our directly connected routes and our static routes,
350

350

00:12:35,710  -->  00:12:38,720
we're then going to trust EIGRP next.
351

351

00:12:38,720  -->  00:12:42,090
After that we believe, OSPF and then RIP,
352

352

00:12:42,090  -->  00:12:44,230
and then external EIGRP.
353

353

00:12:44,230  -->  00:12:46,510
And then as we go all the way to the bottom of our chart,
354

354

00:12:46,510  -->  00:12:50,420
we see the worst believability, the unknown or unbelievable,
355

355

00:12:50,420  -->  00:12:53,050
which means that it's going to have a rate of 255
356

356

00:12:53,050  -->  00:12:54,750
for its administrative distance.
357

357

00:12:54,750  -->  00:12:57,510
The reason why we set it at 255 is basically we say,
358

358

00:12:57,510  -->  00:12:59,300
I can't find this network anymore.
359

359

00:12:59,300  -->  00:13:00,800
It is totally unbelievable
360

360

00:13:00,800  -->  00:13:03,190
and so I don't want to run traffic that way.
361

361

00:13:03,190  -->  00:13:06,370
Now for the exam, do you have to memorize all these numbers?
362

362

00:13:06,370  -->  00:13:09,520
No, but you should have an idea that directly connected
363

363

00:13:09,520  -->  00:13:12,240
is the most believable, then static,
364

364

00:13:12,240  -->  00:13:16,210
then followed by things like EIGRP, OSPF and RIP.
365

365

00:13:16,210  -->  00:13:17,550
If you think about the fact that RIP
366

366

00:13:17,550  -->  00:13:19,300
was one of our earliest protocols,
367

367

00:13:19,300  -->  00:13:21,440
it would be one of our least believable.
368

368

00:13:21,440  -->  00:13:23,010
OSPF was an improvement to RIP
369

369

00:13:23,010  -->  00:13:24,710
so it's a little bit more believable.
370

370

00:13:24,710  -->  00:13:27,670
And then we had EIGRP, which was an improvement to OSPF.
371

371

00:13:27,670  -->  00:13:29,600
So again, it's more believable.
372

372

00:13:29,600  -->  00:13:31,370
This is kind of a memory game that I use
373

373

00:13:31,370  -->  00:13:33,290
to try to remember which ones are most believable
374

374

00:13:33,290  -->  00:13:35,090
and which ones are least believable.
375

375

00:13:35,090  -->  00:13:38,200
Lastly, we have metrics associated with all of these routes.
376

376

00:13:38,200  -->  00:13:39,530
And when we look at these metrics
377

377

00:13:39,530  -->  00:13:40,700
and we look at these routes,
378

378

00:13:40,700  -->  00:13:42,270
there's going to be a routing protocol
379

379

00:13:42,270  -->  00:13:44,640
that's able to choose which path it's going to go on.
380

380

00:13:44,640  -->  00:13:46,510
And we do this based on metrics.
381

381

00:13:46,510  -->  00:13:49,220
These are things like hop count, believability,
382

382

00:13:49,220  -->  00:13:53,970
reliability, bandwidth, delay, costs, or other metrics.
383

383

00:13:53,970  -->  00:13:55,980
Each protocol uses a different metric
384

384

00:13:55,980  -->  00:13:57,720
to determine which route it should use
385

385

00:13:57,720  -->  00:14:00,570
and which one is it going to be considered faster or slower.
386

386

00:14:00,570  -->  00:14:01,980
Depending on which route it is,
387

387

00:14:01,980  -->  00:14:04,410
it's going to determine which metric you're going to use.
388

388

00:14:04,410  -->  00:14:05,710
And so when we're dealing with metrics,
389

389

00:14:05,710  -->  00:14:07,430
it's always going to be thinking about the fact
390

390

00:14:07,430  -->  00:14:10,670
that lower numbers are better, higher numbers are worse,
391

391

00:14:10,670  -->  00:14:12,270
when we deal with routing.
392

392

00:14:12,270  -->  00:14:13,820
Anytime we talk about hop count,
393

393

00:14:13,820  -->  00:14:15,480
we want the least number of routes.
394

394

00:14:15,480  -->  00:14:17,240
If we start talking about bandwidth,
395

395

00:14:17,240  -->  00:14:19,290
we want the lowest cost of bandwidth.
396

396

00:14:19,290  -->  00:14:21,420
And that gives us the highest amount of bandwidth.
397

397

00:14:21,420  -->  00:14:23,040
And so lower costs becomes better.
398

398

00:14:23,040  -->  00:14:23,970
If we're dealing with delay,
399

399

00:14:23,970  -->  00:14:25,790
we want the least amount of delay.
400

400

00:14:25,790  -->  00:14:27,610
Believability, we want the lowest number.
401

401

00:14:27,610  -->  00:14:29,750
We want a zero for directly connected, right?
402

402

00:14:29,750  -->  00:14:32,380
Or one for static route or one of those lower numbers
403

403

00:14:32,380  -->  00:14:33,930
for the administrative distance.
404

404

00:14:33,930  -->  00:14:34,763
That's the idea here.
405

405

00:14:34,763  -->  00:14:36,450
Lower numbers are always going to be better.
406

406

00:14:36,450  -->  00:14:37,650
You see this trend in routing
407

407

00:14:37,650  -->  00:14:40,040
where the metrics lower is always better.
408

408

00:14:40,040  -->  00:14:41,980
And so remember that for the exam.
409

409

00:14:41,980  -->  00:14:44,330
Lastly, I wanted to give you this summary slide
410

410

00:14:44,330  -->  00:14:45,430
here on the screen.
411

411

00:14:45,430  -->  00:14:47,160
This is one of those things I'd like you to write down
412

412

00:14:47,160  -->  00:14:48,410
in your notes so you can remember
413

413

00:14:48,410  -->  00:14:50,310
all about the routing protocols.
414

414

00:14:50,310  -->  00:14:52,090
This summarizes everything nicely.
415

415

00:14:52,090  -->  00:14:54,393
<v ->From RIP, OSPF, EIGRP.</v>
416

416

00:14:56,020  -->  00:14:57,870
IS-IS, and BGP.
417

417

00:14:57,870  -->  00:14:59,600
It shows you which ones are interior,
418

418

00:14:59,600  -->  00:15:02,350
which ones are exterior, which ones are distanced vectors,
419

419

00:15:02,350  -->  00:15:03,660
which ones are link states.
420

420

00:15:03,660  -->  00:15:04,810
And hopefully this will help you
421

421

00:15:04,810  -->  00:15:06,417
as you study your different routing protocols
422

422

00:15:06,417  -->  00:15:08,040
and remember the key facts and figures
423

423

00:15:08,040  -->  00:15:09,543
for them before the exam.
