WEBVTT

0:00:01.920000 --> 0:00:06.100000
 So in the previous video, I talked about
 the theory of what is meant by

0:00:06.100000 --> 0:00:07.200000
 router on a stick.

0:00:07.200000 --> 0:00:12.220000
 And once again, what I meant by that is
 simply a router that has one physical

0:00:12.220000 --> 0:00:15.680000
 cable, one physical link
 connecting to a switch.

0:00:15.680000 --> 0:00:19.320000
 That switched port is configured as
 trunking, which means the router's

0:00:19.320000 --> 0:00:24.100000
 interface is supporting multiple subnets,
 multiple VLANs on the switch

0:00:24.100000 --> 0:00:28.020000
 side, multiple subnets on
 the router's interface.

0:00:28.020000 --> 0:00:32.760000
 And the subnets were broken out by using
 the use of subinterfaces on your

0:00:32.760000 --> 0:00:35.520000
 fast, ethernet physical interface.


0:00:35.520000 --> 0:00:37.480000
 So we talked about the theory
 of how that works.

0:00:37.480000 --> 0:00:39.920000
 Now let's look at how we actually configured
 that and how we would monitor

0:00:39.920000 --> 0:00:41.240000
 and troubleshoot that.

0:00:41.240000 --> 0:00:44.400000
 So those are the goals for
 this particular video.

0:00:44.400000 --> 0:00:46.320000
 I'm going to talk about how
 to configure the router.

0:00:46.320000 --> 0:00:49.780000
 I'm going to show you how to do that
 and how to monitor routing between

0:00:49.780000 --> 0:00:56.520000
 the VLANs. All right, so for this,
 I have a topology already pre-built

0:00:56.520000 --> 0:00:58.120000
 in packet tracer.

0:00:58.120000 --> 0:01:00.860000
 And I chose packet tracer because it's
 something that you as the learner

0:01:00.860000 --> 0:01:02.740000
 can very easily replicate.

0:01:02.740000 --> 0:01:05.420000
 You can download packet
 tracer for free.

0:01:05.420000 --> 0:01:08.060000
 If you haven't already done that, just
 go to Google and type in Cisco

0:01:08.060000 --> 0:01:10.460000
 packet tracer download.

0:01:10.460000 --> 0:01:14.300000
 And once you sign up for Cisco's Networking
 Academy, which does not mean

0:01:14.300000 --> 0:01:17.620000
 you have to take their classes or go to
 a brick and mortar school or anything

0:01:17.620000 --> 0:01:21.480000
 like that, all you're basically doing
 is just registering on their website.

0:01:21.480000 --> 0:01:25.200000
 Then you can download this free
 tool called packet tracer.

0:01:25.200000 --> 0:01:28.980000
 And you can create a topology
 like this very, very easily.

0:01:28.980000 --> 0:01:33.180000
 So what I've already done, as you can
 see here, is I have created two

0:01:33.180000 --> 0:01:36.220000
 VLANs. I've got VLAN2 and VLAN1.

0:01:36.220000 --> 0:01:40.580000
 I have my switch here who has
 some interfaces in VLAN2.

0:01:40.580000 --> 0:01:43.060000
 He has some interfaces in VLAN1.

0:01:43.060000 --> 0:01:46.140000
 I have some hosts
 within each VLAN.

0:01:46.140000 --> 0:01:52.520000
 And if I hover over those hosts, you
 can see what their IP addresses are.

0:01:52.520000 --> 0:01:54.320000
 I've made it very, very simple.

0:01:54.320000 --> 0:02:04.740000
 So for example, this host right here,
 if I go to his config, he is, well,

0:02:04.740000 --> 0:02:07.600000
 let's see here. Last time I checked when
 I hovered over it at work, let's

0:02:07.600000 --> 0:02:08.640000
 see here, let's try it again.

0:02:08.640000 --> 0:02:09.720000
 There we go. All right.

0:02:09.720000 --> 0:02:12.720000
 So you can see that host is 1111.

0:02:12.720000 --> 0:02:17.420000
 His default gateway is pre
-configured as 1112.54.

0:02:17.420000 --> 0:02:21.380000
 This other host over here in
 the same VLAN, he is 1112.

0:02:21.380000 --> 0:02:23.880000
 Don't have a gateway set on him, but
 I'm not really going to be using

0:02:23.880000 --> 0:02:25.740000
 that for a demonstration.

0:02:25.740000 --> 0:02:32.060000
 Over here in VLAN2, if I look at
 PC2, his IP address is 2221.

0:02:32.060000 --> 0:02:36.280000
 And his default gateway
 is 2222.54.

