1 00:00:00,000 --> 00:00:01,240 2 00:00:01,240 --> 00:00:04,120 I remember back in the early 1980s, when I first 3 00:00:04,120 --> 00:00:05,710 started learning networking. 4 00:00:05,710 --> 00:00:07,570 And I'd studied the OSI reference model. 5 00:00:07,570 --> 00:00:10,330 I was pleased as punch when I would read an article, 6 00:00:10,330 --> 00:00:12,160 and it would talk about the application 7 00:00:12,160 --> 00:00:16,030 layer services of XYZ, or something at layer three, 8 00:00:16,030 --> 00:00:17,620 or a new layer two device. 9 00:00:17,620 --> 00:00:20,220 Because I knew the functionality of those OSI 10 00:00:20,220 --> 00:00:21,432 reference model layers. 11 00:00:21,432 --> 00:00:22,640 And I thought to myself, "OK. 12 00:00:22,640 --> 00:00:22,900 Great. 13 00:00:22,900 --> 00:00:24,441 That kind of gives me an idea of what 14 00:00:24,441 --> 00:00:25,840 that product or service does. 15 00:00:25,840 --> 00:00:28,690 But then it also occurred to me, pretty much at the same time, 16 00:00:28,690 --> 00:00:32,770 that we would be hard pressed to find a computer that's actually 17 00:00:32,770 --> 00:00:36,370 running any type of an OSI reference protocol. 18 00:00:36,370 --> 00:00:38,440 Because the OSI reference model is just that. 19 00:00:38,440 --> 00:00:39,790 It's a reference model. 20 00:00:39,790 --> 00:00:42,500 It's not a common, real protocol that we're using today. 21 00:00:42,500 --> 00:00:44,810 So I thought to myself, "Self, what are we using?" 22 00:00:44,810 --> 00:00:47,060 well, back in the day, we had lots of other protocols, 23 00:00:47,060 --> 00:00:48,400 including IPX. 24 00:00:48,400 --> 00:00:50,560 But we also had this new and upcoming protocol 25 00:00:50,560 --> 00:00:52,000 called TCP/IP. 26 00:00:52,000 --> 00:00:54,680 And TCP/IP was courtesy of the government. 27 00:00:54,680 --> 00:00:56,590 The Department of Defense created it. 28 00:00:56,590 --> 00:00:59,980 And this TCP/IP IP was actually a literal protocol stack, 29 00:00:59,980 --> 00:01:02,710 a suite of protocols working together 30 00:01:02,710 --> 00:01:05,530 to provide the functionalities that were described as part 31 00:01:05,530 --> 00:01:06,942 of the OSI reference model. 32 00:01:06,942 --> 00:01:08,650 And so, if we put them side by side here, 33 00:01:08,650 --> 00:01:10,720 all the functionality in the OSI reference model, 34 00:01:10,720 --> 00:01:12,790 regarding layer seven, six, and five, 35 00:01:12,790 --> 00:01:15,220 the application layer with network services, 36 00:01:15,220 --> 00:01:18,130 the presentation layer dealing with encryption and decryption 37 00:01:18,130 --> 00:01:19,780 and compression, and the session layer, 38 00:01:19,780 --> 00:01:22,238 dealing with the establishment, and the set up of sessions, 39 00:01:22,238 --> 00:01:24,700 all that functionality can be found in the TCP/IP Protocol 40 00:01:24,700 --> 00:01:27,964 Suite, in the one layer called the application layer. 41 00:01:27,964 --> 00:01:30,130 And then, layer four, the transport layer of the OSI 42 00:01:30,130 --> 00:01:31,690 reference model, we usually refer 43 00:01:31,690 --> 00:01:33,190 to that as the transport layer here, 44 00:01:33,190 --> 00:01:35,380 as well, on the TCP/IP protocol suite. 45 00:01:35,380 --> 00:01:39,279 Also, it's sometimes referred to as the host to host layer. 46 00:01:39,279 --> 00:01:41,320 In either case, it's providing the middle manager 47 00:01:41,320 --> 00:01:44,170 functionality for reliable or unreliable delivery, 48 00:01:44,170 --> 00:01:45,950 based on the application we're using, 49 00:01:45,950 --> 00:01:48,460 as well as the potential for chunking up large messages 50 00:01:48,460 --> 00:01:50,350 into smaller parcels or pieces. 51 00:01:50,350 --> 00:01:53,200 But the functionality from the model and the TCP/IP Protocol 52 00:01:53,200 --> 00:01:55,302 Suite are the same at that layer. 53 00:01:55,302 --> 00:01:57,760 And as we go down to the network layer of the OSI reference 54 00:01:57,760 --> 00:02:00,280 model, and the TCP/IP Protocol Suite is referred 55 00:02:00,280 --> 00:02:02,080 to as the internet layer. 56 00:02:02,080 --> 00:02:03,880 However, the responsibilities and functions 57 00:02:03,880 --> 00:02:05,260 are the same as the OSI reference 58 00:02:05,260 --> 00:02:08,440 models, which include adding address information, 59 00:02:08,440 --> 00:02:10,990 like for example, a street name, and a house number. 60 00:02:10,990 --> 00:02:13,210 Or, in the case of the TCP/IP Protocol Suite, 61 00:02:13,210 --> 00:02:15,890 it would be a logical IP address, 62 00:02:15,890 --> 00:02:19,330 which we can think of as a house number and street name that 63 00:02:19,330 --> 00:02:21,970 allows a packet to be delivered over a network 64 00:02:21,970 --> 00:02:24,220 to the device it was intended to go to. 65 00:02:24,220 --> 00:02:27,130 And then as we continue to go down the TCP/IP protocol stack, 66 00:02:27,130 --> 00:02:30,790 we have this one section called Network Access, which 67 00:02:30,790 --> 00:02:33,550 includes the functionality of the datalink layer 68 00:02:33,550 --> 00:02:36,280 and the physical layer of the OSI reference model, which 69 00:02:36,280 --> 00:02:38,950 would be our envelope stuffer, and the correct framing 70 00:02:38,950 --> 00:02:41,920 for the messages, and the actual physical transmission 71 00:02:41,920 --> 00:02:45,160 and sending of the information over the network itself. 72 00:02:45,160 --> 00:02:47,200 But there was one more challenge I discovered. 73 00:02:47,200 --> 00:02:49,990 And that was, well, if we're using the TCP/IP protocol 74 00:02:49,990 --> 00:02:51,790 suite, and I'm reading this article, 75 00:02:51,790 --> 00:02:54,710 and it's talking about a layer two device, 76 00:02:54,710 --> 00:02:55,910 how does that fit in? 77 00:02:55,910 --> 00:02:58,390 And so, for the actual practical purposes for you 78 00:02:58,390 --> 00:03:01,120 and I, as we work with TCP/IP networks, which 79 00:03:01,120 --> 00:03:04,300 is the major protocol in the world today, when we refer 80 00:03:04,300 --> 00:03:07,690 to the actual names and layers, for layer purposes, 81 00:03:07,690 --> 00:03:11,050 we're going to borrow the names of physical and datalink 82 00:03:11,050 --> 00:03:13,270 for layers one and two, even though we're actually 83 00:03:13,270 --> 00:03:14,752 using TCP/IP. 84 00:03:14,752 --> 00:03:16,210 And one of the benefits of that, it 85 00:03:16,210 --> 00:03:17,626 allows us to be very specific when 86 00:03:17,626 --> 00:03:19,370 we're talking about components. 87 00:03:19,370 --> 00:03:21,340 For example, if we a new network adapter, 88 00:03:21,340 --> 00:03:23,050 and we plug it into a computer, and it's 89 00:03:23,050 --> 00:03:25,540 physically connecting us to the rest of the network, 90 00:03:25,540 --> 00:03:28,240 we can say that that network adapter, for that purpose, 91 00:03:28,240 --> 00:03:31,150 is a layer one device, a physical layer device. 92 00:03:31,150 --> 00:03:35,080 Also, for TCP/IP, at layer three, we refer to layer three 93 00:03:35,080 --> 00:03:36,500 as the network layer. 94 00:03:36,500 --> 00:03:39,850 So we're leveraging the name from the OSI reference model, 95 00:03:39,850 --> 00:03:42,190 actually renaming the TCP/IP Protocol 96 00:03:42,190 --> 00:03:44,260 Suite, the original name, for that layer three, 97 00:03:44,260 --> 00:03:46,090 which was Internet, and simply calling it, 98 00:03:46,090 --> 00:03:47,327 once again, Network. 99 00:03:47,327 --> 00:03:48,910 And also, at layer four, we're hanging 100 00:03:48,910 --> 00:03:51,790 onto the name of Transport as the transport layer 101 00:03:51,790 --> 00:03:53,620 in the TCP/IP protocol suite. 102 00:03:53,620 --> 00:03:55,490 And then, for everything above that, 103 00:03:55,490 --> 00:03:57,781 which would be layers five, six, and seven from the OSI 104 00:03:57,781 --> 00:04:00,040 reference model, we just refer to that one big chunk 105 00:04:00,040 --> 00:04:03,260 of functions and features as the application layer. 106 00:04:03,260 --> 00:04:05,950 So as we discuss the actual use of a protocol 107 00:04:05,950 --> 00:04:07,840 stack, and going back to our analogy 108 00:04:07,840 --> 00:04:11,500 with our King A and King B, or a user like Bob, sitting 109 00:04:11,500 --> 00:04:13,975 in front of a browser, to access the network services, 110 00:04:13,975 --> 00:04:17,290 those are being provided by the application layer of our TCP/IP 111 00:04:17,290 --> 00:04:18,339 Pericles stack. 112 00:04:18,339 --> 00:04:21,220 And as that information is passed down this protocol 113 00:04:21,220 --> 00:04:23,260 stack, and each of the responsible parties 114 00:04:23,260 --> 00:04:25,700 are doing their work, and it's being sent over the network 115 00:04:25,700 --> 00:04:28,910 we can use more specific terms for the data. 116 00:04:28,910 --> 00:04:31,689 For example, if we have the middle manager, the transport 117 00:04:31,689 --> 00:04:33,730 layer, that was currently working with or looking 118 00:04:33,730 --> 00:04:36,220 at some data, instead of calling that data, 119 00:04:36,220 --> 00:04:37,780 we could refer to that information 120 00:04:37,780 --> 00:04:39,920 at that layer as a segment. 121 00:04:39,920 --> 00:04:41,675 For example, a segment of data. 122 00:04:41,675 --> 00:04:44,050 And as that information gets passed down to the mailroom, 123 00:04:44,050 --> 00:04:46,120 down to the network layer or three, 124 00:04:46,120 --> 00:04:49,510 we could refer to the data at that layer as packets. 125 00:04:49,510 --> 00:04:51,250 And as the network layer passes that down 126 00:04:51,250 --> 00:04:53,440 to the envelope stuffers, the datalink layer, 127 00:04:53,440 --> 00:04:56,680 we can refer to the data at that layer, at layer two, as frames. 128 00:04:56,680 --> 00:04:57,790 Frames of data. 129 00:04:57,790 --> 00:05:00,505 And then, as that information is actually transmitted or sent, 130 00:05:00,505 --> 00:05:01,880 the actual data could be referred 131 00:05:01,880 --> 00:05:04,250 to as individual bits that are being sent 132 00:05:04,250 --> 00:05:05,699 over the network at that point. 133 00:05:05,699 --> 00:05:07,490 So the question might come up, "Well Keith, 134 00:05:07,490 --> 00:05:11,280 does that mean that anybody who says the word packet always 135 00:05:11,280 --> 00:05:14,874 is talking specifically about Layer three of the TCP/IP 136 00:05:14,874 --> 00:05:15,540 protocol suite?" 137 00:05:15,540 --> 00:05:17,030 And the answer is, no. 138 00:05:17,030 --> 00:05:19,520 Because some people use terms loosely. 139 00:05:19,520 --> 00:05:21,397 We might have to take things in context. 140 00:05:21,397 --> 00:05:22,730 But the beautiful thing is this. 141 00:05:22,730 --> 00:05:26,210 You and I, going forward, if we say segment, versus packet, 142 00:05:26,210 --> 00:05:28,460 versus frame, because we know these terms, 143 00:05:28,460 --> 00:05:31,310 we can assume that if one of us says the word segment of data, 144 00:05:31,310 --> 00:05:34,850 we're referring to the data here at layer four of the TCP/IP 145 00:05:34,850 --> 00:05:35,780 Protocol Suite. 146 00:05:35,780 --> 00:05:37,740 And following that logic, if you and I were 147 00:05:37,740 --> 00:05:39,530 to talk about frames, we would be 148 00:05:39,530 --> 00:05:44,120 referring to data at layer two of the protocol stack. 149 00:05:44,120 --> 00:05:46,430 I hope this has been informative for you, 150 00:05:46,430 --> 00:05:49,990 and I'd like to thank you for viewing.