1
00:00:00,360 --> 00:00:01,589
So how does a router

2
00:00:01,589 --> 00:00:03,360
make its routing decisions?

3
00:00:03,360 --> 00:00:05,670
Well, it uses a routing table.

4
00:00:05,670 --> 00:00:06,720
Just like our switches

5
00:00:06,720 --> 00:00:09,300
used a Mac address table or a CAM table,

6
00:00:09,300 --> 00:00:10,830
we're going to use routing tables

7
00:00:10,830 --> 00:00:12,690
to decide where our packets need to go

8
00:00:12,690 --> 00:00:14,940
inside and outside of our networks.

9
00:00:14,940 --> 00:00:16,980
Now these routing decisions are going to contain

10
00:00:16,980 --> 00:00:18,210
layer three information,

11
00:00:18,210 --> 00:00:21,120
and they're going to do a layer three to layer two map.

12
00:00:21,120 --> 00:00:24,420
The router is going to use an arp cache to map an IP address

13
00:00:24,420 --> 00:00:25,920
to a given Mac address,

14
00:00:25,920 --> 00:00:28,830
and this way it knows inside its local area network,

15
00:00:28,830 --> 00:00:31,980
which IPs are going to relate to which Mac addresses.

16
00:00:31,980 --> 00:00:33,540
Now, each packet forwarding decision

17
00:00:33,540 --> 00:00:36,570
is then going to be based on its internal routing table.

18
00:00:36,570 --> 00:00:38,070
Those internal routing tables

19
00:00:38,070 --> 00:00:40,590
are really focused on the logical address side of things,

20
00:00:40,590 --> 00:00:42,300
or that IP address.

21
00:00:42,300 --> 00:00:44,790
So, let's dig a little bit deeper into these routing tables

22
00:00:44,790 --> 00:00:46,440
to really see how they work.

23
00:00:46,440 --> 00:00:48,150
These tables are kept by the router,

24
00:00:48,150 --> 00:00:49,710
and they help them determine which route

25
00:00:49,710 --> 00:00:52,620
is best fit for them as they're trying to route the traffic

26
00:00:52,620 --> 00:00:54,240
throughout the different networks.

27
00:00:54,240 --> 00:00:56,310
Now, a route entry has a prefix,

28
00:00:56,310 --> 00:00:57,990
and the longer the prefix is

29
00:00:57,990 --> 00:01:00,180
the more specific that network is.

30
00:01:00,180 --> 00:01:01,560
So if we look here at this chart,

31
00:01:01,560 --> 00:01:03,750
I have three different networks showing up.

32
00:01:03,750 --> 00:01:06,480
There's 125.0.0.0,

33
00:01:06,480 --> 00:01:09,300
I have 161.5.0.0,

34
00:01:09,300 --> 00:01:12,420
and I have 134.7.0.0.

35
00:01:12,420 --> 00:01:15,180
Now, which of these would have the longest prefix?

36
00:01:15,180 --> 00:01:16,590
Well, it's the bottom two,

37
00:01:16,590 --> 00:01:18,480
because they're the most specific.

38
00:01:18,480 --> 00:01:19,950
These are the ones that are most specific

39
00:01:19,950 --> 00:01:22,350
because they have the first two octets specified,

40
00:01:22,350 --> 00:01:26,250
whereas the first one, with the 125.0.0.0,

41
00:01:26,250 --> 00:01:28,410
only has the first octet specified,

42
00:01:28,410 --> 00:01:30,270
so it is the least specific.

43
00:01:30,270 --> 00:01:34,740
So if I'm dealing with something like 10.1.1.0/24

44
00:01:34,740 --> 00:01:36,450
that is really, really specific,

45
00:01:36,450 --> 00:01:38,490
because I have the first three octets specified,

46
00:01:38,490 --> 00:01:40,260
the 10.1.1.

47
00:01:40,260 --> 00:01:44,040
That means I only have 256 possible IPs left

48
00:01:44,040 --> 00:01:46,110
because of that .0 at the end.

49
00:01:46,110 --> 00:01:50,490
Now instead, if I use something like 10.0.0.0/8