0:02:36.280000 --> 0:02:40.280000
 Now, where are these IP addresses of
 the default gateway, the 1112.54

0:02:40.280000 --> 0:02:42.720000
 and the 2222.54?

0:02:42.720000 --> 0:02:45.480000
 That is pre-configured
 on my router.

0:02:45.480000 --> 0:02:52.520000
 So if I click on my router, and if we
 go to config, actually the command

0:02:52.520000 --> 0:02:56.840000
 line interface, and we take a look
 at the command line interface right

0:02:56.840000 --> 0:03:02.460000
 here, make this a little bit larger
 so you can see it there.

0:03:02.460000 --> 0:03:09.860000
 When I issue a show running-config command,
 here you can see I have already

0:03:09.860000 --> 0:03:11.980000
 created my router on a stick.

0:03:11.980000 --> 0:03:15.500000
 Now, I did a little bit differently
 because in my particular case, my

0:03:15.500000 --> 0:03:22.420000
 two VLANs, as you can see right
 here, are VLAN1 and VLAN2.

0:03:22.420000 --> 0:03:26.600000
 Now, because VLAN1 is the native VLAN,
 when this interface right here

0:03:26.600000 --> 0:03:31.180000
 on the switch is configured as a trunk,
 I know that anything that this

0:03:31.180000 --> 0:03:36.880000
 guy sends going to his default gateway
 is not going to be tagged.

0:03:36.880000 --> 0:03:40.320000
 That is the native VLAN, it will
 go in its pure native format.

0:03:40.320000 --> 0:03:45.060000
 Now, anything that this PC sends going
 to his default gateway, well, that

0:03:45.060000 --> 0:03:49.680000
 will be tagged with the .1Q tag of two,
 because VLAN2 is not the native

0:03:49.680000 --> 0:03:55.180000
 VLAN. So knowing that, I actually don't
 have to create a sub-interface

0:03:55.180000 --> 0:03:58.460000
 to handle the VLAN1 traffic.

0:03:58.460000 --> 0:04:00.780000
 So let me take a look at
 my router once again.

0:04:00.780000 --> 0:04:04.960000
 You can see that my VLAN1 traffic is
 actually going to be handled by my

0:04:04.960000 --> 0:04:07.160000
 main physical interface.

0:04:07.160000 --> 0:04:10.980000
 You can see right here that under FastEthernet00,
 I have actually put

0:04:10.980000 --> 0:04:15.600000
 an IP address. So any Ethernet frames
 that hit that physical interface

0:04:15.600000 --> 0:04:21.680000
 that do not have a tag will be inspected
 and handled by that physical

0:04:21.680000 --> 0:04:28.040000
 interface. Now, if a frame comes in that
 has a .1Q tag of two, well, then

0:04:28.040000 --> 0:04:32.260000
 in that case, that will be redirected
 internally to this sub-interface

0:04:32.260000 --> 0:04:35.220000
 right here. And that sub
-interface will handle it.

0:04:35.220000 --> 0:04:37.680000
 So you can see I still have
 a router on a stick.

0:04:37.680000 --> 0:04:42.580000
 I still have a router with one physical
 interface, FastEthernet00, that

0:04:42.580000 --> 0:04:46.500000
 one physical interface has
 multiple subnets on it.

0:04:46.500000 --> 0:04:50.320000
 I shouldn't say the physical interface
 does, but the physical interface

0:04:50.320000 --> 0:04:55.600000
 has one subnet, and then I've divided it
 out into this case, a sub-interface.

0:04:55.600000 --> 0:05:02.300000
 And the sub-interface gave me the ability
 to add a second subnet or IP

0:05:02.300000 --> 0:05:05.180000
 network to the same
 physical cable.

0:05:05.180000 --> 0:05:08.800000
 Now, of course, if I had 30 or 40 VLANs,
 I would have created more of

0:05:08.800000 --> 0:05:11.180000
 these. I would have created
 more sub-interfaces.

0:05:11.180000 --> 0:05:14.500000
 And each sub-interface would have
 a different number after the dot.

0:05:14.500000 --> 0:05:18.820000
 Each sub-interface would have this
 encapsulation .1Q command, and the

0:05:18.820000 --> 0:05:23.940000
 number after the .1Q would be representative
 of the VLAN that that sub

0:05:23.940000 --> 0:05:25.800000
-interface was handling.

0:05:25.800000 --> 0:05:30.440000
 And then each unique sub-interface
 would have their own IP address in

0:05:30.440000 --> 0:05:34.340000
 an IP subnet that was appropriate for
 the VLAN that sub-interface was

