1_osi_model.pps

Upload: saif-shaikh

Post on 04-Apr-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 1_OSI_MODEL.pps

    1/24

    1

  • 7/29/2019 1_OSI_MODEL.pps

    2/24

    OSI: Open System Interconnection .

    Developed by the International Organization forStandardization in 1974.

    There are seven layers in OSI reference Model .

    process or role

    2

    OSI Reference Model

  • 7/29/2019 1_OSI_MODEL.pps

    3/24

    3

    OSI Model Layers

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

    Layer - 7

    Layer - 6

    Layer - 5

    Layer - 4

    Layer - 3

    Layer - 2

    Layer - 1

    Upper Layer

    or

    Software Layer

    Lower Layeror

    Hardware Layer

    Heart of OSI

  • 7/29/2019 1_OSI_MODEL.pps

    4/24

    4

  • 7/29/2019 1_OSI_MODEL.pps

    5/24

    5

    Application Layer

    Application Layer isresponsible for providingNetworking Services to the user.It is also known as DesktopLayer. Identification of Servicesis done using Port Numbers.

    Ports are Entry and Exit Pointsto the Layer

    Total No. Ports 0 65535Reserved Ports 0 1023

    Open Client Ports 1024 65535

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

    Application

  • 7/29/2019 1_OSI_MODEL.pps

    6/24

    6

    Examples of Networking Services

    Service Port No.

    HTTP 80

    FTP 21

    SMTP 25

    TELNET 23

    TFTP 69

  • 7/29/2019 1_OSI_MODEL.pps

    7/247

    Application

    2180 25 6753 69

    Data flow from Application Layer

    Data

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

  • 7/29/2019 1_OSI_MODEL.pps

    8/248

    Presentation Layer

    Presentation Layer is

    responsible for converting datainto standard format.

    Examples : ASCII, EBCDIC, JPEG,MPEG, BMP, MIDI, WAV, MP3

    Following tasks are perform atPresentation layer :

    Encoding DecodingEncryption Decryption

    Compression Decompression

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

    Presentation

  • 7/29/2019 1_OSI_MODEL.pps

    9/249

    Data flow from Presentation Layer

    Data

    DataApplication

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

  • 7/29/2019 1_OSI_MODEL.pps

    10/2410

    Session Layer

    Session Layer is responsible forestablishing, maintaining andterminating session.

    Session ID works at Session Layer.

    Examples :

    RPC Remote Procedure CallSQL Structured Query Language

    NFS Network File System

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

    Session

  • 7/29/2019 1_OSI_MODEL.pps

    11/24

    11

    Data flow from Session Layer

    Data

    Data

    Data

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

  • 7/29/2019 1_OSI_MODEL.pps

    12/24

    12

    Transport Layer

    Transport Layer is

    responsible for end-to-endconnectivity. It is also known asthe heart of OSI Layers.Following tasks are performed atthe Transport Layer : -

    Identifying Service

    Multiplexing & De-multiplexing

    Segmentation

    Sequencing & Reassembling

    Error Correction

    Flow Control

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

    Transport

  • 7/29/2019 1_OSI_MODEL.pps

    13/24

    13

    Identifying Service

    Transmission Control

    Protocol

    Connection Oriented

    Acknowledgement

    Reliable

    Slower Port No. 6

    e.g. HTTP, FTP, SMTP

    User Datagram

    Protocol

    Connection Less

    No Acknowledgement

    Unreliable

    Faster Port No. 17

    e.g. DNS, DHCP, TFTP

    TCP UDP

  • 7/29/2019 1_OSI_MODEL.pps

    14/24

    14

    Application

    Presentation

    Session

    Multiplexing & De-multiplexing

    2180 25 6753 69

    Transport

    TCP - 6 UDP - 17

    Network

    Data Link

    Physical

  • 7/29/2019 1_OSI_MODEL.pps

    15/24

    15

    Data flow from Transport Layer

    Data

    Data

    Data

    DataTHSegment

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

  • 7/29/2019 1_OSI_MODEL.pps

    16/24

    16

    Network Layer

    Network Layer is

    responsible for providing bestpath for data to reach thedestination. Logical Addressingworks on this layer. Router is aNetwork Layer device.

    It is divided into two parts

    Routed Protocols

    e.g. IP, IPX, Apple Talk.

    Routing Protocols

    e.g. RIP, IGRP, OSPF, EIGRP

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

    Network

  • 7/29/2019 1_OSI_MODEL.pps

    17/24

    17

    Data flow from Network Layer

    Data

    Data

    Data

    Segment

    Segment

    NH

    e.g. Router

    Packet

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

  • 7/29/2019 1_OSI_MODEL.pps

    18/24

    18

    Datalink Layer

    Datalink Layer is

    divided into two Sub Layers :

    LLC Logical Link Control

    It talks about Wan protocols e.g.

    PPP, HDLC, Frame-relay

    MAC Media Access Control

    It talks about Physical Address.It is a 48 bit address i.e. 12 digit

    Hexadecimal Number.It is also responsible for ErrorDetection

    Devices working on Data LinkLayer are Switch, Bridge, NIC.

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

    Data Link

  • 7/29/2019 1_OSI_MODEL.pps

    19/24

    19

    e.g. Switch

    Data flow from Data Link Layer

    Data

    Data

    Data

    Segment

    DH

    Packet

    DT

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

    PacketPacketFrame

  • 7/29/2019 1_OSI_MODEL.pps

    20/24

    20

    Physical Layer

    Physical Layer is

    responsible for electrical,mechanical and procedural checks.Data will be converted into Binary(i.e.) 0s & 1s. Data will be in theform of electrical pulses if it is

    Coaxial or Twisted Pair cable and inthe form of Light if it is Fiber OpticCable.

    Devices working at Physical Layer

    are Hubs, Repeaters, Cables,Modems etc.

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    PhysicalPhysical

  • 7/29/2019 1_OSI_MODEL.pps

    21/24

    21

    Data flow from Physical Layer

    Data

    Data

    Data

    Segment

    Packet

    Frame

    Bits

    e.g. Hub

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

  • 7/29/2019 1_OSI_MODEL.pps

    22/24

    22

    Segment

    Packet

    Frame

    A B

    Packet

    Data

    Data

    Data

    Bits

    Data

    Segment

    Data Encapsulation & De-capsulation

    Packet

    Data

    Data

    Data

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    PhysicalBits

    DH DT

    NH

    THSegment

    Packet

    DT PacketDH DTDH

    NH Segment NH

    TH DataTH

    Frame Packet

  • 7/29/2019 1_OSI_MODEL.pps

    23/24

    23

    Application

    Transport

    Internet

    NetworkAccess

    Comparing OSI with TCP/IP Layers

    OSI Layers TCP/IP Layers

    Application

    Presentation

    Session

    Transport

    Network

    Data Link

    Physical

  • 7/29/2019 1_OSI_MODEL.pps

    24/24

    24