50
00:01:50,490 --> 00:01:53,610
this means I only have one octet specified,

51
00:01:53,610 --> 00:01:55,560
and the other three are really wild cards.

52
00:01:55,560 --> 00:01:58,380
So I can have up to 16 million IP addresses

53
00:01:58,380 --> 00:02:00,540
because of those three sets of zeros.

54
00:02:00,540 --> 00:02:02,700
So you can see here the longer the prefects we have

55
00:02:02,700 --> 00:02:04,530
or the higher the CIDR notation,

56
00:02:04,530 --> 00:02:06,960
the more specific that route becomes.

57
00:02:06,960 --> 00:02:08,430
Now when we look at these routing tables

58
00:02:08,430 --> 00:02:10,289
and we look at all the routes in the table,

59
00:02:10,289 --> 00:02:11,730
those routes are going to tell us

60
00:02:11,730 --> 00:02:13,650
what the destination network is

61
00:02:13,650 --> 00:02:17,100
and which router it should go to to get to that network.

62
00:02:17,100 --> 00:02:19,080
It'll also tell us which port on the router

63
00:02:19,080 --> 00:02:20,970
is going to be used to send traffic out

64
00:02:20,970 --> 00:02:22,350
and the cost of that route,

65
00:02:22,350 --> 00:02:24,030
which is basically like switching,

66
00:02:24,030 --> 00:02:26,190
where it's dependent upon numbers of different factors

67
00:02:26,190 --> 00:02:29,100
like the link speed and other factors like that.

68
00:02:29,100 --> 00:02:30,360
Now we're going to talk specifically

69
00:02:30,360 --> 00:02:32,820
about those different factors in another lecture

70
00:02:32,820 --> 00:02:34,830
when we start diving into routing protocols,

71
00:02:34,830 --> 00:02:37,800
but for now, just realize that every link in a route

72
00:02:37,800 --> 00:02:39,960
does have a cost associated with it.

73
00:02:39,960 --> 00:02:41,160
So what are some of the sources

74
00:02:41,160 --> 00:02:43,050
of routing information that we can have?

75
00:02:43,050 --> 00:02:44,880
Well, there are really three different sources

76
00:02:44,880 --> 00:02:46,500
that routers are going to use.

77
00:02:46,500 --> 00:02:49,320
The first one is called a directly connected route.

78
00:02:49,320 --> 00:02:50,790
Now, a directly connected route

79
00:02:50,790 --> 00:02:53,910
is learned by a physical connection between two routers.

80
00:02:53,910 --> 00:02:55,440
So, if you look on the screen here,

81
00:02:55,440 --> 00:02:56,820
I have three different routers,

82
00:02:56,820 --> 00:02:59,340
router 1, router 2, and router 3.

83
00:02:59,340 --> 00:03:01,680
Now, router 2 knows where router 1 is

84
00:03:01,680 --> 00:03:02,760
and router 3 are

85
00:03:02,760 --> 00:03:05,130
because it has direct cabling between those.

86
00:03:05,130 --> 00:03:06,990
And this is shown by those zigzag lines,

87
00:03:06,990 --> 00:03:08,580
or that lightning bolt looking line,

88
00:03:08,580 --> 00:03:10,050
that's here on my diagram.

89
00:03:10,050 --> 00:03:12,840
This denotes that it is a serial connection.

90
00:03:12,840 --> 00:03:14,580
Next, we have static routes,

91
00:03:14,580 --> 00:03:16,590
and this is the second way that routers know

92
00:03:16,590 --> 00:03:18,150
how things are connected to them.

93
00:03:18,150 --> 00:03:20,310
Now, a static route are routes that are configured

94
00:03:20,310 --> 00:03:22,020
by an administrator manually.

95
00:03:22,020 --> 00:03:25,290
So, for example, router 1 knows how to get to router 2

96
00:03:25,290 --> 00:03:26,940
because it's directly connected,

97
00:03:26,940 --> 00:03:29,700
but it doesn't know how to get to router 3 yet.

98
00:03:29,700 --> 00:03:32,070
So for me to tell it how to get to router 3,

99
00:03:32,070 --> 00:03:33,633
I can put a route into my routing table