0:05:34.340000 --> 0:05:39.860000
 dealing with. Okay, so notice
 something else as well.

0:05:39.860000 --> 0:05:46.380000
 So now in this particular case, we know
 that this PC here, that his default

0:05:46.380000 --> 0:05:55.480000
 gateway is 111.254, which is on the
 physical interface of this router,

0:05:55.480000 --> 0:06:05.320000
 .254. We also know that this guy right
 here, his default gateway, is 222

0:06:05.320000 --> 0:06:13.120000
.254, which is located right
 here on a sub-interface.

0:06:13.120000 --> 0:06:28.640000
 222.254. Now, even though this router,
 for all intents and purposes, even

0:06:28.640000 --> 0:06:33.500000
 though it looks like one interface,
 he is thinking that he has two, the

0:06:33.500000 --> 0:06:39.040000
 physical and the sub-interface, both
 of those need to have a MAC address.

0:06:39.040000 --> 0:06:43.640000
 Because both of these guys need to discover
 the MAC address of their default

0:06:43.640000 --> 0:06:48.140000
 gateway, so they can send Ethernet
 frames to that router.

0:06:48.140000 --> 0:06:52.020000
 Now, as it so happens, when you take
 a physical interface on a router,

0:06:52.020000 --> 0:06:55.420000
 a fast-ethinet interface, we're not
 talking about WAN interfaces here,

0:06:55.420000 --> 0:06:58.560000
 we're talking about LAN interfaces, when
 you take your fast-ethinet interface

0:06:58.560000 --> 0:07:04.300000
 and you subdivide into sub-interfaces,
 the router will just copy its MAC

0:07:04.300000 --> 0:07:09.360000
 address from its physical interface
 and just replicate that across all

0:07:09.360000 --> 0:07:11.040000
 the different sub-interfaces.

0:07:11.040000 --> 0:07:12.880000
 And we can see that here.

0:07:12.880000 --> 0:07:15.400000
 Show interface, fast-ethinet 00.

0:07:15.400000 --> 0:07:20.180000
 All right, so notice, I don't expect
 you to memorize his MAC address,

0:07:20.180000 --> 0:07:25.080000
 but notice his MAC address ends
 with the digits of 3001.

0:07:25.080000 --> 0:07:27.500000
 Okay, so notice that, 3001.

0:07:27.500000 --> 0:07:31.540000
 Now, let's compare that against
 his sub-interface of .2.

0:07:31.540000 --> 0:07:38.700000
 Also, 3001, so you can see here that the
 MAC address of the physical interface

0:07:38.700000 --> 0:07:43.320000
 has just been replicated
 across the sub-interface.

0:07:43.320000 --> 0:07:50.560000
 Here's the physical interface MAC, here's
 the is not just a packet tracer

0:07:50.560000 --> 0:07:54.380000
 thing. If you were to do this in a
 real hardware router, you would see

0:07:54.380000 --> 0:07:57.880000
 the exact same thing, that your sub
-interfaces use the exact same MAC

0:07:57.880000 --> 0:08:01.260000
 address. Now, you might be wondering,
 well, wait a second, Keith, how

0:08:01.260000 --> 0:08:07.040000
 can a router's interface, how can a
 router have multiple interfaces, all

0:08:07.040000 --> 0:08:08.880000
 of which have the
 same MAC address?

0:08:08.880000 --> 0:08:11.960000
 Wouldn't that get things confused?


0:08:11.960000 --> 0:08:21.240000
 Not really, because if we take a look
 at this right here, remember, maybe

0:08:21.240000 --> 0:08:24.120000
 this is my main physical
 interface right here.

0:08:24.120000 --> 0:08:27.740000
 Let's have this box represent
 fast-ethinet 00.

0:08:27.740000 --> 0:08:32.560000
 Now, let's say his MAC address is, well,
 let's do our previous one, 301.

0:08:32.560000 --> 0:08:36.320000
 There's a lot more in front
 of that, but colon 301.

0:08:36.320000 --> 0:08:39.140000
 That's the last four hexadecimal
 characters.

0:08:39.140000 --> 0:08:45.440000
 Now, let's say that I go and I subdivide
 this into three sub-interfaces,

0:08:45.440000 --> 0:08:49.120000
 and that's what these three
 sub-boxes are for.

0:08:49.120000 --> 0:09:01.100000
 So we've got 00.2, we have 00.3, and
 00.4, and let's say they all get

0:09:01.100000 --> 0:09:06.760000
 replicated the exact
 same MAC address.

0:09:06.760000 --> 0:09:16.920000
 Well, if three frames come in, let's
 say here's frame number one, frame

