OSI Model Intro and Encapsulataion

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
or

Already have an account? Sign In »

Time
8 hours 19 minutes
Difficulty
Beginner
CEU/CPE
8
Video Transcription
00:00
our next topic is going to be the OSI reference model.
00:04
The OSI reference model provides us a framework so that we can understand the different elements of networking and how they work together.
00:12
There are a couple of purposes with the OSI reference model to cover first,
00:16
and then we'll get into exactly what it is and how it works.
00:20
It's the idea of inter proper ability between vendors.
00:24
What we want is an environment where different components from different vendors all work together.
00:30
So we don't want to have to buy everything on our network from a single vendor.
00:34
We don't want vendors to have a monopoly of services because they can then charge whatever they want. And we're locked into that specific vendor,
00:42
whereas if instead we have a variety of components and I'm connected to a Netgear switch and that fails, I can go out and buy a Linksys switch that makes my life easier.
00:53
We prefer standardization.
00:55
Usually when we have vendors that have proprietary equipment, it may take additional training in order to work with those devices.
01:03
There's usually additional costs and sometimes additional complexity.
01:07
The OSI model promotes standardization,
01:11
so ultimately what we have is seven layers of the OSI model and standards at each layer.
01:18
So if I have a layer to device and I built it to the standard of an OSI layer to device, then it will be interoperable and a standard space environment.
01:27
That's great for me as a vendor, because standardization cells,
01:32
that doesn't mean proprietary stuff doesn't sell. But standardization really is what most network administrators are looking for.
01:41
There might be times when we purchase a proprietary device or component, but for the most part, we like standardization.
01:48
Each layer of the OSI model is going to give us a description of certain services based on the standard.
01:55
What we're also going to see with the OSI model is an idea of encapsulation.
02:00
When we talk about encapsulation, it is packaging.
02:04
It's placing headers around data or it's putting a protocol in a protocol.
02:08
The best example I can offer is this.
02:12
Let's say my Uncle Steve in Seattle has an anniversary,
02:15
and in order to help him celebrate, I'm going to send him some champagne glasses.
02:21
Technically, I could write his name on the champagne glasses and say Happy anniversary Uncle Steve and put a stamp on them and put them in the mailbox.
02:29
But of course, as soon as I do that, I'll hear clink, clink, clink.
02:34
So what I'm going to do instead is wrapped the champagne glasses in bubble wrap,
02:38
put them in a small box and put bubble wrap around that box.
02:43
I'm going to give drop the box and write Happy Anniversary or best wishes on the box.
02:47
I do want to point out that when I write best wishes Uncle Steve that the Uncle Steve pieces in addressing element.
02:53
It's not worldwide addressing, but when the package finds Steve's house, he's going to see that it's for him.
03:01
So some of what we're doing is for protection and padding,
03:05
and some of it is for addressing.
03:07
Ultimately, we start out with a very small payload, the champagne glasses
03:12
and as we package and add addressing and protection all those things.
03:16
By the time we're ready to pass this off to FedEx, we wind up with a much more sizable package.
03:23
We continue to add. We put in a FedEx box, we get a FedEx label we handed off to the FedEx carrier.
03:29
That's encapsulation.
03:30
It's not the same as encryption, though sometimes people make that mistake.
03:36
I never encrypted the champagne glasses. I didn't magically turn them into coffee mugs. They're still champagne glasses. They're just all wrapped up.
03:45
That's our goal with encapsulation.
03:47
Of course, the only piece that I missed in the instructions is that if you have pets
03:52
at some point in time, I can guarantee you there will be a cat in the packing peanuts or perhaps a pug wrapped up in bubble wrap.
03:59
So if you need to shock the animals, you can add those steps in here.
04:02
I do want to mention no animals were harmed during the making of this video,
04:06
so this encapsulation ideas illustrated here on the right.
04:12
At the top, we have seven layers application down a presentation session, transport network, data link and finally, physical.
04:21
The idea here is data conceptually travels down through the OSI model.
04:27
When I say that, what I mean is that the sending computer starts with an application layer protocol,
04:32
so application layer protocols are those protocols that drive user applications.
04:39
If you think about a Web browser, you got http.
04:42
If you think about Male, you've got pop three or IMAP or some of those other mail protocols.
04:47
So data starts at the very top of the OSI model, and as it conceptually travels down, headers are added
04:55
so you can see we start with the data alone at the application layer.
04:59
But as we moved on to presentation, we get a presentation hunter, a session header next, a transport header than network header data link header all the way down to the point where we have the conversion in the bits that relay electronic signal on the network.
05:15
At each layer, something is added that will help the data gets where it needs to go
05:19
all the way to the destination hosts.
05:23
There's formatting. There's perhaps receipt of Acknowledgments. There's I p addressing. There's Mac addressing and all these things we'll talk about as we move on.
05:31
But I just want you to have this idea that at each layer something gets added until the computer is ready to put that data out on the network.
05:41
Now, I would definitely recommend that you know, the OSI model top down.
05:46
I know it by number and by name.
05:48
All people seem to need Domino's pizza is a good little trick that a lot of folks use from the top down.
05:55
All people seem to need Domino's pizza. That will help you remember
06:00
my personal favorite from the bottom up.
06:02
People don't need to see Paula Abdul
06:05
changed my mind. I'm standing by that.
06:08
But anyway, you find some little trick.
06:11
I do not recommend that you go out and Google harmonic tricks for the OSI reference model.
06:15
There are some things you cannot unsee and there are people of questionable intent on the Internet. That's all I'm gonna say about that.
06:23
What I probably just done is guaranteed that 2200 people go on the Internet and Google you demonic tricks for the OSC model.
06:30
But at any rate, find some trick that helps you remember it and go with that.
06:35
Okay?
06:35
The other thing I ask you to think about is that each layer of the OSI model we refer to data a little bit differently based on the headers.
06:44
When data is at the application presentation session layer, we still refer to it as data.
06:49
But once it comes down to the transport layer, we have a segment down to the network layer.
06:55
We have a pocket down to the data link layer. We have a frame, and at the physical layer
07:00
it's converted in a bit.
07:02
So segment pocket frame bits.
07:06
Sometimes you'll hear these terms used interchangeably, and that's okay.
07:11
But I just want you to know that, really, these terms should vary based on the headers that have been added to the data,
07:17
So
07:18
a pack it has more headers than a segment.
07:21
A frame has more headers than a packet and so specifically at the transport layer, their specific transport information that's added to the hunter.
07:30
Next at the network Claire, specific information is added.
07:34
Then, at the data link layer, specific information is added.
07:40
This kind of gives you an idea of the broad purpose of the OSI model.
07:44
Just keep in mind. It's a seven layer model. It's designed to promote interoperability among vendors. There are standards at each of the layers,
07:51
and really, what it does is it helps us describe the process of encapsulation
07:57
and the adding of headers so that data can get from destination to destination with the correct information
Up Next