1
00:00:00,270 --> 00:00:01,290
In this lesson,

2
00:00:01,290 --> 00:00:03,660
we're going to look at understanding routers.

3
00:00:03,660 --> 00:00:05,250
Now on my screen, you can see

4
00:00:05,250 --> 00:00:08,130
that I'm using a program called Cisco Packet Tracer.

5
00:00:08,130 --> 00:00:09,960
The use of this program is beyond the scope

6
00:00:09,960 --> 00:00:12,930
of the network plus exam, but I'm going to show it to you here

7
00:00:12,930 --> 00:00:14,160
as a way for you to understand

8
00:00:14,160 --> 00:00:16,950
how packets will be routed across our network.

9
00:00:16,950 --> 00:00:18,360
In this particular network,

10
00:00:18,360 --> 00:00:21,480
I have designed that we have three different sub-networks,

11
00:00:21,480 --> 00:00:23,760
called the HR network in the top right,

12
00:00:23,760 --> 00:00:25,770
the IT network in the bottom right,

13
00:00:25,770 --> 00:00:28,020
and the support network in the bottom left.

14
00:00:28,020 --> 00:00:30,120
All of these are connected by the backbone router,

15
00:00:30,120 --> 00:00:31,680
which you can see located right here

16
00:00:31,680 --> 00:00:33,600
in the center of the screen.

17
00:00:33,600 --> 00:00:36,000
As you look at this, we're going to start from the bottom left

18
00:00:36,000 --> 00:00:37,710
and work our way to the top right

19
00:00:37,710 --> 00:00:40,020
as we talk about the different parts of the network.

20
00:00:40,020 --> 00:00:42,660
On the bottom left, you'll see there are four devices,

21
00:00:42,660 --> 00:00:44,790
starting with two PCs on the left side,

22
00:00:44,790 --> 00:00:47,010
called support one and support two.

23
00:00:47,010 --> 00:00:48,300
Both of these have been configured

24
00:00:48,300 --> 00:00:53,300
with IP addresses in the network of 172.16.0. something,

25
00:00:53,820 --> 00:00:55,710
and you can see that the top one is .11

26
00:00:55,710 --> 00:00:57,690
and the bottom one is .12.

27
00:00:57,690 --> 00:00:59,520
Both of these are connected to a layer two switch,

28
00:00:59,520 --> 00:01:01,830
called the support switch, which because it's layer two,

29
00:01:01,830 --> 00:01:03,870
does not get an IP address, but instead,

30
00:01:03,870 --> 00:01:07,290
we'll use Mac addresses to identify these two PCs.

31
00:01:07,290 --> 00:01:09,450
If these two PCs want to talk to each other,

32
00:01:09,450 --> 00:01:11,640
they can do that on this local area network segment

33
00:01:11,640 --> 00:01:13,290
without going out to the router.

34
00:01:13,290 --> 00:01:15,000
But if they want to reach out to something else,

35
00:01:15,000 --> 00:01:17,220
like the web server on the right hand side of the screen,

36
00:01:17,220 --> 00:01:18,450
or the human resource computers

37
00:01:18,450 --> 00:01:19,950
on the top part of the screen,

38
00:01:19,950 --> 00:01:21,630
they're going to have to go through a router,

39
00:01:21,630 --> 00:01:24,780
and that's why we have this Dion training support router.

40
00:01:24,780 --> 00:01:26,340
When you can see a router, you will notice

41
00:01:26,340 --> 00:01:28,770
there are two IP addresses associated with it,

42
00:01:28,770 --> 00:01:32,220
one on the left side of it, and one on the top side of it.

43
00:01:32,220 --> 00:01:34,800
We call this the inner, or on the left side,

44
00:01:34,800 --> 00:01:37,230
or the outer, which is the top side.

45
00:01:37,230 --> 00:01:38,280
Notice that the inner,

46
00:01:38,280 --> 00:01:43,230
we are using the network of 172.16.0.1/24

47
00:01:43,230 --> 00:01:45,210
which is the IP address for that router.

48
00:01:45,210 --> 00:01:48,630
And anything in the 172.16.0. something