0:09:16.920000 --> 0:09:22.980000
 number two, frame number three, and
 if all three of these have the same

0:09:22.980000 --> 0:09:28.340000
 destination MAC ending with 001, remember,
 that's just the last few characters

0:09:28.340000 --> 0:09:30.140000
 of the MAC address.

0:09:30.140000 --> 0:09:33.520000
 I'm not going to waste your time writing
 in an entire MAC address in all

0:09:33.520000 --> 0:09:39.000000
 48 bits. How is it going to know
 which sub-interface to use?

0:09:39.000000 --> 0:09:44.100000
 Well, remember, each one of these sub
-interfaces has got that .1q command.

0:09:44.100000 --> 0:09:49.380000
 It's got that .1q command in there,
 so let's write that in there.

0:09:49.380000 --> 0:09:55.120000
 So this one right here might
 have encapsulation .1q2.

0:09:55.120000 --> 0:10:07.800000
 This one here has encapsulation .1q3,
 and this one has encapsulation .1q4.

0:10:07.800000 --> 0:10:15.300000
 So when a frame comes in, if this frame
 here has a .1q tag in it for 2,

0:10:15.300000 --> 0:10:19.360000
 then even though it's hitting the physical
 interface of FastEthernet 00,

0:10:19.360000 --> 0:10:24.280000
 the router will be smart enough to know,
 oh, I need to reroute that internally

0:10:24.280000 --> 0:10:28.820000
 in my own mind to this particular
 sub-interface right here.

0:10:28.820000 --> 0:10:29.920000
 And same thing with
 the next frame.

0:10:29.920000 --> 0:10:34.500000
 The next frame that comes in with a
 .1q tag of three, so this is an 802

0:10:34.500000 --> 0:10:39.480000
.1q tag that I'm writing here
 inside your ethernet header.

0:10:39.480000 --> 0:10:43.280000
 The router will be smart enough to know
 that even though it was received

0:10:43.280000 --> 0:10:49.000000
 on FastEthernet 00, it needs to be rerouted
 internally to sub-interface

0:10:49.000000 --> 0:10:51.960000
 FastEthernet 00.3.

0:10:51.960000 --> 0:10:54.820000
 And of course, the same thing would
 be true with this third one right

0:10:54.820000 --> 0:10:56.760000
 here, if there was a tag on that.

0:10:56.760000 --> 0:11:01.000000
 So it's okay that all these sub-interfaces
 share the exact same MAC address

0:11:01.000000 --> 0:11:04.580000
 as the physical interface, because
 based on what the frame looks like

0:11:04.580000 --> 0:11:09.040000
 when it's initially received, there will
 be something in that frame, namely

0:11:09.040000 --> 0:11:14.280000
 a .1q tag, which helps the router to
 identify which sub-interface should

0:11:14.280000 --> 0:11:18.000000
 be using or should be
 receiving that frame.

0:11:18.000000 --> 0:11:21.220000
 Now let's go back to Packetracer
 right here.

0:11:21.220000 --> 0:11:27.400000
 Okay, so we know that this sub-interface
 ended with something, something,

0:11:27.400000 --> 0:11:31.140000
 something, something, .300001.

0:11:31.140000 --> 0:11:33.880000
 So we can put that in there.

0:11:33.880000 --> 0:11:38.780000
 All right, so that
 is the MAC address.

0:11:38.780000 --> 0:11:46.720000
 Let's get rid of that.

0:11:46.720000 --> 0:11:48.860000
 Oh, I did not want to undo that.

0:11:48.860000 --> 0:11:51.400000
 So let's bring that back.

0:11:51.400000 --> 0:11:53.460000
 I'll get rid of that one.

0:11:53.460000 --> 0:11:57.820000
 Sometimes in Packetracer, when you try
 to put in notes, it's kind of hard

0:11:57.820000 --> 0:12:00.240000
 to line up the note exactly
 where you want to be.

0:12:00.240000 --> 0:12:02.080000
 Okay, so MAC 30001.

0:12:02.080000 --> 0:12:03.920000
 All right, so we've got that.

0:12:03.920000 --> 0:12:08.220000
 Okay, so one other reason why I like
 using Packetracer, at least at the

0:12:08.220000 --> 0:12:13.360000
 CCNA level, is because it has a
 built-in Packet capture program.

0:12:13.360000 --> 0:12:16.800000
 You see, if we were using real routers
 and switches, we'd have to somehow

0:12:16.800000 --> 0:12:21.120000
 insert a hub, get some sort of laptop
 into our topology that has got wire

0:12:21.120000 --> 0:12:24.540000
 shark. We don't have to deal
 with all that with this.