100
00:03:33,633 --> 00:03:35,760
that says every time you want to send something

101
00:03:35,760 --> 00:03:37,050
to router 3,

102
00:03:37,050 --> 00:03:39,750
just go ahead and send it through router 2.

103
00:03:39,750 --> 00:03:41,850
That would become a static route.

104
00:03:41,850 --> 00:03:44,250
Now, there is always one default static route

105
00:03:44,250 --> 00:03:46,320
in every router, and it's a special one.

106
00:03:46,320 --> 00:03:50,670
It's known as 0.0.0.0/0.

107
00:03:50,670 --> 00:03:51,990
Basically it says to the router,

108
00:03:51,990 --> 00:03:54,750
if you don't know where to go, just go here.

109
00:03:54,750 --> 00:03:56,820
It's kind of like your default gateway.

110
00:03:56,820 --> 00:03:59,280
And so for router 1, it might have a default route

111
00:03:59,280 --> 00:04:03,630
of 0.0.0.0/0 that says, go to router 2

112
00:04:03,630 --> 00:04:05,640
anytime you don't know how to get someplace.

113
00:04:05,640 --> 00:04:07,530
And then it becomes router 2's problem

114
00:04:07,530 --> 00:04:09,600
to figure out what to do with that traffic.

115
00:04:09,600 --> 00:04:11,550
Now, the third way that routers can do this

116
00:04:11,550 --> 00:04:13,980
is by using what's known as dynamic routing.

117
00:04:13,980 --> 00:04:16,740
And this is done by using dynamic routing protocols.

118
00:04:16,740 --> 00:04:19,170
These protocols are learned by exchanging information

119
00:04:19,170 --> 00:04:22,890
between routers automatically based on the protocols.

120
00:04:22,890 --> 00:04:24,900
Now, instead of me having to go into router 1

121
00:04:24,900 --> 00:04:26,880
and tell it how to get to router 3,

122
00:04:26,880 --> 00:04:29,370
instead, I can just let router 2 do it.

123
00:04:29,370 --> 00:04:31,140
Now the idea here is that when router 1

124
00:04:31,140 --> 00:04:33,510
and router 2 become directly connected,

125
00:04:33,510 --> 00:04:35,550
they start sharing their routing tables.

126
00:04:35,550 --> 00:04:36,697
So router 1 is going to say,

127
00:04:36,697 --> 00:04:39,720
"Hey, router 2, do you know how to talk to some people?"

128
00:04:39,720 --> 00:04:41,287
And router 2 will say, "Oh yeah,

129
00:04:41,287 --> 00:04:42,667
"I'm connected to router 3.

130
00:04:42,667 --> 00:04:44,527
"So anytime you got something for router 3,

131
00:04:44,527 --> 00:04:46,650
"just send it to me and I'll pass it on for you."

132
00:04:46,650 --> 00:04:49,230
And they do this all by themself automatically

133
00:04:49,230 --> 00:04:51,330
using these dynamic routing protocols.

134
00:04:51,330 --> 00:04:53,610
This is really great, especially in large networks,

135
00:04:53,610 --> 00:04:55,920
because we don't have to manually configure everything.

136
00:04:55,920 --> 00:04:59,010
So, for example, think about if I took your router at home

137
00:04:59,010 --> 00:05:01,050
and I had to put down every single route for you

138
00:05:01,050 --> 00:05:02,430
to be able to find every website

139
00:05:02,430 --> 00:05:04,140
you wanted to get to on the internet,

140
00:05:04,140 --> 00:05:05,190
you would not be able to do it.

141
00:05:05,190 --> 00:05:07,410
It was just too many things out there, right?

142
00:05:07,410 --> 00:05:10,890
So instead, we use dynamic routing to accomplish this.

143
00:05:10,890 --> 00:05:13,590
When you connect to the internet, you connect to your ISP,

144
00:05:13,590 --> 00:05:15,720
and they know that they are now your default route.

145
00:05:15,720 --> 00:05:18,060
Anything you want to get to that's not inside your network,

146
00:05:18,060 --> 00:05:19,650
you send it to your ISP,

147
00:05:19,650 --> 00:05:21,810
and then your ISP will send it to the next router,

