OSI Model - Every Detail Explained

53,808 views

Published on

Published in: Technology
4 Comments
19 Likes
Statistics
Notes
No Downloads
Views
Total views
53,808
On SlideShare
0
From Embeds
0
Number of Embeds
161
Actions
Shares
0
Downloads
1,910
Comments
4
Likes
19
Embeds 0
No embeds

No notes for slide

OSI Model - Every Detail Explained

  1. 2. OSI Model
  2. 3. Data Transmission Process <ul><li>When the end user sends data, that data will go through all seven layers of the OSI model. The data is broken into smaller and smaller parts beginning at Layer 4 (the Transport Layer) until it's in the form of electric signals that can be sent across the physical media. </li></ul><ul><li>As the data flows down the OSI model, it's refered to by different terms. There are 4 diff. terms : </li></ul>
  3. 4. Data Transmission Process <ul><li>At Application, Presentation, and Session layers, data is simply called ”Data” . </li></ul><ul><li>At the Transport layer, data is placed into segments. </li></ul><ul><li>At the Network layer, data is placed into packets. </li></ul><ul><li>At the Data Link layer, data is placed into frames. </li></ul><ul><li>Finally, at the Physical layer, data takes the form of bits, and it's all 1s and 0s ! </li></ul>
  4. 5. Application Layer <ul><li>This is the layer where the end users themselves interact with the network. Authentication services also run at Layer 7, but encryption runs at next layer down. </li></ul><ul><li>The Application layer ensures that the remote communication partner is available, that the needed communication resource exist (e.g. A modem), and that both ends of the comunication agree on procedures involving data integrity, privacy, and error recovery. </li></ul>
  5. 6. Application Layer <ul><li>When trying to decide if a protocol is an Appliction layer protocol, just remember that protocols that require the end user to enter a request are Application layer protocols. Firewalls , devices intended to keep network intruders out, operate at Layer 7. </li></ul><ul><li>Protocols & services that run at L7 include : </li></ul><ul><ul><li>Email protocols : SMTP & POP3 </li></ul></ul><ul><ul><li>Telnet, HTTP, FTP </li></ul></ul><ul><ul><li>SNMP (Simple N/w Management Protocol) </li></ul></ul>
  6. 7. Presentation Layer <ul><li>This layer answers one simple question : ”How should data be presented ?” In addition to properly formatting data, encryption occurs at this layer. </li></ul><ul><li>Have you ever opened a file in word processing application, and you got pages of unrecognizable characters? That's a Presentation layer issue. The applications have not agreed on how the data is to be presented. </li></ul>
  7. 8. Presentation Layer <ul><li>There are 4 primary tasks that this layer is concerned with : </li></ul><ul><ul><li>Compatibility with OS. </li></ul></ul><ul><ul><li>Proper encapsulation of data for n/w transmission. </li></ul></ul><ul><ul><li>Data formatting ( ASCII, Binary) </li></ul></ul><ul><ul><li>Data encryption, compression and translation. </li></ul></ul><ul><li>You've probably seen some of the file types that are used at Presentation layer : JPEG, ASCII, GIF, MPEG, MIDI and TIFF. </li></ul>
  8. 9. Session Layer <ul><li>Layer 5 is the ”manager” of the two-way communication between two remote hosts. This is the layer that handles the creation, maintenance, and teardown of communications between those two hosts. The overall communication itself is reffered to as a session. </li></ul><ul><li>Some sessions last just long enough to send a unidirectional message, where other sessions will be of longer duration. </li></ul>
  9. 10. Transport Layer <ul><li>The Transport Layer's purpose is to establish a logical end-to-end connection between two systems, segment data received from the upper layers of the OSI model, and to make sure the data gets to the destination in the correct order and free of errors. </li></ul><ul><li>At this layer, there are two methods for transporting data : </li></ul><ul><ul><li>Connection oriented </li></ul></ul><ul><ul><li>Connection less </li></ul></ul>
  10. 11. Network Layer <ul><li>It is Layer 3 of the OSI model. IP runs at this layer, and since routers operate here at L3, this layer is often called ”Routing Layer”. Routing is a two question process : </li></ul><ul><ul><li>What valid paths exist from the local router to a given destination ? </li></ul></ul><ul><ul><li>What is the best path (” The Optimal Path ”) to take to get there ? </li></ul></ul>
  11. 12. Data Link Layer <ul><li>The switches operate at Layer 2. Wireless Access Points (WAPs) also operate at this layer. Devices that you may be using to access the internet, cable modems and DSL modems, also run at L2. </li></ul><ul><li>4 major specifications that run here are : </li></ul><ul><ul><li>Ethernet </li></ul></ul><ul><ul><li>High Data Link Control (HDLC) </li></ul></ul><ul><ul><li>Point-to-Point Protocol (PPP) </li></ul></ul><ul><ul><li>Frame Relay </li></ul></ul>
  12. 13. Data Link Layer <ul><li>The Data Link Layer does perform error detection through something called the Frame Check Sequence, but this layer does not perform error recovery. </li></ul><ul><li>Data Link Layer is generally referred to as Layer 2, and MAC addresses as Layer 2 addresses. </li></ul><ul><li>Switches operate at Layer 2, as do bridges. L3 bridges do exist, but when operating at Layer 3, they are not switching or bridging. They are routing. </li></ul>
  13. 14. Physical Layer <ul><li>Whatever data our end users are creating, it's going to eventually be ”translated” into a series of 1s and 0s. Once that is done, it's the Physical layer that handles the actual data transmission. </li></ul><ul><li>Anything to do with a phsical cable or the standards in use – the pins, the connectors, the electrical current itself – is running at the Physical Layer. </li></ul>
  14. 15. Data Transmission Process <ul><li>As data flows down the OSI model, each layer adds a header that will be removed by the same layer on the other end of the session. These headers are layer-specific. </li></ul><ul><li>As an end user enters data for transmission to a remote host, the first 6 layers of the OSI model will add a layer-specific header that contains information to be read by same layer at remote location. </li></ul><ul><li>Layer 2, adds both a trailer and a header. </li></ul>
  15. 16. Data Transmission Process <ul><li>The combination of data and a layer-specific header is called a Protocol Data Unit (PDU). There's a PDU for each layer. The combination of data and L7 header information is called an L7 PDU. </li></ul><ul><li>After the data is successfully transmitted by the Physical layer to the remote location, each layer will remove the header added by it's counterpart, i.e. Layer 3 removes the L3 header and reads it, and so forth. </li></ul>
  16. 17. Data Transmission Process <ul><li>The term same-layer interaction describes the process of a given OSI layer removing the header placed on the data by the same layer on the sending side. </li></ul><ul><li>The term adjacent-layer interaction refers to the interaction between layers of the OSI model on the same host. </li></ul>

×