49
00:01:48,630 --> 00:01:51,870
will be listened to and collected by this router

50
00:01:51,870 --> 00:01:53,790
and then brought into this sub network

51
00:01:53,790 --> 00:01:54,900
through the support switch,

52
00:01:54,900 --> 00:01:56,730
and then it will find the IP address associated

53
00:01:56,730 --> 00:01:59,490
with one of the machines inside of that network.

54
00:01:59,490 --> 00:02:02,070
From this router, we're going to go up to the backbone router

55
00:02:02,070 --> 00:02:03,450
and this backbone router will connect

56
00:02:03,450 --> 00:02:05,520
to all the other subnets in our network.

57
00:02:05,520 --> 00:02:07,560
You'll notice I have a total of four routers here,

58
00:02:07,560 --> 00:02:09,060
but everything connects back

59
00:02:09,060 --> 00:02:11,970
from one of the other three routers to this backbone router.

60
00:02:11,970 --> 00:02:15,180
So if I want to send stuff from the support PC number one

61
00:02:15,180 --> 00:02:17,250
over to HR PC number two,

62
00:02:17,250 --> 00:02:19,500
I'm going to go from support PC number one

63
00:02:19,500 --> 00:02:20,970
down to the support switch,

64
00:02:20,970 --> 00:02:22,650
through the Dion training support router,

65
00:02:22,650 --> 00:02:23,910
up to the backbone router,

66
00:02:23,910 --> 00:02:27,150
over to the Dion training HR or human resource router,

67
00:02:27,150 --> 00:02:28,620
over to the human resource switch,

68
00:02:28,620 --> 00:02:31,470
and then up to human resource PC number two,

69
00:02:31,470 --> 00:02:35,820
which has the IP address of 192.168.0.12.

70
00:02:35,820 --> 00:02:38,220
You'll notice here I have a laptop and a desktop.

71
00:02:38,220 --> 00:02:42,210
The HR one is a laptop with 192.168.0.11,

72
00:02:42,210 --> 00:02:46,560
and HR two is the PC with 192.168.0.12.

73
00:02:46,560 --> 00:02:48,900
Both of those are connected to the human resource switch

74
00:02:48,900 --> 00:02:50,790
and can communicate freely amongst themself

75
00:02:50,790 --> 00:02:53,220
without going through the router, until they want to go

76
00:02:53,220 --> 00:02:54,960
to one of the other parts of the network,

77
00:02:54,960 --> 00:02:56,433
such as support or IT.

78
00:02:57,300 --> 00:02:59,670
You'll notice the Dion Training Human Resource router

79
00:02:59,670 --> 00:03:02,070
also has two IP addresses.

80
00:03:02,070 --> 00:03:03,690
The inner one is on the right side,

81
00:03:03,690 --> 00:03:07,980
and that's 192.168.0.0/24,

82
00:03:07,980 --> 00:03:09,420
which will be listening to everything

83
00:03:09,420 --> 00:03:11,460
inside of the human resource Network.

84
00:03:11,460 --> 00:03:13,290
And then we have the outer reference one,

85
00:03:13,290 --> 00:03:15,270
which would be a public IP in most cases,

86
00:03:15,270 --> 00:03:16,980
but because this is an internal network,

87
00:03:16,980 --> 00:03:18,810
we're just going to be using private IPs,

88
00:03:18,810 --> 00:03:22,830
so I've chosen to use 10.0.0.1/30

89
00:03:22,830 --> 00:03:25,500
as the outer or public side of that router.

90
00:03:25,500 --> 00:03:28,920
Now notice I'm using a slash 30 here, why is that?

91
00:03:28,920 --> 00:03:30,720
Well, when we talk about sub-netting,

92
00:03:30,720 --> 00:03:32,490
we want to use the smallest subnet that we need

93
00:03:32,490 --> 00:03:34,080
for a given network size,

94
00:03:34,080 --> 00:03:35,910
and because we're creating a point to point connection

95
00:03:35,910 --> 00:03:36,960
between two routers,

96
00:03:36,960 --> 00:03:39,630
specifically the human resources and the backbone router,

97
00:03:39,630 --> 00:03:41,820
I only need two usable IPs.