0:12:24.540000 --> 0:12:26.460000
 All right, so here's
 what I'm going to do.

0:12:26.460000 --> 0:12:32.120000
 On PC zero, remember that guy is 1111,
 and you can see it right there.

0:12:32.120000 --> 0:12:34.160000
 I'm going to open up a prompt.

0:12:34.160000 --> 0:12:37.140000
 I'm going to make this
 as small as possible.

0:12:37.140000 --> 0:12:41.200000
 And I'm going to ping something
 in a different B-land.

0:12:41.200000 --> 0:12:47.220000
 So what I'm going to do is I'm going
 to ping from PC one to PC two.

0:12:47.220000 --> 0:12:50.560000
 And we're going to see that in order
 for that to work, in order for that

0:12:50.560000 --> 0:12:55.980000
 to work, this is minimize this for
 a second, PC one will first need to

0:12:55.980000 --> 0:13:01.420000
 ARP for his default gateway,
 which is 111254.

0:13:01.420000 --> 0:13:06.500000
 And he will learn this MAC address right
 here when he gets the ARP reply.

0:13:06.500000 --> 0:13:11.600000
 Then he will send his ping up
 this trunk to the router.

0:13:11.600000 --> 0:13:15.720000
 We will see it going to the destination
 MAC address of 301.

0:13:15.720000 --> 0:13:18.940000
 Once it gets to the router, the router
 will have to put that ping on hold

0:13:18.940000 --> 0:13:21.320000
 for a second while
 it turns around.

0:13:21.320000 --> 0:13:25.300000
 And the router ARPs for
 this host right here.

0:13:25.300000 --> 0:13:32.860000
 Once that ARP reply comes back, then
 the router can take this ping right

0:13:32.860000 --> 0:13:38.700000
 here and send it down here back
 down on the trunk to this guy.

0:13:38.700000 --> 0:13:43.420000
 So we'll see how the ICMB comes up, gets
 rerouted from one interface down

0:13:43.420000 --> 0:13:46.280000
 to a sub-interface,
 and then goes down.

0:13:46.280000 --> 0:13:47.700000
 So let's go ahead and
 watch that in action.

0:13:47.700000 --> 0:13:49.420000
 So now we're going to
 see how do we monitor?

0:13:49.420000 --> 0:13:54.940000
 How do we monitor interv
-land routing?

0:13:54.940000 --> 0:13:58.520000
 Well, basically you have to
 edit filters right here.

0:13:58.520000 --> 0:14:00.560000
 We're going to select
 ARP and ICMB.

0:14:00.560000 --> 0:14:04.260000
 Those are the only types of packets
 we want to see here in this.

0:14:04.260000 --> 0:14:08.700000
 Now let's go ahead and
 bring this back up.

0:14:08.700000 --> 0:14:11.320000
 Let's get our ping ready.

0:14:11.320000 --> 0:14:16.520000
 All right, and let's start
 it out, auto capture.

0:14:16.520000 --> 0:14:21.360000
 Okay, so right here.

0:14:21.360000 --> 0:14:23.740000
 So here's the ARP request.

0:14:23.740000 --> 0:14:27.380000
 You can see right here in the upper
 right ARP request, where the PC is

0:14:27.380000 --> 0:14:28.280000
 ARPing for his default.

0:14:28.280000 --> 0:14:31.740000
 Okay, we know that's because it's a broadcast
 that was flooded out everything

0:14:31.740000 --> 0:14:36.440000
 in VLAN one. Now the router is responding
 with an ARP reply that's a unicast

0:14:36.440000 --> 0:14:38.780000
 that's going directly
 back to PC zero.

0:14:38.780000 --> 0:14:43.460000
 Once PC zero receives that ARP reply,
 he can now take his ICMB packet,

0:14:43.460000 --> 0:14:45.020000
 which is in red here.

0:14:45.020000 --> 0:14:48.920000
 He now knows what destination MAC
 address to send it to, the router.

0:14:48.920000 --> 0:14:52.380000
 So now that package, you can see here
 that ICMB is going up the trunk

0:14:52.380000 --> 0:14:54.540000
 to the router. The router gets it.


0:14:54.540000 --> 0:14:58.160000
 Here's where he routes it from his physical
 interface to his sub interface.

0:14:58.160000 --> 0:15:01.700000
 Now the router says, okay, I need to
 ARP for the destination because I've

0:15:01.700000 --> 0:15:04.120000
 never talked to PC two before.

0:15:04.120000 --> 0:15:07.700000
 So now the ARP, the router sent
 an ARP request onto VLAN two.

0:15:07.700000 --> 0:15:08.820000
 It was a broadcast.

