OSI REFRENCE MODEL

1,425 views
1,285 views

Published on

OSI REFRENCE MODEL
Description

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,425
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
52
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

OSI REFRENCE MODEL

  1. 1. Why do we need the OSI Model?To address the problem of networks increasing in size and in number, theInternational Organization for Standardization (ISO) researched manynetwork schemes and recognized that there was a need to create a networkmodelThis would help network builders implement networks that couldcommunicate and work togetherISO therefore, released the OSI reference model in 1984. 2
  2. 2. Don’t Get Confused.ISO - International Organization for StandardizationOSI - Open System InterconnectionIOS - Internetwork Operating SystemTo avoid confusion, some people say ―InternationalStandard Organization.” 3
  3. 3. The OSI Reference Model7 Application The OSI Model will be used throughout your6 Presentation entire networking career!5 Session4 Transport3 Network Memorize it!2 Data Link1 Physical 4
  4. 4. OSI Model ApplicationApplication(Upper) PresentationLayers Session Transport Network Data Flow Layers Data-Link Physical 5
  5. 5. Layer 7 - The Application Layer7 Application This layer deal with6 Presentation networking applications.5 Session Examples:4 Transport Email Web browsers3 Network2 Data Link PDU - User Data1 Physical Each of the layers have Protocol Data Unit (PDU) 6
  6. 6. Layer 6 - The Presentation Layer7 Application This layer is responsible for presenting the data in the6 Presentation required format which may5 Session include:4 Transport Code Formatting Encryption3 Network Compression2 Data Link PDU - Formatted Data1 Physical 7
  7. 7. Layer 5 - The Session Layer7 Application This layer establishes, manages, and terminates sessions between two communicating hosts.6 Presentation Creates Virtual Circuit Coordinates communication between systems5 Session Organize their communication by offering three different modes4 Transport Simplex Half Duplex3 Network Full Duplex2 Data Link Example:1 Physical Client Software ( Used for logging in) PDU - Formatted Data 8
  8. 8. Half Duplex• It uses only one wire pair with a digital signal running in both directions on the wire.• It also uses the CSMA/CD protocol to help prevent collisions and to permit retransmitting if a collision does occur.• If a hub is attached to a switch, it must operate in half- duplex mode because the end stations must be able to detect collisions.• Half-duplex Ethernet—typically 10BaseT—is only about 30 to 40 percent efficient because a large 10BaseT network will usually only give you 3 to 4Mbps—at most. 9
  9. 9. Full DuplexIn a network that uses twisted-pair cabling, one pair is used to carry the transmittedsignal from one node to the other node. A separate pair is used for the return orreceived signal. It is possible for signals to pass through both pairs simultaneously.The capability of communication in both directions at once is known as full duplex. 10
  10. 10. Layer 4 - The Transport Layer7 Application This layer breaks up the data from the sending host and then reassembles it in the6 Presentation receiver.5 Session It also is used to insure reliable data transport across the network.4 Transport Can be reliable or unreliable Sequencing3 Network Acknowledgment Retransmission2 Data Link Flow Control1 Physical PDU - Segments 11
  11. 11. Layer 3 - The Network Layer Sometimes referred to as the ―Cisco Layer‖.7 Application End to End Delivery Provide logical addressing that routers use for6 Presentation path determination Segments are encapsulated5 Session Internetwork Communication Packet forwarding4 Transport Packet Filtering Makes “Best Path Determination”3 Network Fragmentation2 Data Link PDU – Packets – IP/IPX1 Physical 12
  12. 12. Layer 2 - The Data Link Layer Performs Physical Addressing7 Application This layer provides reliable transit of data across a physical link.6 Presentation Combines bits into bytes and bytes into frames5 Session Access to media using MAC address Error detection, not correction4 Transport LLC and MAC Logical Link Control performs Link establishment3 Network MAC Performs Access method2 Data Link1 Physical PDU - FramesPreamble DMAC SMAC Data length DATA FCS 13
  13. 13. Layer 1 - The Physical Layer7 Application This is the physical media6 Presentation through which the data,5 Session represented as electronic signals, is sent from the source host to4 Transport the destination host.3 Network Move bits between devices2 Data Link Encoding PDU - Bits1 Physical 14
  14. 14. Data Encapsulation Application Presentation PDU Upper-Layer Data Session Transport SegmentTCP HeaderUpper-Layer Data Network Packet IP Header DataLLC Header Data FCS Data-Link FrameMAC Header Data FCS Physical Bits 0101110101001000010 15
  15. 15. Data Encapsulation 16
  16. 16. OSI Model Analogy Application Layer - Source HostAfter riding your new bicycle a few times inBangalore, you decide that you want to give it to afriend who lives in DADAR, Mumbai. 17
  17. 17. OSI Model AnalogyPresentation Layer - Source HostMake sure you have the proper directions todisassemble and reassemble the bicycle. 18
  18. 18. OSI Model Analogy Session Layer - Source HostCall your friend and make sure you have his correctaddress. 19
  19. 19. OSI Model Analogy Transport Layer - Source HostDisassemble the bicycle and put different pieces indifferent boxes. The boxes are labeled“1 of 3”, “2 of 3”, and “3 of 3”. 20
  20. 20. OSI Model Analogy Network Layer - Source HostPut your friends complete mailing address (andyours) on each box.Since the packages are too bigfor your mailbox (and since you don’t have enoughstamps) you determine that you need to go to thepost office. 21
  21. 21. OSI Model Analogy Data Link Layer – Source HostBangalore post office takes possession of the boxes. 22
  22. 22. OSI Model Analogy Physical Layer - MediaThe boxes are flown from Bangalore to Mumbai. 23
  23. 23. OSI Model Analogy Data Link Layer - DestinationDadar post office receives your boxes. 24
  24. 24. OSI Model Analogy Network Layer - DestinationUpon examining the destination address,Dadar post office determines that your boxesshould be delivered to your written homeaddress. 25
  25. 25. OSI Model Analogy Transport Layer - DestinationYour friend calls you and tells you he got all 3 boxesand he is having another friend named BOBreassemble the bicycle. 26
  26. 26. OSI Model Analogy Session Layer - DestinationYour friend hangs up because he is done talking toyou. 27
  27. 27. OSI Model Analogy Presentation Layer - DestinationBOB is finished and “presents” the bicycle to yourfriend. Another way to say it is that your friend isfinally getting him “present”. 28
  28. 28. OSI Model Analogy Application Layer - DestinationYour friend enjoys riding his new bicycle in Dadar. 29
  29. 29. Data Flow Through a Network 30
  30. 30. Type of TransmissionUnicastMulticastBroadcast 31
  31. 31. Type of Transmission 32
  32. 32. Broadcast DomainA group of devices receiving broadcast frames initiating from any device within the groupRouters do not forward broadcast frames, broadcast domains are not forwarded from one broadcast to another. 33
  33. 33. Collision The effect of two nodes sending transmissions simultaneously in Ethernet. When they meet on the physical media, the frames from each node collide and are damaged. 34
  34. 34. Collision DomainThe network area in Ethernet over which frames that have collided will be detected.Collisions are propagated by hubs and repeatersCollisions are Not propagated by switches, routers, or bridges 35
  35. 35. Physical Layer Defines • Media type 802.3 Physical • Connector type • Signaling type802.3 is responsible for LANs based on the carrier sense multiple accesscollision detect (CSMA/CD) access methodology. Ethernet is an exampleof a CSMA/CD network. 36
  36. 36. Physical Layer: Ethernet/802.3 10Base2—Thin Ethernet 10Base5—Thick Ethernet Host Hub 10BaseT—Twisted PairHosts 37
  37. 37. Device Used At Layer 1 Physical A B C D• All devices are in the same collision domain.• All devices are in the same broadcast domain.• Devices share the same bandwidth. 38
  38. 38. Hubs & Collision Domains• More end stations means more collisions.• CSMA/CD is used. 39
  39. 39. Layer 2 MAC Layer—802.3Number of Bytes 8 6 6 2 Variable 4 Preamble Destination Address Source Address Length Data FCS Ethernet II uses “Type” here and 0000.0C xx.xxxx does not use 802.2. IEEE Assigned Vendor Assigned MAC Address synchronize senders and receivers 40
  40. 40. Devices On Layer 2 (Switches & Bridges) Data-Link 1 2 3 4 OR 1 2• Each segment has its own collision domain.• All segments are in the same broadcast domain. 41
  41. 41. Switches Switch Memory• Each segment is its own collision domain.• Broadcasts are forwarded to all segments. 42
  42. 42. Layer 3 : Network Layer Network IP, IPX• Defines logical source and destination Data-Link addresses associated 802.2 with a specific protocol• Defines paths through network 802.3 Physical EIA/TIA-232 V.35 43
  43. 43. Layer 3 : (cont.) Network Layer End-Station Packet Source Destination IP Header Data Address Address Logical Address 172.15.1.1 Network NodeRoute determination occurs at this layer, so a packet must include a source anddestination address.Network-layer addresses have two components: a network component forinternetwork routing, and a node number for a device-specific address. Theexample in the figure is an example of an IP packet and address. 44
  44. 44. Layer 3 (cont.) Address Mask 172.16.122.204 255.255.0.0 172 16 122 204BinaryAddress 10101100 00010000 01111010 11001100 255 255 0 0BinaryMask 11111111 11111111 00000000 00000000 Network Host 45
  45. 45. Device On Layer 3 Router• Broadcast control• Multicast control• Optimal path determination• Traffic management• Logical addressing• Connects to WAN services 46
  46. 46. Layer 4 : Transport Layer• Distinguishes between upper-layer applications• Establishes end-to-end Transport connectivity between TCP UDP SPX applications• Defines flow control Network IP IPX• Provides reliable or unreliable services for data transfer 47
  47. 47. Reliable ServiceSender Receiver Synchronize Acknowledge, Synchronize Acknowledge Connection Established Data Transfer (Send Segments) 48
  48. 48. How They Operate Hub Bridge Switch RouterCollision Domains: 1 4 4 4Broadcast Domains: 1 1 1 4 49

×