98
00:03:41,820 --> 00:03:45,030
And by using a slash 30 subnet, I get four IPs,

99
00:03:45,030 --> 00:03:47,250
one for the network, two for the devices,

100
00:03:47,250 --> 00:03:48,600
and one for the broadcast.

101
00:03:48,600 --> 00:03:51,960
So this particular network between the human resource router

102
00:03:51,960 --> 00:03:56,490
and the backbone router is the 10.0.0.0/30 network,

103
00:03:56,490 --> 00:03:57,990
and I have two devices on that,

104
00:03:57,990 --> 00:04:00,180
the human resource router, which is .1,

105
00:04:00,180 --> 00:04:01,860
and the backbone router's interface,

106
00:04:01,860 --> 00:04:04,380
connecting to the human resource router, which is .2,

107
00:04:04,380 --> 00:04:06,690
and the broadcast would be .3.

108
00:04:06,690 --> 00:04:08,550
You'll notice that I connect to the next one

109
00:04:08,550 --> 00:04:09,660
between the backbone router

110
00:04:09,660 --> 00:04:11,400
and Dion training support router,

111
00:04:11,400 --> 00:04:15,600
and this is using the 10.0.0.4/30 network,

112
00:04:15,600 --> 00:04:19,140
which begins with the first IP of 10.0.0.5,

113
00:04:19,140 --> 00:04:22,800
and then connects down to the support router with 10.0.0.6.

114
00:04:22,800 --> 00:04:26,190
We've done the same thing here going on the .8 network

115
00:04:26,190 --> 00:04:29,820
by using 10.0.0.9/30 between the backbone router

116
00:04:29,820 --> 00:04:34,260
and 10.0.0.10/30 on the Dion training IT router.

117
00:04:34,260 --> 00:04:37,050
The Dion training IT side of the network, on the inner side,

118
00:04:37,050 --> 00:04:40,680
is going to be 192.168.1.0/24,

119
00:04:40,680 --> 00:04:44,400
which tells you that's all the IPs or 254 possible hosts

120
00:04:44,400 --> 00:04:46,380
that can be connected through this IT switch,

121
00:04:46,380 --> 00:04:47,850
and in this case, we have just two,

122
00:04:47,850 --> 00:04:51,480
a web server located at 192.168.1.12

123
00:04:51,480 --> 00:04:55,387
and PC IT one, which is at 192.168.1.11.

124
00:04:57,240 --> 00:04:59,280
Now that you understand what the network looks like,

125
00:04:59,280 --> 00:05:02,100
let's talk about how these routers are configured.

126
00:05:02,100 --> 00:05:03,720
Now, when we look at these routers,

127
00:05:03,720 --> 00:05:06,630
each router has to have a routing table.

128
00:05:06,630 --> 00:05:08,850
And in this case, I've used a static routing table

129
00:05:08,850 --> 00:05:11,280
because I only have four different routers,

130
00:05:11,280 --> 00:05:12,450
and this will make it easier for you to see

131
00:05:12,450 --> 00:05:14,340
what these routing tables look like.

132
00:05:14,340 --> 00:05:15,750
Now in order to see the routing table

133
00:05:15,750 --> 00:05:16,710
on these different routers,

134
00:05:16,710 --> 00:05:18,300
we just simply need to click into them

135
00:05:18,300 --> 00:05:20,010
inside of Packet Tracer.

136
00:05:20,010 --> 00:05:20,843
So I'm just going to go ahead

137
00:05:20,843 --> 00:05:22,320
and click on the support one first,

138
00:05:22,320 --> 00:05:24,270
and from here, we're going to click on static routing

139
00:05:24,270 --> 00:05:26,280
because this is how I've configured mine.

140
00:05:26,280 --> 00:05:27,270
I'm going to move this over to the right

141
00:05:27,270 --> 00:05:28,680
so we can see it a little bit easier,

142
00:05:28,680 --> 00:05:29,940
and you'll see that there are two different

143
00:05:29,940 --> 00:05:31,650
network addresses that are being addressed here,

144
00:05:31,650 --> 00:05:33,090
in my static routing.