0:15:08.820000 --> 0:15:12.800000
 It got flooded. PC two sends
 an ARP reply back.

0:15:12.800000 --> 0:15:15.860000
 We can see here this is the
 ARP reply coming back.

0:15:15.860000 --> 0:15:17.840000
 Now the router gets
 that ARP reply.

0:15:17.840000 --> 0:15:20.400000
 He knows what destination MAC
 address to send that ping to.

0:15:20.400000 --> 0:15:24.180000
 So now we can see the color
 changes a little bit.

0:15:24.180000 --> 0:15:27.240000
 Now he's going to send
 the ICMB packet.

0:15:27.240000 --> 0:15:32.020000
 And now the ICMB continues.

0:15:32.020000 --> 0:15:34.440000
 Let's just watch the second
 one right here.

0:15:34.440000 --> 0:15:38.620000
 ICMB goes up. And now the router can actually
 route it onto the sub interface

0:15:38.620000 --> 0:15:43.860000
 for VLAN two. Send it back
 down that trunk to PC two.

0:15:43.860000 --> 0:15:47.500000
 PC two will get that ping.

0:15:47.500000 --> 0:15:51.580000
 Now PC two will respond with an ICMB
 echo response, sometimes called an

0:15:51.580000 --> 0:15:55.960000
 ICMB echo reply, which once again
 has to go to his default gateway.

0:15:55.960000 --> 0:15:59.460000
 So there goes up the
 trunk to router zero.

0:15:59.460000 --> 0:16:03.400000
 Router zero just received it on
 fast ethernet zero zero dot two.

0:16:03.400000 --> 0:16:06.740000
 He's now routing it back onto the physical
 interface, which is responsible

0:16:06.740000 --> 0:16:07.920000
 for VLAN one traffic.

0:16:07.920000 --> 0:16:11.520000
 And it goes back downstream
 to PC zero.

0:16:11.520000 --> 0:16:18.960000
 Let's go ahead and stop
 that for a moment.

0:16:18.960000 --> 0:16:23.100000
 So this is the first thing that we've
 created from himself 111 going to

0:16:23.100000 --> 0:16:29.160000
 two to two one. But he didn't know what
 the MAC address was of his default

0:16:29.160000 --> 0:16:34.260000
 gateway. So right here we can see
 PC zero creating an ARP request.

0:16:34.260000 --> 0:16:39.800000
 If we look in the outbound PDU
 details we can see right here.

0:16:39.800000 --> 0:16:45.180000
 So the type zero x eight oh six that
 is for ARP that is the ethernet type

0:16:45.180000 --> 0:16:50.040000
 code for ARP. And we can see here operational
 code one that is for an

0:16:50.040000 --> 0:16:53.960000
 ARP request. And here it
 says, Hey, I am 111.

0:16:53.960000 --> 0:16:56.420000
 I'm the PC. Here's my MAC address.


0:16:56.420000 --> 0:17:00.540000
 My target is the router 111 254.

0:17:00.540000 --> 0:17:04.500000
 And we can see right here that the
 target MAC address is empty because

0:17:04.500000 --> 0:17:06.960000
 that's what PC zero is
 trying to resolve.

0:17:06.960000 --> 0:17:10.700000
 So there's the ARP request
 that he created.

0:17:10.700000 --> 0:17:15.280000
 Now we can see that ARP request
 was last at PC zero.

0:17:15.280000 --> 0:17:17.760000
 Now it's at the multi
 layer switch.

0:17:17.760000 --> 0:17:21.580000
 And we can see destination
 MAC address all F's.

0:17:21.580000 --> 0:17:23.460000
 So that multi layer switch
 is going to flood it.

0:17:23.460000 --> 0:17:27.080000
 So we can see here with a multi layer
 switch floods it out to PC one who

0:17:27.080000 --> 0:17:28.780000
 doesn't really care about it.

0:17:28.780000 --> 0:17:30.540000
 And he floods it out
 to the router.

0:17:30.540000 --> 0:17:37.920000
 Now the router gets that and he's going
 to create an ARP reply outbound

0:17:37.920000 --> 0:17:43.820000
 PDU details. Notice zero x eight
 oh six that's for ARP.

0:17:43.820000 --> 0:17:48.480000
 But my op code is now
 two for an ARP reply.

0:17:48.480000 --> 0:17:53.060000
 And here the router is saying,
 Hey, my name is 1112 54.

0:17:53.060000 --> 0:17:55.060000
 You were looking for
 my MAC address.

0:17:55.060000 --> 0:18:01.260000
 There it is. And he is sending it to
 the target of the laptop of PC zero.

