WEBVTT 0:00:07.500000 --> 0:00:11.360000 This video, which is part of the CCT routing and switching curriculum, 0:00:11.360000 --> 0:00:15.820000 is titled Differentiating Layer 2 Technologies. 0:00:15.820000 --> 0:00:20.380000 My name is Keith Bogart, and I will be your instructor for this video. 0:00:20.380000 --> 0:00:25.440000 As far as the video overview is concerned, in section 3.0 of the CCT routing 0:00:25.440000 --> 0:00:27.520000 and switching, it has this on the blueprint. 0:00:27.520000 --> 0:00:32.240000 It says differentiate between these Layer 2 technologies, the list sees 0:00:32.240000 --> 0:00:36.060000 off from Ethernet, down to optical, and etc. 0:00:36.060000 --> 0:00:40.240000 Now, right here, right off the bat, I have a problem with this bullet 0:00:40.240000 --> 0:00:43.280000 point, and I will talk to you a little bit more about this in about 30 0:00:43.280000 --> 0:00:47.880000 seconds. Namely, that some of the things listed on here are not Layer 0:00:47.880000 --> 0:00:52.640000 2 technologies, specifically DSL and optical. 0:00:52.640000 --> 0:00:55.840000 As you learn about networking technology, I don't know as you're watching 0:00:55.840000 --> 0:00:59.920000 these videos if you've done any studying of the OSI model yet. 0:00:59.920000 --> 0:01:04.020000 But in the OSI model, you have the whole, everything that could be done 0:01:04.020000 --> 0:01:08.620000 in networking broken up into seven different functional layers. 0:01:08.620000 --> 0:01:11.380000 Layer 1 is called the physical layer. 0:01:11.380000 --> 0:01:16.020000 This means everything having to do with electrical impulses, how do we 0:01:16.020000 --> 0:01:21.200000 represent a 1 in 0 via electricity, or how do we represent it via light? 0:01:21.200000 --> 0:01:22.840000 What's the cable look like? 0:01:22.840000 --> 0:01:24.180000 How thick is it? 0:01:24.180000 --> 0:01:25.760000 How many wires should it be? 0:01:25.760000 --> 0:01:27.340000 How long should it be? 0:01:27.340000 --> 0:01:31.280000 All that stuff is called Layer 1 or the physical layer. 0:01:31.280000 --> 0:01:35.100000 And that is where DSL and optical reside. 0:01:35.100000 --> 0:01:37.620000 Layer 2 is not that. 0:01:37.620000 --> 0:01:39.300000 So what is Layer 2? 0:01:39.300000 --> 0:01:44.100000 So in the OSI model, Layer 2 is called the data link layer. 0:01:44.100000 --> 0:01:48.540000 So physical layer is Layer 1, Layer 2 is the data link layer. 0:01:48.540000 --> 0:01:53.180000 And the data link layer is actually subdividable into two sublayers. 0:01:53.180000 --> 0:01:58.280000 The LLC sublayer, which stands for the logical link control, and the MAC 0:01:58.280000 --> 0:02:02.260000 sublayer. So let's look at the MAC sublayer first real quickly. 0:02:02.260000 --> 0:02:08.340000 So we know that Layer 1 is defining the cable, what's in the cable, how 0:02:08.340000 --> 0:02:12.180000 1's and 0's will be actually physically represented by either laser light 0:02:12.180000 --> 0:02:15.900000 or electricity or radio frequencies or something like that. 0:02:15.900000 --> 0:02:19.160000 Well, the MAC sublayer says, OK, now that we have all that taken care 0:02:19.160000 --> 0:02:24.900000 of, the MAC sublayer says things like, how do I know when I can access 0:02:24.900000 --> 0:02:29.160000 the cable? How do I know when it's my turn as opposed to when I should 0:02:29.160000 --> 0:02:31.060000 wait if somebody else is talking? 0:02:31.060000 --> 0:02:33.680000 Or should I even be concerned about that? 0:02:33.680000 --> 0:02:39.520000 When I access the cable, when I put the data on there, do I need to address 0:02:39.520000 --> 0:02:43.320000 it in such a way that the destination knows that it's for them? 0:02:43.320000 --> 0:02:44.960000 Or do I not care about that? 0:02:44.960000 --> 0:02:48.720000 If I do need to address it, was that address look like? 0:02:48.720000 --> 0:02:50.020000 How big should it be? 0:02:50.020000 --> 0:02:53.260000 What do the bits represent in that address? 0:02:53.260000 --> 0:02:56.760000 When something is coming in on the cable, how do I know it's for me? 0:02:56.760000 --> 0:03:01.540000 All of that is stuff that the MAC sublayer is responsible for. 0:03:01.540000 --> 0:03:06.380000 So if there is a protocol that does that, if someone develops a protocol, 0:03:06.380000 --> 0:03:09.540000 the answer is questions like, how do you know when you can talk on the 0:03:09.540000 --> 0:03:12.200000 cable? How do you know when you should stop talking? 0:03:12.200000 --> 0:03:15.460000 When you get something on the cable, how do you identify that it's for 0:03:15.460000 --> 0:03:18.800000 you? When you transmit something on the cable, how do you identify specifically 0:03:18.800000 --> 0:03:24.160000 who it's for? If the protocol answers those types of questions, that is 0:03:24.160000 --> 0:03:26.500000 a layer two protocol. 0:03:26.500000 --> 0:03:30.280000 Where DSL and optical, they don't answer those questions. 0:03:30.280000 --> 0:03:31.680000 They're physical layer stuff. 0:03:31.680000 --> 0:03:33.400000 They're not concerned with that stuff. 0:03:33.400000 --> 0:03:38.980000 Similarly, at the data link layer, we have the logical link control sublayer, 0:03:38.980000 --> 0:03:44.000000 which is stuff, for example, like, okay, we know that one layer up at 0:03:44.000000 --> 0:03:47.500000 the networking layer, there's a lot of protocols that reside at the networking 0:03:47.500000 --> 0:03:53.700000 layer. There's IP version four, IP version six, Apple talk, IPX, all kinds 0:03:53.700000 --> 0:04:00.600000 of stuff. So here we are at the physical layer and we got, we got electricity 0:04:00.600000 --> 0:04:04.200000 coming in at different voltages representing ones and zeros, ones and 0:04:04.200000 --> 0:04:09.240000 zeros. Now, the Mac sublayer looks at those ones and zeros and ones and 0:04:09.240000 --> 0:04:10.640000 zeros. This is okay. 0:04:10.640000 --> 0:04:15.220000 According to the protocol that I run, according to the rules that I follow, 0:04:15.220000 --> 0:04:19.400000 this first set of ones and zeros represents the destination address. 0:04:19.400000 --> 0:04:21.300000 Is that my address? 0:04:21.300000 --> 0:04:23.660000 Oh, yes it is. That's my address. 0:04:23.660000 --> 0:04:26.100000 Okay, great. I'm going to start picking this up. 0:04:26.100000 --> 0:04:28.360000 Okay, now all the ones and zeros stop. 0:04:28.360000 --> 0:04:29.900000 Okay, I have my frame. 0:04:29.900000 --> 0:04:30.620000 Here's my frame. 0:04:30.620000 --> 0:04:32.020000 I know it's for me. 0:04:32.020000 --> 0:04:35.740000 Now, the next question, this thing says, is okay, I'm going to pass this 0:04:35.740000 --> 0:04:38.440000 up to the LLC sublayer. 0:04:38.440000 --> 0:04:40.100000 Mac sublayer says I'm done. 0:04:40.100000 --> 0:04:41.040000 I know this is for me. 0:04:41.040000 --> 0:04:43.120000 I got it all. I verified it's okay. 0:04:43.120000 --> 0:04:45.200000 It's not messed up in some way. 0:04:45.200000 --> 0:04:48.140000 And by the way, that's also something the Mac sublayer does. 0:04:48.140000 --> 0:04:51.840000 Error checking. Are any of these ones and zeros screwed up from the time 0:04:51.840000 --> 0:04:54.000000 that they were transmitted by the sender? 0:04:54.000000 --> 0:04:56.400000 Not going to talk about how it does that, but that's a responsibility, 0:04:56.400000 --> 0:04:57.740000 the Mac sublayer. 0:04:57.740000 --> 0:04:59.780000 So the Mac sublayer says, my job is done. 0:04:59.780000 --> 0:05:01.720000 Hey, LLC sublayer. 0:05:01.720000 --> 0:05:02.960000 Here's the frame. 0:05:02.960000 --> 0:05:04.680000 Here's all the ones and bits I picked up. 0:05:04.680000 --> 0:05:06.340000 It's for us. It's okay. 0:05:06.340000 --> 0:05:12.760000 Here you go. So the LLC sublayer gets it and says, okay, I know my job 0:05:12.760000 --> 0:05:15.100000 is I need to pass it upstream. 0:05:15.100000 --> 0:05:17.280000 But I got a lot of stuff up there. 0:05:17.280000 --> 0:05:19.940000 I got IPv4 that might be waiting for something. 0:05:19.940000 --> 0:05:23.540000 IPv6, Apple Talk, IPX, other things. 0:05:23.540000 --> 0:05:30.220000 The LLC sublayer is responsible for figuring out how do I send it to IPv4? 0:05:30.220000 --> 0:05:31.780000 How do I send it to IPv6? 0:05:31.780000 --> 0:05:35.700000 Whatever is up there, the next layer at the networking layer, how do I 0:05:35.700000 --> 0:05:39.760000 get it to the appropriate protocol up there? 0:05:39.760000 --> 0:05:44.040000 And similarly, all these protocols, you know, in your laptop, if you're 0:05:44.040000 --> 0:05:48.500000 running IPv4 and IPv6 at the same time, which these days, you probably 0:05:48.500000 --> 0:05:50.340000 are, even if you're not aware of it. 0:05:50.340000 --> 0:05:55.780000 That means your laptop's processor is creating IP, is creating data with 0:05:55.780000 --> 0:06:01.360000 IPv4 addresses, creating data with IPv6 addresses, and all that stuff 0:06:01.360000 --> 0:06:05.700000 is going down to your Ethernet NIC card. 0:06:05.700000 --> 0:06:09.960000 Well, it's the LLC sublayer that's responsible for grabbing all that stuff. 0:06:09.960000 --> 0:06:12.860000 So the NIC card can talk to layer three. 0:06:12.860000 --> 0:06:15.280000 That's the responsibility of LLC. 0:06:15.280000 --> 0:06:20.660000 So once again, if a protocol knows how to do that, that is a layer two 0:06:20.660000 --> 0:06:25.560000 protocol. Once again, DSL and optical, they don't know how to do that. 0:06:25.560000 --> 0:06:28.260000 They're physical layer stuff. 0:06:28.260000 --> 0:06:31.320000 And typically, we say that devices that are used at the data link layer 0:06:31.320000 --> 0:06:33.700000 are switches and bridges. 0:06:33.700000 --> 0:06:38.540000 But really, anything with a NIC card operates at the data link layer. 0:06:38.540000 --> 0:06:42.700000 Really, you can't connect to a network without operating the data link 0:06:42.700000 --> 0:06:46.120000 layer. Your laptop operates at the data link layer. 0:06:46.120000 --> 0:06:48.620000 A router operates at the data link layer. 0:06:48.620000 --> 0:06:52.420000 A Wi-Fi access point operates at the data link layer. 0:06:52.420000 --> 0:06:56.240000 If you're not touching the data link layer, you have no connectivity to 0:06:56.240000 --> 0:06:57.480000 the physical layer. 0:06:57.480000 --> 0:07:00.860000 And if you have no connectivity to the physical layer, you're not networking. 0:07:00.860000 --> 0:07:02.720000 You're not talking to anybody. 0:07:02.720000 --> 0:07:09.860000 So let's differentiate between these various different layer two protocols. 0:07:09.860000 --> 0:07:14.700000 So I have include on here the actual real true layer two protocols. 0:07:14.700000 --> 0:07:18.240000 Notice that in the bullet point, even though it mentions serial and optical 0:07:18.240000 --> 0:07:22.780000 and DSL, those are not layer two protocols. 0:07:22.780000 --> 0:07:25.860000 So I'm not concluding them in my chart right here. 0:07:25.860000 --> 0:07:27.440000 So let me zoom in on this here. 0:07:27.440000 --> 0:07:29.760000 And let's just go through each one of these things as a bullet point so 0:07:29.760000 --> 0:07:31.980000 we can sort of differentiate between them. 0:07:31.980000 --> 0:07:36.680000 Okay. So the true layer two protocols, all the ones I could come up with 0:07:36.680000 --> 0:07:41.900000 off the top of my head, were the various flavors of ethernet, asynchronous 0:07:41.900000 --> 0:07:48.880000 transfer mode, that's ATM, integrated services, digital network, that's 0:07:48.880000 --> 0:07:57.840000 ISDN, frame relay, the point to point protocol, PPP, and the high level 0:07:57.840000 --> 0:08:02.640000 data link control protocol or HDLC. 0:08:02.640000 --> 0:08:06.220000 Now these are all things that answer those various questions. 0:08:06.220000 --> 0:08:09.940000 All these protocols I wrote here answer the questions of how do I know 0:08:09.940000 --> 0:08:11.440000 when it's my turn to go? 0:08:11.440000 --> 0:08:14.640000 When something comes in off the wire, how do I know if it's for me? 0:08:14.640000 --> 0:08:17.840000 When I'm putting something on the wire, do I need to address it to the 0:08:17.840000 --> 0:08:21.280000 destination? And if so, how do I do that? 0:08:21.280000 --> 0:08:24.020000 All these protocols answer those questions. 0:08:24.020000 --> 0:08:26.300000 So how are they different from each other? 0:08:26.300000 --> 0:08:27.860000 Well, in a variety of ways. 0:08:27.860000 --> 0:08:32.940000 Number one, some of these protocols are used in local area networks. 0:08:32.940000 --> 0:08:36.680000 They're specifically designed to be used between devices that are fairly 0:08:36.680000 --> 0:08:39.440000 close in proximity to each other. 0:08:39.440000 --> 0:08:43.780000 So that is ethernet, fast ethernet, and gigabit ethernet. 0:08:43.780000 --> 0:08:48.220000 Now there are gigabit ethernet can blur the lines because if you're doing 0:08:48.220000 --> 0:08:52.200000 gigabit ethernet over fiber optic cabling, you can actually have that 0:08:52.200000 --> 0:08:53.640000 go for quite a bit of distance. 0:08:53.640000 --> 0:08:57.920000 So gigabit ethernet could potentially be used in WANs as well. 0:08:57.920000 --> 0:09:01.080000 But usually when we're thinking of ethernet, we're thinking of LANs. 0:09:01.080000 --> 0:09:03.480000 We're not thinking of WANs. 0:09:03.480000 --> 0:09:05.040000 Now what about WANs? 0:09:05.040000 --> 0:09:08.480000 In other words, what layer two protocols are designed to operate across 0:09:08.480000 --> 0:09:12.860000 vast distances, hundreds or thousands of miles? 0:09:12.860000 --> 0:09:14.600000 That would be everything else. 0:09:14.600000 --> 0:09:18.340000 So all these layer two protocols here were specifically designed to operate 0:09:18.340000 --> 0:09:22.760000 across wide area networks. 0:09:22.760000 --> 0:09:27.140000 Broadcast based, what does that mean? 0:09:27.140000 --> 0:09:30.860000 Some of these protocols were designed around this assumption. 0:09:30.860000 --> 0:09:34.640000 They were designed around the assumption that when I put data on a wire, 0:09:34.640000 --> 0:09:39.420000 there are going to be many potential devices connected to the same wire 0:09:39.420000 --> 0:09:44.980000 as me. Which means that when I put data on the wire, I have to address 0:09:44.980000 --> 0:09:48.720000 that data. I have to put some sort of destination address so that even 0:09:48.720000 --> 0:09:52.420000 though everybody's going to see it, only the guy actually want to pick 0:09:52.420000 --> 0:09:54.140000 it up will pick it up. 0:09:54.140000 --> 0:09:57.020000 There's nothing I can do to prevent everybody from seeing it. 0:09:57.020000 --> 0:09:58.860000 We're all connected to the same wire. 0:09:58.860000 --> 0:10:02.420000 But only the guy who needs it is actually going to pay attention to it. 0:10:02.420000 --> 0:10:04.900000 That is called broadcast based. 0:10:04.900000 --> 0:10:07.740000 For example, when you and a bunch of your friends get into a room and 0:10:07.740000 --> 0:10:10.620000 you all start talking together, that's broadcast based. 0:10:10.620000 --> 0:10:13.500000 Even if you're the only one talking, everybody's going to hear you. 0:10:13.500000 --> 0:10:15.180000 You can't help that. 0:10:15.180000 --> 0:10:21.000000 So all the flavors of ethernet were designed around broadcast based networks. 0:10:21.000000 --> 0:10:25.840000 Which means ethernet needs to specifically address its data to the destination 0:10:25.840000 --> 0:10:28.380000 device that it's going to. 0:10:28.380000 --> 0:10:31.740000 Because we want to make sure that people who don't need it, don't pick 0:10:31.740000 --> 0:10:33.580000 it up and listen to it. 0:10:33.580000 --> 0:10:40.380000 These other protocols from ATM all the way down to HDLC are what's called 0:10:40.380000 --> 0:10:43.460000 point to point based protocols. 0:10:43.460000 --> 0:10:48.520000 Which means that this protocol has the assumption that when I put data 0:10:48.520000 --> 0:10:51.920000 on the wire, it can only go one place. 0:10:51.920000 --> 0:10:54.440000 There's not multiple destinations on this wire. 0:10:54.440000 --> 0:10:58.320000 When I put data on the wire, there's only one in place it can go to at 0:10:58.320000 --> 0:11:05.020000 the other end. ATM, ISDN, Frame Relay, PPP, and HDLC are all like that. 0:11:05.020000 --> 0:11:09.920000 Now as you learn about Frame Relay, that's a little bit debatable. 0:11:09.920000 --> 0:11:13.700000 But Frame Relay is definitely not broadcast based. 0:11:13.700000 --> 0:11:17.840000 There is no way to put a Frame Relay frame on a wire and have multiple 0:11:17.840000 --> 0:11:22.880000 devices see that one single Frame Relay frame. 0:11:22.880000 --> 0:11:27.080000 Hence, it is not broadcast based. 0:11:27.080000 --> 0:11:29.520000 Require setup signaling. 0:11:29.520000 --> 0:11:33.020000 What's that referring to? 0:11:33.020000 --> 0:11:36.820000 Okay, so some of these protocols are sort of like when you pick up the 0:11:36.820000 --> 0:11:41.500000 phone. Right? Now, if you're in the White House and you've got the Red 0:11:41.500000 --> 0:11:45.060000 phone in front of you and you pick it up, you don't have to dial a number. 0:11:45.060000 --> 0:11:47.500000 You are automatically connected to the Pentagon. 0:11:47.500000 --> 0:11:50.260000 Right? But at your house, that's not the case. 0:11:50.260000 --> 0:11:54.320000 When you pick up that phone, it's not going anywhere until you type in 0:11:54.320000 --> 0:11:58.820000 some digits, which means you are sending signaling information. 0:11:58.820000 --> 0:12:01.260000 You're telling the telephone company via those digits you're punching 0:12:01.260000 --> 0:12:05.920000 in, this is the remote destination, in this case, telephone number that 0:12:05.920000 --> 0:12:07.360000 I want to talk to. 0:12:07.360000 --> 0:12:11.100000 And then the telephone company sets up a path or what we call a circuit 0:12:11.100000 --> 0:12:13.580000 between you and the remote telephone. 0:12:13.580000 --> 0:12:16.640000 And now you can talk across that line. 0:12:16.640000 --> 0:12:20.420000 But when you first pick up the phone, there's no circuit established. 0:12:20.420000 --> 0:12:23.760000 You have to send some sort of signaling information to say, this is where 0:12:23.760000 --> 0:12:26.020000 I want the circuit to end. 0:12:26.020000 --> 0:12:32.500000 So, ATM, if you're using what's called switched virtual circuits, that's 0:12:32.500000 --> 0:12:35.860000 what SVC stands for, is like that. 0:12:35.860000 --> 0:12:38.480000 ISDN is definitely like that. 0:12:38.480000 --> 0:12:40.980000 ISDN uses like a phone number. 0:12:40.980000 --> 0:12:44.580000 Frame relay can also be set up with something called switched virtual 0:12:44.580000 --> 0:12:50.400000 circuits. And PPP was designed around the assumption that it could go 0:12:50.400000 --> 0:12:53.900000 multiple places, but you have to signal first and say where you want to 0:12:53.900000 --> 0:13:02.660000 go. As opposed to all of the flavors of Ethernet are always on. 0:13:02.660000 --> 0:13:06.220000 Right? When you put an Ethernet frame on the wire, you don't have to first 0:13:06.220000 --> 0:13:08.060000 say, hey, not, not, not wire. 0:13:08.060000 --> 0:13:10.360000 Are you awake? Come on, I need to use you. 0:13:10.360000 --> 0:13:11.560000 You don't have to do that. 0:13:11.560000 --> 0:13:12.400000 The wire is always there. 0:13:12.400000 --> 0:13:13.060000 It's always available. 0:13:13.060000 --> 0:13:16.240000 You can immediately put your data on that wire. 0:13:16.240000 --> 0:13:18.300000 So all flavors of Ethernet are like that. 0:13:18.300000 --> 0:13:21.640000 If you're using what's called a permanent virtual circuit, which means 0:13:21.640000 --> 0:13:25.440000 a circuit that's always up, like that red phone connecting the white house 0:13:25.440000 --> 0:13:29.000000 to the Pentagon, that would be a permanent virtual circuit. 0:13:29.000000 --> 0:13:29.780000 It's always available. 0:13:29.780000 --> 0:13:34.620000 It's always up and always ties two devices together that's always available. 0:13:34.620000 --> 0:13:38.600000 So ATM and frame relay when using permanent virtual circuits is always 0:13:38.600000 --> 0:13:43.340000 on. Doesn't need any signaling. 0:13:43.340000 --> 0:13:47.500000 HDLC was designed around the assumption that the circuit's riding across 0:13:47.500000 --> 0:13:53.240000 is always up. HDLC and doesn't have any kind of addressing. 0:13:53.240000 --> 0:13:57.320000 When you put data inside of an HDLC header, there's no layer to address 0:13:57.320000 --> 0:14:00.580000 there. HDLC says, hey, why do I need to address it? 0:14:00.580000 --> 0:14:01.980000 It can only go to one person. 0:14:01.980000 --> 0:14:06.080000 At the other end of the line, there's just one person there. 0:14:06.080000 --> 0:14:10.880000 And then lastly, some of these layer two, some of these specifications, 0:14:10.880000 --> 0:14:20.320000 for example, all the flavors of Ethernet as well as ATM and ISDN not only 0:14:20.320000 --> 0:14:24.580000 reside at layer two of the OSI model, they also reside at layer one of 0:14:24.580000 --> 0:14:29.000000 the OSI model. For example, if you open up an Ethernet document, you'll 0:14:29.000000 --> 0:14:33.340000 see in there not only answers to the questions that layer two has, which 0:14:33.340000 --> 0:14:35.580000 is how do I know when I can go? 0:14:35.580000 --> 0:14:37.660000 How do I know when I should stop talking? 0:14:37.660000 --> 0:14:39.960000 When something comes in, how do I know it's for me? 0:14:39.960000 --> 0:14:41.640000 Those are all layer two questions. 0:14:41.640000 --> 0:14:45.000000 But the Ethernet document also answers questions like, was the cable look 0:14:45.000000 --> 0:14:46.500000 like? Does it use copper? 0:14:46.500000 --> 0:14:47.720000 How many strands of copper? 0:14:47.720000 --> 0:14:49.300000 How long can the cable be? 0:14:49.300000 --> 0:14:51.180000 What kind of voltage is used for one? 0:14:51.180000 --> 0:14:52.520000 What's used for a zero? 0:14:52.520000 --> 0:14:54.120000 That's all layer one stuff. 0:14:54.120000 --> 0:14:59.400000 So all the flavors of Ethernet in addition to ATM and ISDN also specify 0:14:59.400000 --> 0:15:03.260000 layer one as well as layer two. 0:15:03.260000 --> 0:15:06.860000 And that's a pretty good breakdown there of differentiating between our 0:15:06.860000 --> 0:15:08.420000 layer two protocols.