148
00:05:21,810 --> 00:05:23,760
and it keeps going up that chain that way.

149
00:05:23,760 --> 00:05:24,810
So that's a great overview

150
00:05:24,810 --> 00:05:26,520
of the three different types of routes.

151
00:05:26,520 --> 00:05:28,110
We have directly connected routes,

152
00:05:28,110 --> 00:05:30,360
static routes, and dynamic routes.

153
00:05:30,360 --> 00:05:32,040
So, let's go ahead and dig a little bit deeper

154
00:05:32,040 --> 00:05:33,570
into each of these three types

155
00:05:33,570 --> 00:05:35,700
so you can understand them a little bit more.

156
00:05:35,700 --> 00:05:38,520
First, let's take a look at a directly connected route.

157
00:05:38,520 --> 00:05:40,140
When we look at a directly connected route,

158
00:05:40,140 --> 00:05:41,130
it's going to look something like

159
00:05:41,130 --> 00:05:42,870
what you see here on my screen.

160
00:05:42,870 --> 00:05:45,240
Now, as you can see, router 1 and router 2

161
00:05:45,240 --> 00:05:47,820
are directly connected with that zigzag line.

162
00:05:47,820 --> 00:05:49,530
That's that serial connection.

163
00:05:49,530 --> 00:05:51,210
Now, these routers both know how to get

164
00:05:51,210 --> 00:05:52,380
to the other switches

165
00:05:52,380 --> 00:05:54,690
because they're directly connected to them, right?

166
00:05:54,690 --> 00:05:56,250
So if I look at router 1's table,

167
00:05:56,250 --> 00:06:00,600
it says I'm to 10.0.1.0/24,

168
00:06:00,600 --> 00:06:03,240
which is the network that it owns on switch one.

169
00:06:03,240 --> 00:06:06,810
It's also connected to 192.1.1.0,

170
00:06:06,810 --> 00:06:08,400
because this is the serial connection

171
00:06:08,400 --> 00:06:09,990
between the two routers.

172
00:06:09,990 --> 00:06:12,570
Now, notice that router 1 does not know how to get

173
00:06:12,570 --> 00:06:15,150
to the 10.0.2.0 network,

174
00:06:15,150 --> 00:06:16,860
because this is on switch two,

175
00:06:16,860 --> 00:06:18,750
and that's hanging off of router 2.

176
00:06:18,750 --> 00:06:20,400
It has no information on this

177
00:06:20,400 --> 00:06:23,430
because it only knows things that are directly cabled to it.

178
00:06:23,430 --> 00:06:25,200
Now, if we go further into static routing,

179
00:06:25,200 --> 00:06:27,900
I can actually write that down as part of my default route,

180
00:06:27,900 --> 00:06:31,920
or 0.0.0.0 for router 1.

181
00:06:31,920 --> 00:06:34,710
Now this tells me that anytime I don't know an IP address,

182
00:06:34,710 --> 00:06:38,700
I'm simply going to send it out port serial 1/1,

183
00:06:38,700 --> 00:06:40,920
which is going to push it over to router 2.

184
00:06:40,920 --> 00:06:44,160
And so in this case, if PC1 tries to get to PC2,

185
00:06:44,160 --> 00:06:45,900
it would get as far as router 1,

186
00:06:45,900 --> 00:06:47,050
and then router 1's going to say,

187
00:06:47,050 --> 00:06:50,310
"Ugh, I don't know how to get to 10.0.2.2,

188
00:06:50,310 --> 00:06:52,140
but maybe router 2 does,

189
00:06:52,140 --> 00:06:53,550
and it's going to push that over to them

190
00:06:53,550 --> 00:06:55,470
over that wide area network connection,

191
00:06:55,470 --> 00:06:57,750
that serial connection that's directly connected.

192
00:06:57,750 --> 00:06:59,970
That's how this manual configuration works

193
00:06:59,970 --> 00:07:02,520
with a static route. All right, so I think you understand

194
00:07:02,520 --> 00:07:05,820
how direct connections work and how static routing works.

195
00:07:05,820 --> 00:07:08,940
Let's take a look at the dynamic routing protocols instead.