0:18:01.260000 --> 0:18:04.460000
 That is the ARP response.

0:18:04.460000 --> 0:18:07.420000
 Here are that ARP response
 guest to PC zero.

0:18:07.420000 --> 0:18:11.840000
 Now PC zero can take
 his ICMP packet.

0:18:11.840000 --> 0:18:17.860000
 If we look at the outbound PDU details,
 notice the destination address.

0:18:17.860000 --> 0:18:21.060000
 So here's the IP packet
 itself, the ICMP.

0:18:21.060000 --> 0:18:27.300000
 And we can see it's coming from
 PC one going to PC two.

0:18:27.300000 --> 0:18:28.720000
 So that's the ultimate
 destination.

0:18:28.720000 --> 0:18:30.200000
 But look up here at layer two.

0:18:30.200000 --> 0:18:36.060000
 In layer two, the destination MAC address
 is our router that we just ARPed

0:18:36.060000 --> 0:18:39.600000
 for ending with three
 zero zero one.

0:18:39.600000 --> 0:18:43.520000
 So now that ICMP packet can go out
 on the wire because it has the MAC

0:18:43.520000 --> 0:18:45.380000
 address of where it needs to go.

0:18:45.380000 --> 0:18:49.120000
 Goes from PC zero to the
 multi layer switch.

0:18:49.120000 --> 0:18:51.080000
 The multi layer switch
 switches it.

0:18:51.080000 --> 0:18:51.980000
 He does not flood it.

0:18:51.980000 --> 0:18:54.460000
 He forwards it directly
 to the router.

0:18:54.460000 --> 0:18:58.820000
 Here the router gets it.

0:18:58.820000 --> 0:19:02.740000
 Okay. So now at this point,
 the router has to ARP.

0:19:02.740000 --> 0:19:05.980000
 The router says, okay, I just got something
 going to two two two one.

0:19:05.980000 --> 0:19:09.380000
 However, I've never spoken
 to two two two one before.

0:19:09.380000 --> 0:19:13.320000
 I need to resolve the MAC address of
 PC two, which is two two two one.

0:19:13.320000 --> 0:19:19.240000
 So here we see. Once again, opcode
 zero zero zero one ARP request.

0:19:19.240000 --> 0:19:21.200000
 This time it's the router.

0:19:21.200000 --> 0:19:25.040000
 Hey, I'm your default gateway two two
 two two two fifty four two two two

0:19:25.040000 --> 0:19:27.260000
 one. Do you exist?

0:19:27.260000 --> 0:19:29.640000
 I need to know what
 your MAC address is.

0:19:29.640000 --> 0:19:35.880000
 So that ARP request gets received by
 the multi layer switch, who in turn

0:19:35.880000 --> 0:19:39.960000
 floods it to PC two and PC three.

0:19:39.960000 --> 0:19:43.240000
 PC two sends an ARP reply.

0:19:43.240000 --> 0:19:47.380000
 Now at that point in time, it's
 too late for our initial ICMP.

0:19:47.380000 --> 0:19:48.760000
 That first ping.

0:19:48.760000 --> 0:19:50.760000
 So remember what happened here?

0:19:50.760000 --> 0:19:55.440000
 What happened was after PC zero had
 ARPed, he sent his first ping up to

0:19:55.440000 --> 0:19:57.840000
 the router. Well, a ping
 doesn't last forever.

0:19:57.840000 --> 0:19:59.740000
 A ping has a lifetime.

0:19:59.740000 --> 0:20:04.000000
 So let's just make let's just say
 this right here is the ICMP ping.

0:20:04.000000 --> 0:20:09.620000
 Well, while the router was ARPing and
 getting an ARP reply back, this

0:20:09.620000 --> 0:20:11.460000
 thing timed out.

0:20:11.460000 --> 0:20:13.240000
 So that's why we see the first.

0:20:13.240000 --> 0:20:17.240000
 So that's why a lot of times when you do
 a ping, your first ping is unsuccessful

0:20:17.240000 --> 0:20:21.060000
 because all this ARP is happening
 in the background.

0:20:21.060000 --> 0:20:27.640000
 But now we see right here, the
 PC PC zero is now trying again.

0:20:27.640000 --> 0:20:30.220000
 He's creating his second
 ICMP packet.

0:20:30.220000 --> 0:20:33.080000
 This one will make it all the way through
 because now everybody knows

0:20:33.080000 --> 0:20:34.440000
 what they need to know.

0:20:34.440000 --> 0:20:43.900000
 We can see here PC zero, he's sending
 it to his default switch.