145
00:05:33,090 --> 00:05:37,913
Notice I have 192.168.0.0/24,

146
00:05:37,913 --> 00:05:41,550
and this is going to be via the 10.0.0.5 connection.

147
00:05:41,550 --> 00:05:45,300
Now if you look at the 192.168.0.0 connection,

148
00:05:45,300 --> 00:05:47,220
that is the human resource network

149
00:05:47,220 --> 00:05:51,540
and we want to be able to talk to it by going to 10.0.0.5.

150
00:05:51,540 --> 00:05:54,450
If you notice, where is 10.0.0.5?

151
00:05:54,450 --> 00:05:56,250
Well, it is the backbone router

152
00:05:56,250 --> 00:05:58,560
connected to the Dion training support router.

153
00:05:58,560 --> 00:06:01,350
So anytime Dion training support gets something

154
00:06:01,350 --> 00:06:03,600
from one of those support PCs that's destined

155
00:06:03,600 --> 00:06:07,560
to something in the 192.168.0.0 subnet,

156
00:06:07,560 --> 00:06:09,120
which is the human resource subnet,

157
00:06:09,120 --> 00:06:11,610
it's going to send it out through its gateway

158
00:06:11,610 --> 00:06:12,660
to the backbone router,

159
00:06:12,660 --> 00:06:15,300
and the backbone router will then route it off to that way.

160
00:06:15,300 --> 00:06:16,770
We don't know exactly where it is,

161
00:06:16,770 --> 00:06:18,300
we just know that our first hop

162
00:06:18,300 --> 00:06:20,370
is going to be the backbone router, and then from there,

163
00:06:20,370 --> 00:06:22,560
the backbone router will tell us where to go.

164
00:06:22,560 --> 00:06:24,660
Alternatively, if we're trying to send something down

165
00:06:24,660 --> 00:06:26,400
to the IT training network,

166
00:06:26,400 --> 00:06:30,660
we can see that is located at 192.168.1.0, and again,

167
00:06:30,660 --> 00:06:32,850
we're going to send it out directly to that backbone router

168
00:06:32,850 --> 00:06:34,770
because that is the first hop outside

169
00:06:34,770 --> 00:06:36,780
of our Dion training support router.

170
00:06:36,780 --> 00:06:38,760
If we look at the Dion training IT router,

171
00:06:38,760 --> 00:06:40,860
it's going to look extremely similar to that.

172
00:06:40,860 --> 00:06:43,200
We're going to our configuration and our static,

173
00:06:43,200 --> 00:06:44,430
and once we see our static routes,

174
00:06:44,430 --> 00:06:45,660
you will see the same thing.

175
00:06:45,660 --> 00:06:48,570
Instead of having the Dion training IT network listed here,

176
00:06:48,570 --> 00:06:51,330
we have human resources again, just like we did before,

177
00:06:51,330 --> 00:06:53,250
and now we're going to have the support network listed here

178
00:06:53,250 --> 00:06:56,940
with 172.16.0.0/24.

179
00:06:56,940 --> 00:06:59,760
Both of these are going to go out through 10.0.0.9,

180
00:06:59,760 --> 00:07:02,100
which is the connection for the backbone router

181
00:07:02,100 --> 00:07:04,500
that's connected to the Dion training IT router

182
00:07:04,500 --> 00:07:05,910
at the bottom right.

183
00:07:05,910 --> 00:07:07,470
If we go up here to human resources,

184
00:07:07,470 --> 00:07:09,660
we will see the same thing, but this time,

185
00:07:09,660 --> 00:07:11,730
we are going to see that it's going to have the IT

186
00:07:11,730 --> 00:07:13,920
and the support networks being shown here

187
00:07:13,920 --> 00:07:15,510
instead of the human resource one.

188
00:07:15,510 --> 00:07:20,510
So we have the IT network at 192.168.1.0/24, via 10.0.0.2

189
00:07:22,230 --> 00:07:23,400
and then we have the support network,

190
00:07:23,400 --> 00:07:28,400
starting with 172.16.0.0/24. and again, going to 10.0.0.2,

191
00:07:29,220 --> 00:07:31,590
which as you can see, is the external interface