196
00:07:08,940 --> 00:07:11,700
Now, dynamic routing protocols can have more than one route

197
00:07:11,700 --> 00:07:13,230
for an existing network.

198
00:07:13,230 --> 00:07:15,480
If I have a more complex network diagram,

199
00:07:15,480 --> 00:07:17,580
like these five routers that you see here,

200
00:07:17,580 --> 00:07:19,620
and I wanted to get from one to five,

201
00:07:19,620 --> 00:07:21,150
I can go a couple of different ways.

202
00:07:21,150 --> 00:07:23,487
I can go one, two, three, four, five.

203
00:07:23,487 --> 00:07:26,190
And I really just start zigzagging all over the network.

204
00:07:26,190 --> 00:07:28,890
Or I might go one, two, four, five,

205
00:07:28,890 --> 00:07:31,170
or I might go one, three, four, five.

206
00:07:31,170 --> 00:07:33,060
There's lots of different ways for me to go,

207
00:07:33,060 --> 00:07:35,190
because all the different connections that are there.

208
00:07:35,190 --> 00:07:38,460
So how does my router know which one is best?

209
00:07:38,460 --> 00:07:41,670
Well, the dynamic routing is going to get negotiated for us

210
00:07:41,670 --> 00:07:43,650
based on the number of hops that are there,

211
00:07:43,650 --> 00:07:44,910
which is the number of times I have to go

212
00:07:44,910 --> 00:07:46,230
through a different router,

213
00:07:46,230 --> 00:07:48,540
the number of link bandwidth that's available,

214
00:07:48,540 --> 00:07:49,920
so how fast it is.

215
00:07:49,920 --> 00:07:51,990
I might go through the ones that are faster or slower.

216
00:07:51,990 --> 00:07:54,030
And other criteria that are out there.

217
00:07:54,030 --> 00:07:56,190
All of these dynamic routing protocols

218
00:07:56,190 --> 00:07:57,570
can be able to be supported

219
00:07:57,570 --> 00:07:59,340
depending on what routers you're using

220
00:07:59,340 --> 00:08:01,350
and different criteria of how you want to set 'em up,

221
00:08:01,350 --> 00:08:03,180
depending on how we configure them.

222
00:08:03,180 --> 00:08:04,680
Now we're going to spend an entire lesson

223
00:08:04,680 --> 00:08:07,080
on the different types of dynamic routing protocols,

224
00:08:07,080 --> 00:08:08,490
so we can really dig into each of them

225
00:08:08,490 --> 00:08:09,870
and you can really understand,

226
00:08:09,870 --> 00:08:11,910
because you're going to get test questions on them,

227
00:08:11,910 --> 00:08:13,200
come test day.

228
00:08:13,200 --> 00:08:15,510
Now the last thing I want to talk about in this lesson

229
00:08:15,510 --> 00:08:17,550
is preventing routing loops.

230
00:08:17,550 --> 00:08:19,080
Just like we had an issue with switches

231
00:08:19,080 --> 00:08:21,150
where you can get loops and broadcast storms,

232
00:08:21,150 --> 00:08:22,500
you can get issues with routing

233
00:08:22,500 --> 00:08:24,870
if things start going into a circular manner,

234
00:08:24,870 --> 00:08:27,540
things will just end up getting lost in cyberspace, right?

235
00:08:27,540 --> 00:08:28,800
So, to prevent that,

236
00:08:28,800 --> 00:08:31,140
we have two different techniques we can use.

237
00:08:31,140 --> 00:08:34,770
These are known as the Split Horizon and the Poison Reverse.

238
00:08:34,770 --> 00:08:37,440
Now, with a Split Horizon, this is going to prevent a route

239
00:08:37,440 --> 00:08:39,030
that's learned on one interface

240
00:08:39,030 --> 00:08:42,150
from being advertised back out that same interface.

241
00:08:42,150 --> 00:08:44,670
So, in this example, you see router 1

242
00:08:44,670 --> 00:08:45,990
knows how to get to router 2

243
00:08:45,990 --> 00:08:47,580
because of that direct connection

244
00:08:47,580 --> 00:08:49,110
between those two routers.

