1 00:00:00,000 --> 00:00:00,700 2 00:00:00,700 --> 00:00:02,470 To assist us in really appreciating 3 00:00:02,470 --> 00:00:05,920 the benefit of a VLAN, I want to talk for a moment about a layer 4 00:00:05,920 --> 00:00:06,880 2 broadcast. 5 00:00:06,880 --> 00:00:11,020 Let's imagine that PC 1 here is sending a layer 2 broadcast 6 00:00:11,020 --> 00:00:12,890 into this switch network. 7 00:00:12,890 --> 00:00:14,440 Now from our previous discussions, 8 00:00:14,440 --> 00:00:17,650 do you recall what a switch does when it receives a broadcast 9 00:00:17,650 --> 00:00:20,020 in on one of its ports? 10 00:00:20,020 --> 00:00:21,670 What does it do? 11 00:00:21,670 --> 00:00:23,760 And if you'll recall, the answer is the switch 12 00:00:23,760 --> 00:00:27,040 is going to forward that layer 2 broadcast out of all 13 00:00:27,040 --> 00:00:28,470 of its other ports. 14 00:00:28,470 --> 00:00:31,870 So that broadcast coming in on GIG 0/1 on the switch 15 00:00:31,870 --> 00:00:34,810 would be sent out this port, and that port, and that port. 16 00:00:34,810 --> 00:00:38,290 And then when switch 2 receives that broadcast on its GIG 1/0, 17 00:00:38,290 --> 00:00:41,540 it's going to forward it out every other port as well. 18 00:00:41,540 --> 00:00:44,590 So effectively, the broadcast that PC 1 started 19 00:00:44,590 --> 00:00:47,540 is going to be seen by every single host on the network. 20 00:00:47,540 --> 00:00:50,290 Well, if we have 500 or 600 devices, 21 00:00:50,290 --> 00:00:51,970 and we have to see all the broadcasts 22 00:00:51,970 --> 00:00:54,520 from every other device, that is one reason 23 00:00:54,520 --> 00:00:57,790 to help limit the size of a broadcast domain. 24 00:00:57,790 --> 00:01:00,220 And the ability to limit or to cut down 25 00:01:00,220 --> 00:01:04,629 on the size of a layer 2 network is what VLANs do for us. 26 00:01:04,629 --> 00:01:07,330 A VLAN is a layer 2 boundary regarding 27 00:01:07,330 --> 00:01:10,480 how far a broadcast will go, instead of a network 28 00:01:10,480 --> 00:01:11,507 infrastructure. 29 00:01:11,507 --> 00:01:13,090 So in our topology here, if we decided 30 00:01:13,090 --> 00:01:15,340 we wanted these two PCs, for example, 31 00:01:15,340 --> 00:01:18,100 to be in their own virtual local area network, 32 00:01:18,100 --> 00:01:20,500 and we wanted all these devices to be 33 00:01:20,500 --> 00:01:23,590 in a yet different virtual local area network, 34 00:01:23,590 --> 00:01:25,960 we could do that by simply controlling the ports 35 00:01:25,960 --> 00:01:27,140 on the switch. 36 00:01:27,140 --> 00:01:32,110 So we could put port GIG 0/1 and GIG 0/2 in the green VLAN, 37 00:01:32,110 --> 00:01:34,220 and we could put GIG 0/3. 38 00:01:34,220 --> 00:01:38,140 And over here on switch 2, GIG 1/1, and 1/2, and 1/3 39 00:01:38,140 --> 00:01:40,420 all in the red VLAN, and that's how 40 00:01:40,420 --> 00:01:42,340 we control the layer to boundaries 41 00:01:42,340 --> 00:01:44,974 for our VLANs for our broadcast domains. 42 00:01:44,974 --> 00:01:46,640 So if somebody walked up to us and said, 43 00:01:46,640 --> 00:01:48,370 hey quick-- tell me what is a VLAN? 44 00:01:48,370 --> 00:01:51,160 We could say it's a layer 2 broadcast domain. 45 00:01:51,160 --> 00:01:53,560 Ta-daa, that's the full story. 46 00:01:53,560 --> 00:01:57,040 And normally, what happens as well when we start carving up 47 00:01:57,040 --> 00:01:59,470 our networks into virtual local area networks, 48 00:01:59,470 --> 00:02:02,960 not only are we going to change the VLANs that devices are in, 49 00:02:02,960 --> 00:02:06,310 but we're also going to change the layer 3 IP network 50 00:02:06,310 --> 00:02:07,940 that they're in as well. 51 00:02:07,940 --> 00:02:09,860 So if these guys are in the 10 network, 52 00:02:09,860 --> 00:02:12,010 we might need to change all the addressing 53 00:02:12,010 --> 00:02:13,720 on these hosts in the red network 54 00:02:13,720 --> 00:02:16,917 and maybe put them on the 20 network, for example. 55 00:02:16,917 --> 00:02:19,000 But we can save the discussion about IP addressing 56 00:02:19,000 --> 00:02:21,220 and how that works in detail for another Nugget 57 00:02:21,220 --> 00:02:24,130 because the focus here is on VLANs at layer 2 58 00:02:24,130 --> 00:02:27,130 controlling how big a network can be 59 00:02:27,130 --> 00:02:30,460 and doing it by controlling the switch ports. 60 00:02:30,460 --> 00:02:32,840 In this Nugget, we've identified three basic things. 61 00:02:32,840 --> 00:02:36,520 Number one, the acronym of VLAN stands for Virtual Local Area 62 00:02:36,520 --> 00:02:37,150 Network. 63 00:02:37,150 --> 00:02:40,390 Secondly, we identified that a VLAN is effectively 64 00:02:40,390 --> 00:02:44,380 a layer 2 broadcast domain, meaning if our VLAN includes 65 00:02:44,380 --> 00:02:47,800 14 ports and 14 devices, if a broadcast 66 00:02:47,800 --> 00:02:49,800 gets sent in on any one of those ports, 67 00:02:49,800 --> 00:02:53,710 it will only be forwarded to the other ports in that same layer 68 00:02:53,710 --> 00:02:55,060 2 VLAN. 69 00:02:55,060 --> 00:02:56,650 And third, we learned that we can 70 00:02:56,650 --> 00:02:59,110 control which individual hosts are 71 00:02:59,110 --> 00:03:01,660 in which VLANs by controlling the switch 72 00:03:01,660 --> 00:03:04,040 ports that those hosts are connected to. 73 00:03:04,040 --> 00:03:06,060 So if we have 16 ports on a switch, 74 00:03:06,060 --> 00:03:08,080 and we want six of those ports to be 75 00:03:08,080 --> 00:03:12,010 in one VLAN, and the other 10 ports to be in a second VLAN, 76 00:03:12,010 --> 00:03:13,720 that's done by configuring the switch 77 00:03:13,720 --> 00:03:15,880 and the respective switch ports to only 78 00:03:15,880 --> 00:03:17,830 be in those specific VLANs. 79 00:03:17,830 --> 00:03:20,020 I hope this has been informative for you, 80 00:03:20,020 --> 00:03:23,413 and I'd like to thank you for viewing. 81 00:03:23,413 --> 00:03:23,912