192
00:07:31,590 --> 00:07:33,660
connected to the Dion training HR router

193
00:07:33,660 --> 00:07:35,580
for the backbone router.

194
00:07:35,580 --> 00:07:36,900
Now as you saw,

195
00:07:36,900 --> 00:07:39,270
all three of those networks only had two things in it,

196
00:07:39,270 --> 00:07:41,280
but if we go to the backbone router,

197
00:07:41,280 --> 00:07:43,560
it needs to know how to connect to all three of them.

198
00:07:43,560 --> 00:07:45,450
So if we look into our static routes here,

199
00:07:45,450 --> 00:07:47,460
you will see that I've created three different routes,

200
00:07:47,460 --> 00:07:50,040
one for each network, and they're going to be going out

201
00:07:50,040 --> 00:07:53,160
different ethernet ports on that particular router.

202
00:07:53,160 --> 00:07:56,100
So if I'm trying to go up to the human resource network,

203
00:07:56,100 --> 00:07:59,760
which is 192.168.0.0/24,

204
00:07:59,760 --> 00:08:01,740
that's the third route in my static list,

205
00:08:01,740 --> 00:08:06,120
and it's going to go out port 10.0.0.1, which as you can see,

206
00:08:06,120 --> 00:08:09,990
is the external interface for the Dion training HR router,

207
00:08:09,990 --> 00:08:12,030
located there in the center of my screen.

208
00:08:12,030 --> 00:08:14,430
If I want to look at Dion training IT router,

209
00:08:14,430 --> 00:08:17,910
you will see that it's external interface is 10.0.0.10,

210
00:08:17,910 --> 00:08:19,590
and if I look here in my static routes,

211
00:08:19,590 --> 00:08:21,390
you will see that as the first one listed

212
00:08:21,390 --> 00:08:25,500
because it's covering the 192.168.1.0/24 network,

213
00:08:25,500 --> 00:08:27,360
going out that particular port.

214
00:08:27,360 --> 00:08:29,610
And if we want to go to the Dion training support network,

215
00:08:29,610 --> 00:08:33,809
we're going to be using 172.16.0.0/24 as the network

216
00:08:33,809 --> 00:08:37,710
and we'll go out the port that is assigned to 10.0.0.6,

217
00:08:37,710 --> 00:08:39,900
which is the external facing port

218
00:08:39,900 --> 00:08:41,909
that is connected from the backbone router

219
00:08:41,909 --> 00:08:43,980
down to the Dion training support.

220
00:08:43,980 --> 00:08:46,350
Remember, anytime you're creating a static route,

221
00:08:46,350 --> 00:08:49,860
you want to be listing the destination of the next hop,

222
00:08:49,860 --> 00:08:51,330
which going from the backbone router,

223
00:08:51,330 --> 00:08:53,130
will be those three edge routers.

224
00:08:53,130 --> 00:08:54,480
If we're going from any of those subnets,

225
00:08:54,480 --> 00:08:57,780
it will be the external interface on those backbone routers

226
00:08:57,780 --> 00:08:59,610
instead of the edge routers.

227
00:08:59,610 --> 00:09:01,440
All right, now that we understand a little bit

228
00:09:01,440 --> 00:09:02,970
about what we're looking at here,

229
00:09:02,970 --> 00:09:05,370
let's look at a packet as it's going to go

230
00:09:05,370 --> 00:09:08,250
from support one over to the web server.

231
00:09:08,250 --> 00:09:09,083
So what we're going to do here

232
00:09:09,083 --> 00:09:11,070
is I'm going to close out of this little window

233
00:09:11,070 --> 00:09:13,050
and I'm going to click on support one.

234
00:09:13,050 --> 00:09:14,610
From here, inside this program,

235
00:09:14,610 --> 00:09:16,920
we do have the ability to open up all sorts of things,

236
00:09:16,920 --> 00:09:19,590
including web browsers and IP communicators

237
00:09:19,590 --> 00:09:22,080
and firewalls and other things, but for our purposes,

238
00:09:22,080 --> 00:09:24,480
we just want to use the command prompt right here.

239
00:09:24,480 --> 00:09:26,310
Now, I know this is going to be a very small screen,