245
00:08:49,110 --> 00:08:51,210
Now, it's not going to go and tell router 2

246
00:08:51,210 --> 00:08:53,940
how to get to router 2 based on that same connection.

247
00:08:53,940 --> 00:08:55,050
Because guess what?

248
00:08:55,050 --> 00:08:56,220
It came in that connection,

249
00:08:56,220 --> 00:08:58,050
so it can't go out the same connection.

250
00:08:58,050 --> 00:09:00,030
This is essentially what our spanning tree protocol

251
00:09:00,030 --> 00:09:01,860
did for us in our switching networks.

252
00:09:01,860 --> 00:09:04,710
But now we can do this inside of routing.

253
00:09:04,710 --> 00:09:05,940
Now, the second way we do this

254
00:09:05,940 --> 00:09:07,860
is what's known as a Poison Reverse.

255
00:09:07,860 --> 00:09:09,900
And a Poison Reverse is going to cause a route

256
00:09:09,900 --> 00:09:11,520
that's received on one interface

257
00:09:11,520 --> 00:09:14,100
to be advertised back out that same interface,

258
00:09:14,100 --> 00:09:16,500
but with a really, really high cost

259
00:09:16,500 --> 00:09:18,480
so that nobody would ever want to use it.

260
00:09:18,480 --> 00:09:20,160
Now these are just two different techniques

261
00:09:20,160 --> 00:09:21,720
for you to stop routing loops.

262
00:09:21,720 --> 00:09:23,070
You could use one or the other,

263
00:09:23,070 --> 00:09:24,450
it really doesn't make a difference,

264
00:09:24,450 --> 00:09:25,457
as long as you're using one

265
00:09:25,457 --> 00:09:27,840
that's going to prevent that routing loop for you.

266
00:09:27,840 --> 00:09:30,480
The first one is I'm just not going to repeat anything.

267
00:09:30,480 --> 00:09:32,190
The second one is I'm going to repeat it,

268
00:09:32,190 --> 00:09:34,140
but I'm going to tell you it's so expensive

269
00:09:34,140 --> 00:09:36,360
that you'll never ever want to use it.

270
00:09:36,360 --> 00:09:37,620
So, let's go ahead and take a look

271
00:09:37,620 --> 00:09:39,450
at an example of these routing loops

272
00:09:39,450 --> 00:09:41,070
and how we can make sure we prevent them.

273
00:09:41,070 --> 00:09:43,410
So, here's a network with no issues at all.

274
00:09:43,410 --> 00:09:44,880
I have three routers here.

275
00:09:44,880 --> 00:09:47,700
I have router 1, router 2, and router 3.

276
00:09:47,700 --> 00:09:50,130
You can see the different networks based on the IPs

277
00:09:50,130 --> 00:09:52,500
and the routing tables are shown here on the screen.

278
00:09:52,500 --> 00:09:54,840
Now we're going to look specifically at the routing tables

279
00:09:54,840 --> 00:09:57,870
for router 2 and router 3 in this example.

280
00:09:57,870 --> 00:10:00,030
Now, if I started having an issue, like for instance,

281
00:10:00,030 --> 00:10:01,890
the network connection from router 3

282
00:10:01,890 --> 00:10:04,740
for the 10.1.4.0 network went down

283
00:10:04,740 --> 00:10:07,230
because ethernet 0/1 went down.

284
00:10:07,230 --> 00:10:08,970
What do you think's going to happen?

285
00:10:08,970 --> 00:10:11,460
Well, router 2 still thinks it can get to that network,

286
00:10:11,460 --> 00:10:12,697
because it says, "Hey,

287
00:10:12,697 --> 00:10:15,780
"I can get there through my serial port of 0/1.

288
00:10:15,780 --> 00:10:17,790
because I have a connection to router 3.

289
00:10:17,790 --> 00:10:20,077
Now, if router 3 went down, it's going to say,

290
00:10:20,077 --> 00:10:21,720
"I don't know how to get there anymore."

291
00:10:21,720 --> 00:10:22,920
And so it's going to ask its friends

292
00:10:22,920 --> 00:10:25,140
using the dynamic router protocols.