0:20:43.900000 --> 0:20:47.460000
 The switch switches it
 out to the router.

0:20:47.460000 --> 0:20:49.900000
 The router gets it.

0:20:49.900000 --> 0:20:52.640000
 Now here it is from the router going
 to the multi layer switch.

0:20:52.640000 --> 0:20:59.700000
 So now we can see the destination MAC
 address is PC two, going to PC two.

0:20:59.700000 --> 0:21:01.860000
 And then it gets routed.

0:21:01.860000 --> 0:21:03.720000
 And then the whole thing
 happens in reverse.

0:21:03.720000 --> 0:21:08.200000
 The ICMP packet comes back to the router,
 gets routed from the sub interface

0:21:08.200000 --> 0:21:12.740000
 of zero zero dot two back
 to the physical interface.

0:21:12.740000 --> 0:21:16.040000
 And then it goes out to PC zero.

0:21:16.040000 --> 0:21:21.880000
 So that is how we actually configure
 and monitor inter VLAN routing.

0:21:21.880000 --> 0:21:24.040000
 Now what are some other things you
 could do if you were doing this on

0:21:24.040000 --> 0:21:27.680000
 a real router? How would we know the inter
 VLAN routing was actually working?

0:21:27.680000 --> 0:21:29.200000
 Well, there's a couple
 of things we could do.

0:21:29.200000 --> 0:21:33.240000
 Let's go ahead and go back
 to regular mode right here.

0:21:33.240000 --> 0:21:37.660000
 So one thing you could do is you could
 go onto your router, go onto the

0:21:37.660000 --> 0:21:43.620000
 command line, and take a look at your
 interfaces with the show interface

0:21:43.620000 --> 0:21:47.800000
 command. So for example, show interface
 fast ethernet zero zero.

0:21:47.800000 --> 0:21:55.860000
 And what you're looking for here are
 packets input and packets output.

0:21:55.860000 --> 0:21:58.820000
 So let's do another ping.

0:21:58.820000 --> 0:22:09.100000
 All right, so let's say for every ping
 the PC zero creates, we should

0:22:09.100000 --> 0:22:12.300000
 see these numbers increment
 right here.

0:22:12.300000 --> 0:22:18.380000
 Let's do it again.

0:22:18.380000 --> 0:22:22.860000
 All right, so in packet tracer
 we created four pangs.

0:22:22.860000 --> 0:22:30.340000
 So if we go back to here, now we can
 see those numbers have increased.

0:22:30.340000 --> 0:22:35.020000
 Eight packets input,
 seven packets output.

0:22:35.020000 --> 0:22:39.560000
 And if we compare that against
 our sub interface of dot two.

0:22:39.560000 --> 0:22:51.360000
 Now in this particular case, it looks
 like the packet counters of input

0:22:51.360000 --> 0:22:57.600000
 and output are only being shown on
 the physical interface, not the sub

0:22:57.600000 --> 0:23:03.180000
 interface. Let me just check real quick
 and see if that's a packet tracer

0:23:03.180000 --> 0:23:06.580000
 thing or if real routers actually
 do the same type of thing.

0:23:06.580000 --> 0:23:09.080000
 I'm going to go into a real
 router here real quick.

0:23:09.080000 --> 0:23:14.720000
 You can tell by looking at my running config
 that I have created sub interfaces

0:23:14.720000 --> 0:23:17.040000
 on this router as well.

0:23:17.040000 --> 0:23:22.460000
 See, I've got a couple of sub interfaces
 tied to my main interface.

0:23:22.460000 --> 0:23:32.320000
 Now what I want to know is show it looks
 like you don't really have any

0:23:32.320000 --> 0:23:37.420000
 counters on your sub interfaces to be
 able to verify that one sub interface

0:23:37.420000 --> 0:23:40.860000
 is received a certain amount of packets
 versus another sub interface.

0:23:40.860000 --> 0:23:45.080000
 It looks like all the packet counters
 are actually associated to the main

0:23:45.080000 --> 0:23:46.640000
 physical interface.

0:23:46.640000 --> 0:23:50.440000
 So that's basically how
 you would monitor it.

0:23:50.440000 --> 0:23:54.260000
 You just number one, see if you can
 ping something outside your VLAN.

0:23:54.260000 --> 0:24:00.220000
 If you can reach outside your VLAN, you
 know the interface VLAN interface

0:24:00.220000 --> 0:24:05.380000
 interface inter VLAN routing is working
 between the sub interfaces that

0:24:05.380000 --> 0:24:07.220000
 you've created on your router.

0:24:07.220000 --> 0:24:10.240000
 Thank you for watching this video and
 I hope this one was useful to you.