240
00:09:26,310 --> 00:09:27,840
but essentially this is just the command prompt,

241
00:09:27,840 --> 00:09:30,360
like you'd have on a Windows, Mac, or Linux machine,

242
00:09:30,360 --> 00:09:32,970
and in this case, it is simulating a Windows machine.

243
00:09:32,970 --> 00:09:34,500
So I'm just going to type in ping

244
00:09:34,500 --> 00:09:37,170
and then the address of the web server that I want to go to.

245
00:09:37,170 --> 00:09:39,720
Remember this is coming from the support one PC

246
00:09:39,720 --> 00:09:41,640
all the way on the left side of my screen,

247
00:09:41,640 --> 00:09:43,020
and I want to go over to the web server,

248
00:09:43,020 --> 00:09:46,440
which is 192.168.1.12.

249
00:09:46,440 --> 00:09:48,720
Now when I hit enter, nothing is going to happen yet

250
00:09:48,720 --> 00:09:50,280
because I'm in simulator mode.

251
00:09:50,280 --> 00:09:51,360
And then this is going to allow me

252
00:09:51,360 --> 00:09:53,730
to go through the play controls on the bottom right corner

253
00:09:53,730 --> 00:09:55,590
and take it one step at a time,

254
00:09:55,590 --> 00:09:58,620
as you watch that ping packet, notated by that black square,

255
00:09:58,620 --> 00:10:00,060
move through the network.

256
00:10:00,060 --> 00:10:01,980
Now where would we expect this to go?

257
00:10:01,980 --> 00:10:04,440
If we want to go from support over here,

258
00:10:04,440 --> 00:10:05,490
over to the web server,

259
00:10:05,490 --> 00:10:07,620
I'm going to expect it to go first to the switch

260
00:10:07,620 --> 00:10:09,870
and that's going to push it directly to my support router

261
00:10:09,870 --> 00:10:12,600
because we are doing something using an IP address,

262
00:10:12,600 --> 00:10:15,030
which means it's outside of our local network.

263
00:10:15,030 --> 00:10:17,637
Once I issue the ping, it's going to go to the support router

264
00:10:17,637 --> 00:10:19,560
and the support router's going to look at that IP address

265
00:10:19,560 --> 00:10:23,580
and say, "Is 192.168.1.12 in my network?"

266
00:10:23,580 --> 00:10:25,740
And the answer is no 'cause the only thing in its network

267
00:10:25,740 --> 00:10:28,710
is things that start with 172.16.0.1.

268
00:10:28,710 --> 00:10:30,030
So what is it going to do?

269
00:10:30,030 --> 00:10:32,340
It's going to check its static routing table,

270
00:10:32,340 --> 00:10:34,440
and it knows how to get to the IT network.

271
00:10:34,440 --> 00:10:38,340
It says it's going to go to 10.0.0.5/30,

272
00:10:38,340 --> 00:10:39,900
which is this backbone router.

273
00:10:39,900 --> 00:10:41,557
From the backbone router, it's going to look at and say,

274
00:10:41,557 --> 00:10:44,700
"Well, my routes are all 10.0.0. something,

275
00:10:44,700 --> 00:10:46,380
but this isn't one of those.

276
00:10:46,380 --> 00:10:49,410
This is a 192.168.1. something.

277
00:10:49,410 --> 00:10:50,460
Where is that?

278
00:10:50,460 --> 00:10:53,040
That's over in the IT network. I know how to get there.

279
00:10:53,040 --> 00:10:55,980
I'm going to send it to this router at 10.0.0.10."

280
00:10:55,980 --> 00:10:57,987
And then from there, it's going to go to the IT switch,

281
00:10:57,987 --> 00:11:00,270
and from the IT switch, it's going to be using ARP

282
00:11:00,270 --> 00:11:02,430
to get it over to the final address that we need to,

283
00:11:02,430 --> 00:11:05,490
which is 192.168.1.12, in which case,

284
00:11:05,490 --> 00:11:07,260
the reply will come back that way

285
00:11:07,260 --> 00:11:08,670
through the same network we went,