293
00:10:25,140 --> 00:10:26,377
And so at this point it's going to say,

294
00:10:26,377 --> 00:10:29,280
"Hey, router 2, do you know how to get to that network?"

295
00:10:29,280 --> 00:10:30,907
And what happens is router 2 would say,

296
00:10:30,907 --> 00:10:33,097
"Oh yeah, I know how to get to that network.

297
00:10:33,097 --> 00:10:34,777
"I can do it in just one hop.

298
00:10:34,777 --> 00:10:36,300
"So go ahead and send it to me."

299
00:10:36,300 --> 00:10:38,107
And then router 3 says, "Oh great,

300
00:10:38,107 --> 00:10:39,787
"that means I know how to get there, too,

301
00:10:39,787 --> 00:10:41,677
"because I'm connected to you, router 2,

302
00:10:41,677 --> 00:10:42,607
"and you know how to do it.

303
00:10:42,607 --> 00:10:45,240
"So that one hop for you becomes two hops for me."

304
00:10:45,240 --> 00:10:46,440
And it keeps going back and forth.

305
00:10:46,440 --> 00:10:48,577
And then router 2 goes, "Oh, I know how to get there.

306
00:10:48,577 --> 00:10:49,807
"Router 3 knows how to get there.

307
00:10:49,807 --> 00:10:51,487
"And he says he can do it in two hops,

308
00:10:51,487 --> 00:10:52,860
"so I can do it in three hops."

309
00:10:52,860 --> 00:10:55,200
And it keeps going back and forth until both of those

310
00:10:55,200 --> 00:10:57,960
get to be such a high number that neither of those routers

311
00:10:57,960 --> 00:11:00,210
can actually ever get to that route anymore.

312
00:11:00,210 --> 00:11:02,880
Now, this is the idea of what a Poison Reverse would do,

313
00:11:02,880 --> 00:11:04,260
but when you use a Poison Reverse,

314
00:11:04,260 --> 00:11:07,170
instead of making it go one at a time and keep iterating up,

315
00:11:07,170 --> 00:11:08,167
it would immediately just say,

316
00:11:08,167 --> 00:11:09,337
"Hey, I know how to get there,

317
00:11:09,337 --> 00:11:10,927
"and it would take me a thousand hops.

318
00:11:10,927 --> 00:11:12,337
"And so if that's such a huge cost,

319
00:11:12,337 --> 00:11:13,980
"you won't want to send it to me."

320
00:11:13,980 --> 00:11:15,247
That's the way that router 3 can say,

321
00:11:15,247 --> 00:11:17,130
"I don't have this route anymore."

322
00:11:17,130 --> 00:11:18,750
Now, if you don't use Poison Reverse

323
00:11:18,750 --> 00:11:20,280
and you don't use Split Horizon,

324
00:11:20,280 --> 00:11:23,160
what ends up happening is you have this loop that happens,

325
00:11:23,160 --> 00:11:24,750
and two says, I can do it in one,

326
00:11:24,750 --> 00:11:26,508
three says I can do it in two,

327
00:11:26,508 --> 00:11:27,960
two says I can do it in three,

328
00:11:27,960 --> 00:11:29,130
and they keep counting up,

329
00:11:29,130 --> 00:11:30,720
and that eats up a lot of your resources

330
00:11:30,720 --> 00:11:32,550
in your network by causing this loop

331
00:11:32,550 --> 00:11:35,100
and those two sending packets back and forth to each other,

332
00:11:35,100 --> 00:11:36,810
continually increasing that cost

333
00:11:36,810 --> 00:11:39,780
until it gets so high that they stop sending traffic.

334
00:11:39,780 --> 00:11:42,090
Now, if there's no other way to get to that network,

335
00:11:42,090 --> 00:11:43,980
it's just going to keep going in this infinite loop,

336
00:11:43,980 --> 00:11:45,990
and that's going to cause a real problem for you.

337
00:11:45,990 --> 00:11:47,130
This is why it's really important

338
00:11:47,130 --> 00:11:49,530
to make sure you're setting up your Poison Reverse

339
00:11:49,530 --> 00:11:50,793
or your Split Horizons.