286
00:11:08,670 --> 00:11:10,140
all the way back to support one.

287
00:11:10,140 --> 00:11:12,570
So let's go ahead and see what that looks like now.

288
00:11:12,570 --> 00:11:14,220
All right, we're going to go ahead and start the simulation

289
00:11:14,220 --> 00:11:15,300
by stepping through this.

290
00:11:15,300 --> 00:11:17,400
First it's going to go to the support switch.

291
00:11:17,400 --> 00:11:19,530
From there, it's going to go to the support router.

292
00:11:19,530 --> 00:11:21,480
From there, it's going to check the routing table

293
00:11:21,480 --> 00:11:22,313
and it's going to see that needs

294
00:11:22,313 --> 00:11:23,670
to go up to the backbone router.

295
00:11:23,670 --> 00:11:24,870
The backbone router receives it,

296
00:11:24,870 --> 00:11:26,580
realizes it's not part of its network

297
00:11:26,580 --> 00:11:28,410
and forwards it out to the gateway that it knows,

298
00:11:28,410 --> 00:11:30,300
which is 10.0.0.10,

299
00:11:30,300 --> 00:11:32,310
which goes to the Dion training IT router.

300
00:11:32,310 --> 00:11:34,380
From here, it's going to go to the switch,

301
00:11:34,380 --> 00:11:37,050
and from here, it's going to go to the web server.

302
00:11:37,050 --> 00:11:38,340
Once it's at the web server,

303
00:11:38,340 --> 00:11:40,650
you'll notice that the ping happened to both places.

304
00:11:40,650 --> 00:11:42,480
And the reason it did that is because it didn't know

305
00:11:42,480 --> 00:11:44,040
which these was that IP address

306
00:11:44,040 --> 00:11:45,330
because this was our first time

307
00:11:45,330 --> 00:11:46,800
sending something to these servers

308
00:11:46,800 --> 00:11:48,720
and the switch was still learning its routes.

309
00:11:48,720 --> 00:11:50,670
So in this case, the switch now knows

310
00:11:50,670 --> 00:11:54,030
that the machine at 192.168.1.12 is the web server,

311
00:11:54,030 --> 00:11:55,500
and next time we send a packet,

312
00:11:55,500 --> 00:11:57,660
we will only get it sent to that web server.

313
00:11:57,660 --> 00:11:59,670
And in this case, IT one is just going to ignore it

314
00:11:59,670 --> 00:12:01,620
because it's not really destined for it.

315
00:12:01,620 --> 00:12:03,360
Then the web server's going to send its reply

316
00:12:03,360 --> 00:12:05,040
and it's going to go back to the switch.

317
00:12:05,040 --> 00:12:07,770
From the switch back to Dion training IT router.

318
00:12:07,770 --> 00:12:10,080
From there, the router goes, "This ain't part of my network.

319
00:12:10,080 --> 00:12:13,620
It needs to go back to 172.16.11.

320
00:12:13,620 --> 00:12:14,880
I only know the way to get there

321
00:12:14,880 --> 00:12:15,960
is through the backbone router."

322
00:12:15,960 --> 00:12:17,730
So it sends it up to the backbone router.

323
00:12:17,730 --> 00:12:19,170
The backbone router knows where it goes.

324
00:12:19,170 --> 00:12:22,110
It goes down to 10.0.0.6, and from there,

325
00:12:22,110 --> 00:12:23,700
it's going to go to the support switch,

326
00:12:23,700 --> 00:12:27,060
and then from here, it's going to go back to the support PC.

327
00:12:27,060 --> 00:12:28,230
And there we go.

328
00:12:28,230 --> 00:12:29,790
You now have a completed ping,

329
00:12:29,790 --> 00:12:32,070
going from support one all the way to the web server

330
00:12:32,070 --> 00:12:33,960
and all the way back, and all it did

331
00:12:33,960 --> 00:12:35,160
was go through these routing tables

332
00:12:35,160 --> 00:12:37,500
to make sure it knew which network it needed to go to

333
00:12:37,500 --> 00:12:39,600
based on the IP address it was destined from,

334
00:12:39,600 --> 00:12:41,500
and the IP address it was coming from.

