SlideShare une entreprise Scribd logo
1  sur  38
Télécharger pour lire hors ligne
Open System Interconnection
          (OSI)




                   CMC Limited
Objectives
 •   Understand OSI model
 •   Explain the principle applied to arrive at seven layers.
 •   Explain the advantage of dividing network into layers.
 •   Explain the characteristics of the OSI layers.
 •   Understand how communication done between
     systems using the OSI model.
 •   Explain different networking devices used in the OSI
     layer.
 •   Understand TCP/IP stack.
 •   Explain connectionless and connection oriented
     services.
 •   Understand Windowing


                                            CMC Limited
Introduction
 OSI reference model:

 •   Describes how information from a software
     application in one computer moves through a network
     medium to a software application in anther computer.
 •   Conceptual model composed of seven layers, each
     specifying particular network functions. Each layer is
     reasonably self-contained so that the functions
     assigned to each layer can be implemented
     independently.
 •   Developed      by    the    International    Standards
     Organization (ISO) as a first step toward international
     standardization of the protocols used in various layers
     in 1983.

                                             CMC Limited
Introduction contd..
The principles that were applied to arrive at the seven
layers are as follows:

•   A layer should be created where a different level of
    abstraction is needed.
•   Each layer should perform a well-defined function.
•   The function of each layer should be chosen with an
    eye toward defining internationally standardized
    protocols.
•   The layer boundaries should be chosen to minimize the
    information flow across the interfaces.
•   The number of layers should be large enough that
    distinct functions need not be thrown together in the
    same layer out of necessity, and small enough that the
    architecture does not become unwieldy.

                                          CMC Limited
Introduction contd..
The seven layers of the OSI model are numbered from
bottom to top as follows:
       7               Application

       6               Presentation

       5                 Session

       4                Transport

       3                 Network

       2                Data link

       1                 Physical


                                       CMC Limited
Characteristics of the OSI Layers
 The main characteristics of the seven layers OSI model are:
    •   Each layer performs a defined subset of functions
        for the overall communication process
    •   To perform more primitive functions
    •   To hide the details of the lower layer functions
    •   Each layer provides services to the next higher
        layer
    •   Modifications within a layer do not require
        modifications of the other layers
    •   Dividing the communication functions into separate
        layers facilitates the management of the
        communication process.


                                           CMC Limited
Characteristics of the OSI Layers contd..

The seven layers of the OSI reference model can be divided
into two categories:

   •   Upper Layers: Deal with application issues and
       generally implemented only in software.
   •   Lower Layers: Handle data transport issues.




                                          CMC Limited
Advantages of Dividing Network into
Layers
 •   Divides the interrelated aspects of network operation
     into less complex elements.
 •   Defines     standard     interfaces   for   plug-and-play
     compatibility and multi-vendor integration.
 •   Enables engineers to specialize design and promote
     symmetry in the different internetwork modular functions
     so that they interoperate.
 •   Prevents changes in one area from affecting other
     areas, so each area can evolve more quickly
 •   Divides the complexity of internetworking into discrete,
     more easily learned operation subsets.


                                            CMC Limited
The Seven OSI Reference Model Layers
Physical Layer (Layer 1)
 •   The physical layer is concerned with transmission of
     unstructured bit stream over physical link; involves such
     parameters as signal voltage swing and bit duration.
 •   It accepts frames of data from the upper layer, the Data
     Link Layer (Layer 2) and transmits the data serially, one
     bit at a time.




                                             CMC Limited
The Seven OSI Reference Model Layers contd..
Data Link Layer (Layer 2)
 •   The data link layer provides reliable transfer of data
     across the physical link. It sends blocks of data (frames)
     with the necessary synchronization, error control and
     flow control.
 •   It exchanges a "frame" with Data Link Layer on another
     node.
 •   The Data Link Layer provides services to the Network
     Layer above. It receives the data from layer 3 and adds
     the necessary control information, and sends it to the
     layer 1 as a frame. It also verifies the frame received
     from layer 1 and ensures the acknowledgement and
     sends the data up to the layer 3.


                                             CMC Limited
Data Link Layer (Layer 2) contd..

The Data Link layer contains two sub-layers:

•   Logical Link Control (LLC): This sublayer is
    responsible for identifying Network layer protocols and
    then encapsulating them. An LLC header tells the Data
    Link layer what to do with a packet once a frame is
    received.
•   Media Access Control (MAC): This defines how
    packets are placed on the media. Contention media
    access is “first cum first served” access where everyone
    shares the same bandwidth. Physical addressing is
    defined here, as well as logical topologies.



                                           CMC Limited
The Seven OSI Reference Model Layers contd..
Network Layer (Layer 3)
 The Network layer manages device addressing, tracks the
 location of devices on the network and determines the best
 way to move data.

 Routers (layer 3 devices) are specified at the Network layer
 and provide the routing services within an internetwork.

 Two types of packets are used at the Network layer:

 •   Data Packets: It is used to transport user data through
     the internetwork.
 •   Route Update Packets: It is used to update neighboring
     routers about the networks connected to all routers
     within the internetwork.

                                            CMC Limited
The Seven OSI Reference Model Layers contd..

Transport Layer (Layer 4)
 The transport layer accepts data from the session layer and
 segments the data for transport across the network. This
 layer is responsible for making sure that the data is
 delivered error-free and in the proper sequence.

 Flow Control: Data integrity is ensured at the Transport
 layer by maintaining flow control and by allowing users to
 request reliable data transport between systems.

 Multiplexing enables data from several applications to be
 transmitted onto a single physical link



                                           CMC Limited
Transport Layer (Layer 4) contd..
Reliable data transport employs a connection-oriented
communications session between systems, and the
protocols involved ensure that the following will be
achieved:

•   The segments delivered are acknowledged back to the
    sender upon their reception.
•   Any segments not acknowledged are retransmitted.
•   Segments are sequenced back into their proper order
    upon arrival at their destination.
•   A manageable data flow is maintained in order to avoid
    congestion, overloading, and data loss.




                                          CMC Limited
The Seven OSI Reference Model Layers contd..
Session Layer (Layer 5)

 The main function of the OSI model's session layer is to
 control "sessions", which are logical connections between
 network devices.

 This layer provides dialogue control between devices, or
 nodes. It coordinates communication between systems and
 serves to organize their communication by offering three
 different modes:
     •   Simplex
     •   Half duplex
     •   Full duplex


                                         CMC Limited
The Seven OSI Reference Model Layers contd..


Presentation Layer (Layer 6)
 It presents data to the Application layer. It's basically a
 translator and provides coding and conversion functions.

 By providing translation services, the Presentation layer
 ensures that data transferred from the Application layer of
 one system can be read by the Application layer of another
 host.

 Tasks like data compression, decompression, encryption
 and decryption are associated with this layer.



                                           CMC Limited
Presentation Layer (Layer 6) contd..

Some Presentation layer standards are involved in
multimedia operations. The following serve to direct graphic
and visual image presentation:
•   JPEG: The Joint Photographic Experts Group brings
    these photo standards.
•   MIDI: The Musical Instrument Digital Interface is used
    for digitized music.
•   MPEG: The Moving Pictures Experts Group's standard
    for the compression and coding of motion video for CD's
    is very popular.
•   QuickTime: This is for use with Machintosh or Power
    PC programs, it manages audio and video applications.



                                           CMC Limited
The Seven OSI Reference Model Layers contd..

Application Layer (Layer 7)
 The application layer is the OSI layer closest to the end
 user, which means that both the OSI application layer and
 the user interact directly with the software application.

 Application layer functions typically include identifying
 communication partners, determining resource availability
 and synchronizing communication.

 Some examples of application layer implementations
 include Telnet, File Transfer Protocol (FTP) and Simple Mail
 Transfer Protocol (SMTP).



                                            CMC Limited
Communication between Systems
using the OSI Model
Information being transferred from a software application in
one computer system to a software application in another
must pass through the OSI layers.

A given layer in the OSI model generally communicates with
three other OSI layers:        System X              System Y
•   layer directly above it   Application            Application
•   layer directly below it   Presentation           Presentation
•   its peer layer in other     Session                Session
    networked computer         Transport              Transport

    systems                     Network                Network
                               Data link              Data link
                               Physical                Physical

                                             CMC Limited
Communication between Systems using the OSI Model contd..
How data is transmitted using the OSI model
    System X                                                                                  System Y

     Sending                                                                                  Receiving
     Process                                                                                   Process

                                                                               Data

   Application                                                                                Application
                   Application Protocol                             AH         Data
     Layer                                                                                      Layer
  Presentation                                                                               Presentation
     Layer         Presentation Protocol                   PH            Data Unit              Layer
  Session Layer                                                                             Session Layer
                   Session Protocol               SH               Data Unit

 Transport Layer                                                                            Transport Layer
                   Transport Protocol      TH                   Data Unit

  Network Layer    Network                                                                  Network Layer
                                      NH                  Data Unit
                   Protocol
 Data link Layer              DH                       Data Unit                      DT    Data link Layer

  Physical Layer                                                                            Physical Layer
                                                         Bits

                                                     Network
                                           Actual data transmission path



                                                                                      CMC Limited
Communication between Systems using the OSI Model contd..

Encapsulation

As data travels down the layer stack at the sending system,
each layer adds a header to the front of it and gives the
resulting item to the lower layer. Some layer also adds a trailer
to the rear of the data unit. This addition of a header/trailer to
the higher layer data unit is called encapsulation.

De-encapsulation
As data travels upward the layer stack at the receiving system,
the layer reads the header from its peer layer, strips it off, and
passes the remaining information unit to the next highest layer.
This is known as de-encapsulation.


                                               CMC Limited
More on Encapsulation
 There are five steps of encapsulation:

    1. User information is converted into data.
    2. Data is converted into segments for transport
       across the network.
    3. Segments are converted into packets.
    4. Packets and datagrams are converted into
       frames and the Data Link header is added.
    5. The data in the frames is converted into bits for
       transmission over the physical media.




                                          CMC Limited
More on Encapsulation contd..

The following table describes data encapsulation by OSI
layer:

        OSI Layer               Encapsulation

    Transport            Segment

    Network              Packet

    Data Link            Frame

    Physical             Bits




                                        CMC Limited
Networking Devices to their OSI Layer
Physical Layer: Repeater, Hub, Network interface card (NIC
card)
 •   Repeater: A repeater is a network device. The main
     function of repeater is to regenerate a single to allow it
     to travel greater distances along a network.




                                              CMC Limited
Networking Devices to their OSI Layer contd..

•   HUB: It operates at the Physical layer of the OSI
    model. HUB does not have any processing power, it's
    just a box where you plug cables.




                                       CMC Limited
Networking Devices to their OSI Layer contd..

•   NIC: Puts the data into packets and transmits packet
    onto the network. Every NIC card has a unique address
    burnt into the card. This address is in a flat
    hexadecimal number.




                                         CMC Limited
Networking Devices to their OSI Layer contd..

Data Link Layer: Switches, Bridges

•   Switch: Switch acts like a hub, but unlike the hub it
    examines the destination MAC (Media Access Control)
    addresses of the packet to decide where the packet
    should be forwarded.




•   Bridge: Bridges segments a network and reduce
    network traffic by examining the source and destination
    hardware address of the packet.



                                           CMC Limited
Networking Devices to their OSI Layer contd..

Network Layer: Routers

•   Routers: Devices at the Network layer are concerned
    with two main things – network addressing and routing.

    Routers reduce broadcast storms because they don't
    route broadcast packets.




           Cisco 1600 and 2500 Series Router

                                          CMC Limited
Differences between Data Link and
Network Addresses
 Data Link addresses (Data-link layer) are for the most part
 referred to as flat address space unique addresses.

 We mostly relate them to the term physical or hardware
 addressing.

 Example Address: 00-AA-BB-CC-DD-EE (MAC Address)




                                           CMC Limited
Differences between Data Link and Network Addresses contd..


  Network Addresses (Network Layer) are logical addresses
  that are used for path selection, route determination and
  selection.

  Example Address: 192.168.100.2 where 192.168.100 is the
  network and 2 is the individual host ID




                                           CMC Limited
OSI Model and TCP/IP Stack
 OSI Model Layers     TCP/IP Protocol Architecture Layers    TCP/IP Protocol Suite


 Application Layer
                                                                       FTP
                                                                      HTTP
 Presentation Layer           Application Layer                       SMTP
                                                                      SNMP
                                                                     TELNET
   Session Layer


  Transport Layer        Host-to-Host Transport Layer        TCP               UDP


   Network Layer                Internet Layer                         IP
                                                            ARP       RARP         ICMP

  Data link Layer                                                    Ethernet
                                                                   Fast Ethernet
                           Network Interface Layer                  Token Ring
  Physical Layer                                                       FDDI




                                                            CMC Limited
OSI Model and TCP/IP Stack contd..
TCP/IP Protocol Suite
TCP/IP makes it possible for two computers, which are part
of different networks (connected by routers or gateways) to
exchange data.

Different protocols of TCP/IP suite:
 •   Application protocols occupy the highest protocol
     layers and provide specific services.
 •   TCP (Transfer Control Protocol) and UDP (User
     Datagram Protocol) facilitate the transmission of data
     streams between applications running on different hosts.
 •   IP (Internet Protocol), a lower-level protocol than TCP
     or UDP, governs the transmission of data packets
     throughout a computer network.

                                           CMC Limited
TCP/IP Protocol Suite contd..
Application Protocols:
   •   FTP (File Transfer Protocol)
   •   HTTP (Hypertext Transfer Protocol)
   •   SMTP (Simple Mail Transfer Protocol)
   •   SNMP (Simple Network Management Protocol)
   •   NNTP (Network News Transfer Protocol)
   •   Telnet
   •   WAP (Wireless Application Protocol)

Network layer protocols, that are less visible but play
equally important roles in TCP/IP networks, include:
   •   ARP (Address Resolution Protocol)
   •   RARP (Reverse Address Resolution Protocol)
   •   ICMP (Internet Control Message Protocol)

                                         CMC Limited
Connection-Oriented and Connectionless
Services
 Connection-oriented means that a connection (a virtual
 link) must be established before data can be exchanged. In
 connection-oriented service the source first informs the
 network it wishes to start a conversation with destination,
 the network sends it's request to the destination that
 accepts or rejects the request. If the destination refuses,
 connection fails, otherwise connection is established.
 The communication proceeds through three well-defined
 phases:
     • Connection establishment
     • Data transfer
     • Connection release

                                            CMC Limited
Connection-Oriented and Connectionless Services contd..
A typical reliable session taking place between sending and
receiving systems.


   Sender                                       Receiver


                       Synchronize
                    Negotiate Connection
                       Synchronize
                       Acknowledge
                   Connection Established

                        Data Transfer
                      (Send segments)

                                            CMC Limited
Connection-Oriented and Connectionless Services contd..

Connectionless is the opposite of connection-oriented.
The sender does not establish a connection before it sends
data, it just sends without guaranteeing delivery. Packets
sent between two hosts may take different routes. UDP is
an example of a connectionless transport protocol.




                                          CMC Limited
Windowing

 The quantity of data segments (measured in bytes) the
 transmitting machine is allowed to send without receiving an
 acknowledgment for them is called a window.




                                           CMC Limited
Windowing contd..


Sender                           Receiver

          Window size of 1
 Send 1                         Receive 1
                                 Ack 2
 Send 2                         Receive 2
                                 Ack 3

          Window size of 3
 Send 1
 Send 2
 Send 3
                                 Ack 4
 Send 4


                             CMC Limited

Contenu connexe

Tendances

Networking for MBA
Networking for MBANetworking for MBA
Networking for MBAKK Bajpai
 
006 Osi Model
006 Osi Model006 Osi Model
006 Osi ModelBELKA08
 
Full presentation of The OSI model
Full presentation of The OSI model Full presentation of The OSI model
Full presentation of The OSI model FizzaShehwar
 
OSI Model - Open Systems Interconnection
OSI Model - Open Systems InterconnectionOSI Model - Open Systems Interconnection
OSI Model - Open Systems InterconnectionAdeel Rasheed
 
Lalit bhati ppt osi
Lalit bhati ppt osiLalit bhati ppt osi
Lalit bhati ppt osiLalit Bhati
 
7 Layers OSI model description with 3 unofficial Layers.
7 Layers OSI model description with 3 unofficial Layers.7 Layers OSI model description with 3 unofficial Layers.
7 Layers OSI model description with 3 unofficial Layers.Kanishk Raj
 
THE COMPLETE OSI MODEL
THE COMPLETE OSI MODEL THE COMPLETE OSI MODEL
THE COMPLETE OSI MODEL AMIT GUPTA
 
Dc lec-06 & 07 (osi model)
Dc lec-06 & 07 (osi model)Dc lec-06 & 07 (osi model)
Dc lec-06 & 07 (osi model)diaryinc
 
Osi model(open system interconnection)
Osi model(open system interconnection)Osi model(open system interconnection)
Osi model(open system interconnection)Dipu Thomas joy
 
Osi reference model in Networking
Osi reference model in NetworkingOsi reference model in Networking
Osi reference model in NetworkingSatya P. Joshi
 
Osi Layer model provided by TopTechy.com
Osi Layer model provided by TopTechy.comOsi Layer model provided by TopTechy.com
Osi Layer model provided by TopTechy.comVicky Kamboj
 
Osi reference model
Osi reference modelOsi reference model
Osi reference modelprashob7
 

Tendances (20)

Networking for MBA
Networking for MBANetworking for MBA
Networking for MBA
 
006 Osi Model
006 Osi Model006 Osi Model
006 Osi Model
 
Osi model
Osi modelOsi model
Osi model
 
OSI MODEL
OSI MODELOSI MODEL
OSI MODEL
 
OSI model
OSI model OSI model
OSI model
 
Full presentation of The OSI model
Full presentation of The OSI model Full presentation of The OSI model
Full presentation of The OSI model
 
OSI Model - Open Systems Interconnection
OSI Model - Open Systems InterconnectionOSI Model - Open Systems Interconnection
OSI Model - Open Systems Interconnection
 
Lalit bhati ppt osi
Lalit bhati ppt osiLalit bhati ppt osi
Lalit bhati ppt osi
 
OSI Reerence Model
OSI Reerence ModelOSI Reerence Model
OSI Reerence Model
 
7 Layers OSI model description with 3 unofficial Layers.
7 Layers OSI model description with 3 unofficial Layers.7 Layers OSI model description with 3 unofficial Layers.
7 Layers OSI model description with 3 unofficial Layers.
 
THE COMPLETE OSI MODEL
THE COMPLETE OSI MODEL THE COMPLETE OSI MODEL
THE COMPLETE OSI MODEL
 
Dc lec-06 & 07 (osi model)
Dc lec-06 & 07 (osi model)Dc lec-06 & 07 (osi model)
Dc lec-06 & 07 (osi model)
 
Osi model(open system interconnection)
Osi model(open system interconnection)Osi model(open system interconnection)
Osi model(open system interconnection)
 
Osi reference model in Networking
Osi reference model in NetworkingOsi reference model in Networking
Osi reference model in Networking
 
OSI Model
OSI ModelOSI Model
OSI Model
 
OSI Model | Computer Science
OSI Model | Computer ScienceOSI Model | Computer Science
OSI Model | Computer Science
 
Osi Layer model provided by TopTechy.com
Osi Layer model provided by TopTechy.comOsi Layer model provided by TopTechy.com
Osi Layer model provided by TopTechy.com
 
OSI Model
OSI ModelOSI Model
OSI Model
 
OSI Layers
OSI Layers OSI Layers
OSI Layers
 
Osi reference model
Osi reference modelOsi reference model
Osi reference model
 

En vedette

Networking Chapter 16
Networking Chapter 16Networking Chapter 16
Networking Chapter 16mlrbrown
 
Cisco 100-101 Exam Questions and Answers
Cisco 100-101 Exam Questions and AnswersCisco 100-101 Exam Questions and Answers
Cisco 100-101 Exam Questions and Answersadam_jhon
 
Osi model explained with wireshark
Osi model explained with wiresharkOsi model explained with wireshark
Osi model explained with wiresharkJoshua Kathiravan
 
Cisco-Protocolos de Enrutamiento
Cisco-Protocolos de Enrutamiento Cisco-Protocolos de Enrutamiento
Cisco-Protocolos de Enrutamiento Gerardo Galindo
 
Milind Mishra OSI model
Milind Mishra OSI modelMilind Mishra OSI model
Milind Mishra OSI modelMilind Mishra
 
Sept 2017 cisco certification routers
Sept 2017  cisco certification routersSept 2017  cisco certification routers
Sept 2017 cisco certification routersshahin raj
 
The OSI model and TCP/IP
The OSI model and TCP/IPThe OSI model and TCP/IP
The OSI model and TCP/IPYohniki Gordon
 
Wierless networks ch3 (1)
Wierless networks ch3 (1)Wierless networks ch3 (1)
Wierless networks ch3 (1)bheemsain
 
OSI Model (Data Communication) DC3
OSI Model (Data Communication) DC3OSI Model (Data Communication) DC3
OSI Model (Data Communication) DC3koolkampus
 
Module 5 Sniffers
Module 5  SniffersModule 5  Sniffers
Module 5 Sniffersleminhvuong
 
Network infrastructure - TCP/IP
Network infrastructure - TCP/IPNetwork infrastructure - TCP/IP
Network infrastructure - TCP/IPraymondkao
 
Comparison and Contrast between OSI and TCP/IP Model
Comparison and Contrast between OSI and TCP/IP ModelComparison and Contrast between OSI and TCP/IP Model
Comparison and Contrast between OSI and TCP/IP ModelConferencias FIST
 
RIP - Routing Information Protocol
RIP - Routing Information ProtocolRIP - Routing Information Protocol
RIP - Routing Information Protocolselvakumar_b1985
 
Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1CAVC
 
Osi model
Osi modelOsi model
Osi modelOnline
 

En vedette (20)

Osi model
Osi modelOsi model
Osi model
 
Networking Chapter 16
Networking Chapter 16Networking Chapter 16
Networking Chapter 16
 
Osi model
Osi modelOsi model
Osi model
 
OSI MODEL - A PROJECT
OSI MODEL - A PROJECTOSI MODEL - A PROJECT
OSI MODEL - A PROJECT
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Cisco 100-101 Exam Questions and Answers
Cisco 100-101 Exam Questions and AnswersCisco 100-101 Exam Questions and Answers
Cisco 100-101 Exam Questions and Answers
 
Osi model explained with wireshark
Osi model explained with wiresharkOsi model explained with wireshark
Osi model explained with wireshark
 
Cisco-Protocolos de Enrutamiento
Cisco-Protocolos de Enrutamiento Cisco-Protocolos de Enrutamiento
Cisco-Protocolos de Enrutamiento
 
Milind Mishra OSI model
Milind Mishra OSI modelMilind Mishra OSI model
Milind Mishra OSI model
 
Sept 2017 cisco certification routers
Sept 2017  cisco certification routersSept 2017  cisco certification routers
Sept 2017 cisco certification routers
 
The OSI model and TCP/IP
The OSI model and TCP/IPThe OSI model and TCP/IP
The OSI model and TCP/IP
 
Wierless networks ch3 (1)
Wierless networks ch3 (1)Wierless networks ch3 (1)
Wierless networks ch3 (1)
 
OSI Model (Data Communication) DC3
OSI Model (Data Communication) DC3OSI Model (Data Communication) DC3
OSI Model (Data Communication) DC3
 
Module 5 Sniffers
Module 5  SniffersModule 5  Sniffers
Module 5 Sniffers
 
Network infrastructure - TCP/IP
Network infrastructure - TCP/IPNetwork infrastructure - TCP/IP
Network infrastructure - TCP/IP
 
Comparison and Contrast between OSI and TCP/IP Model
Comparison and Contrast between OSI and TCP/IP ModelComparison and Contrast between OSI and TCP/IP Model
Comparison and Contrast between OSI and TCP/IP Model
 
RIP - Routing Information Protocol
RIP - Routing Information ProtocolRIP - Routing Information Protocol
RIP - Routing Information Protocol
 
Packet sniffers
Packet sniffersPacket sniffers
Packet sniffers
 
Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1
 
Osi model
Osi modelOsi model
Osi model
 

Similaire à Chapter2

Similaire à Chapter2 (20)

Open system interference reference model.pptx
Open system interference reference model.pptxOpen system interference reference model.pptx
Open system interference reference model.pptx
 
2- lec_2.pptxDesigning with Type, SpacingDesigning with Type, SpacingDesignin...
2- lec_2.pptxDesigning with Type, SpacingDesigning with Type, SpacingDesignin...2- lec_2.pptxDesigning with Type, SpacingDesigning with Type, SpacingDesignin...
2- lec_2.pptxDesigning with Type, SpacingDesigning with Type, SpacingDesignin...
 
639588.pptx
639588.pptx639588.pptx
639588.pptx
 
Osi model
Osi modelOsi model
Osi model
 
Osi model 7 Layers
Osi model 7 LayersOsi model 7 Layers
Osi model 7 Layers
 
Osi model
Osi modelOsi model
Osi model
 
The osi model
The osi modelThe osi model
The osi model
 
Osi layer model
Osi layer modelOsi layer model
Osi layer model
 
BAPANKAR15800121011 SOFT.pptx
BAPANKAR15800121011 SOFT.pptxBAPANKAR15800121011 SOFT.pptx
BAPANKAR15800121011 SOFT.pptx
 
Ccna notes
Ccna notesCcna notes
Ccna notes
 
Overview of an OSI reference Model
Overview of an OSI reference ModelOverview of an OSI reference Model
Overview of an OSI reference Model
 
Wp simoneau osi_model
Wp simoneau osi_modelWp simoneau osi_model
Wp simoneau osi_model
 
Ccna notes
Ccna notesCcna notes
Ccna notes
 
COMPUTER NETWORK_OSI & TCP/IP
COMPUTER NETWORK_OSI & TCP/IPCOMPUTER NETWORK_OSI & TCP/IP
COMPUTER NETWORK_OSI & TCP/IP
 
Osi reference model and the tcp
Osi reference model and the tcpOsi reference model and the tcp
Osi reference model and the tcp
 
7 layers of osi models
7 layers of osi models7 layers of osi models
7 layers of osi models
 
ch5-osi.pdf
ch5-osi.pdfch5-osi.pdf
ch5-osi.pdf
 
OSI Pankaj yadav
OSI  Pankaj yadavOSI  Pankaj yadav
OSI Pankaj yadav
 
Networking Standards And Protocols
Networking Standards And ProtocolsNetworking Standards And Protocols
Networking Standards And Protocols
 
Ccna notes
Ccna notesCcna notes
Ccna notes
 

Plus de Suchit Aher (9)

Chapter 9
Chapter 9Chapter 9
Chapter 9
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Chapter 7
Chapter 7Chapter 7
Chapter 7
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
Chapter5
Chapter5Chapter5
Chapter5
 
Chapter4
Chapter4Chapter4
Chapter4
 
Chapter3
Chapter3Chapter3
Chapter3
 
Chapter1
Chapter1Chapter1
Chapter1
 
Product no
Product noProduct no
Product no
 

Chapter2

  • 1. Open System Interconnection (OSI) CMC Limited
  • 2. Objectives • Understand OSI model • Explain the principle applied to arrive at seven layers. • Explain the advantage of dividing network into layers. • Explain the characteristics of the OSI layers. • Understand how communication done between systems using the OSI model. • Explain different networking devices used in the OSI layer. • Understand TCP/IP stack. • Explain connectionless and connection oriented services. • Understand Windowing CMC Limited
  • 3. Introduction OSI reference model: • Describes how information from a software application in one computer moves through a network medium to a software application in anther computer. • Conceptual model composed of seven layers, each specifying particular network functions. Each layer is reasonably self-contained so that the functions assigned to each layer can be implemented independently. • Developed by the International Standards Organization (ISO) as a first step toward international standardization of the protocols used in various layers in 1983. CMC Limited
  • 4. Introduction contd.. The principles that were applied to arrive at the seven layers are as follows: • A layer should be created where a different level of abstraction is needed. • Each layer should perform a well-defined function. • The function of each layer should be chosen with an eye toward defining internationally standardized protocols. • The layer boundaries should be chosen to minimize the information flow across the interfaces. • The number of layers should be large enough that distinct functions need not be thrown together in the same layer out of necessity, and small enough that the architecture does not become unwieldy. CMC Limited
  • 5. Introduction contd.. The seven layers of the OSI model are numbered from bottom to top as follows: 7 Application 6 Presentation 5 Session 4 Transport 3 Network 2 Data link 1 Physical CMC Limited
  • 6. Characteristics of the OSI Layers The main characteristics of the seven layers OSI model are: • Each layer performs a defined subset of functions for the overall communication process • To perform more primitive functions • To hide the details of the lower layer functions • Each layer provides services to the next higher layer • Modifications within a layer do not require modifications of the other layers • Dividing the communication functions into separate layers facilitates the management of the communication process. CMC Limited
  • 7. Characteristics of the OSI Layers contd.. The seven layers of the OSI reference model can be divided into two categories: • Upper Layers: Deal with application issues and generally implemented only in software. • Lower Layers: Handle data transport issues. CMC Limited
  • 8. Advantages of Dividing Network into Layers • Divides the interrelated aspects of network operation into less complex elements. • Defines standard interfaces for plug-and-play compatibility and multi-vendor integration. • Enables engineers to specialize design and promote symmetry in the different internetwork modular functions so that they interoperate. • Prevents changes in one area from affecting other areas, so each area can evolve more quickly • Divides the complexity of internetworking into discrete, more easily learned operation subsets. CMC Limited
  • 9. The Seven OSI Reference Model Layers Physical Layer (Layer 1) • The physical layer is concerned with transmission of unstructured bit stream over physical link; involves such parameters as signal voltage swing and bit duration. • It accepts frames of data from the upper layer, the Data Link Layer (Layer 2) and transmits the data serially, one bit at a time. CMC Limited
  • 10. The Seven OSI Reference Model Layers contd.. Data Link Layer (Layer 2) • The data link layer provides reliable transfer of data across the physical link. It sends blocks of data (frames) with the necessary synchronization, error control and flow control. • It exchanges a "frame" with Data Link Layer on another node. • The Data Link Layer provides services to the Network Layer above. It receives the data from layer 3 and adds the necessary control information, and sends it to the layer 1 as a frame. It also verifies the frame received from layer 1 and ensures the acknowledgement and sends the data up to the layer 3. CMC Limited
  • 11. Data Link Layer (Layer 2) contd.. The Data Link layer contains two sub-layers: • Logical Link Control (LLC): This sublayer is responsible for identifying Network layer protocols and then encapsulating them. An LLC header tells the Data Link layer what to do with a packet once a frame is received. • Media Access Control (MAC): This defines how packets are placed on the media. Contention media access is “first cum first served” access where everyone shares the same bandwidth. Physical addressing is defined here, as well as logical topologies. CMC Limited
  • 12. The Seven OSI Reference Model Layers contd.. Network Layer (Layer 3) The Network layer manages device addressing, tracks the location of devices on the network and determines the best way to move data. Routers (layer 3 devices) are specified at the Network layer and provide the routing services within an internetwork. Two types of packets are used at the Network layer: • Data Packets: It is used to transport user data through the internetwork. • Route Update Packets: It is used to update neighboring routers about the networks connected to all routers within the internetwork. CMC Limited
  • 13. The Seven OSI Reference Model Layers contd.. Transport Layer (Layer 4) The transport layer accepts data from the session layer and segments the data for transport across the network. This layer is responsible for making sure that the data is delivered error-free and in the proper sequence. Flow Control: Data integrity is ensured at the Transport layer by maintaining flow control and by allowing users to request reliable data transport between systems. Multiplexing enables data from several applications to be transmitted onto a single physical link CMC Limited
  • 14. Transport Layer (Layer 4) contd.. Reliable data transport employs a connection-oriented communications session between systems, and the protocols involved ensure that the following will be achieved: • The segments delivered are acknowledged back to the sender upon their reception. • Any segments not acknowledged are retransmitted. • Segments are sequenced back into their proper order upon arrival at their destination. • A manageable data flow is maintained in order to avoid congestion, overloading, and data loss. CMC Limited
  • 15. The Seven OSI Reference Model Layers contd.. Session Layer (Layer 5) The main function of the OSI model's session layer is to control "sessions", which are logical connections between network devices. This layer provides dialogue control between devices, or nodes. It coordinates communication between systems and serves to organize their communication by offering three different modes: • Simplex • Half duplex • Full duplex CMC Limited
  • 16. The Seven OSI Reference Model Layers contd.. Presentation Layer (Layer 6) It presents data to the Application layer. It's basically a translator and provides coding and conversion functions. By providing translation services, the Presentation layer ensures that data transferred from the Application layer of one system can be read by the Application layer of another host. Tasks like data compression, decompression, encryption and decryption are associated with this layer. CMC Limited
  • 17. Presentation Layer (Layer 6) contd.. Some Presentation layer standards are involved in multimedia operations. The following serve to direct graphic and visual image presentation: • JPEG: The Joint Photographic Experts Group brings these photo standards. • MIDI: The Musical Instrument Digital Interface is used for digitized music. • MPEG: The Moving Pictures Experts Group's standard for the compression and coding of motion video for CD's is very popular. • QuickTime: This is for use with Machintosh or Power PC programs, it manages audio and video applications. CMC Limited
  • 18. The Seven OSI Reference Model Layers contd.. Application Layer (Layer 7) The application layer is the OSI layer closest to the end user, which means that both the OSI application layer and the user interact directly with the software application. Application layer functions typically include identifying communication partners, determining resource availability and synchronizing communication. Some examples of application layer implementations include Telnet, File Transfer Protocol (FTP) and Simple Mail Transfer Protocol (SMTP). CMC Limited
  • 19. Communication between Systems using the OSI Model Information being transferred from a software application in one computer system to a software application in another must pass through the OSI layers. A given layer in the OSI model generally communicates with three other OSI layers: System X System Y • layer directly above it Application Application • layer directly below it Presentation Presentation • its peer layer in other Session Session networked computer Transport Transport systems Network Network Data link Data link Physical Physical CMC Limited
  • 20. Communication between Systems using the OSI Model contd.. How data is transmitted using the OSI model System X System Y Sending Receiving Process Process Data Application Application Application Protocol AH Data Layer Layer Presentation Presentation Layer Presentation Protocol PH Data Unit Layer Session Layer Session Layer Session Protocol SH Data Unit Transport Layer Transport Layer Transport Protocol TH Data Unit Network Layer Network Network Layer NH Data Unit Protocol Data link Layer DH Data Unit DT Data link Layer Physical Layer Physical Layer Bits Network Actual data transmission path CMC Limited
  • 21. Communication between Systems using the OSI Model contd.. Encapsulation As data travels down the layer stack at the sending system, each layer adds a header to the front of it and gives the resulting item to the lower layer. Some layer also adds a trailer to the rear of the data unit. This addition of a header/trailer to the higher layer data unit is called encapsulation. De-encapsulation As data travels upward the layer stack at the receiving system, the layer reads the header from its peer layer, strips it off, and passes the remaining information unit to the next highest layer. This is known as de-encapsulation. CMC Limited
  • 22. More on Encapsulation There are five steps of encapsulation: 1. User information is converted into data. 2. Data is converted into segments for transport across the network. 3. Segments are converted into packets. 4. Packets and datagrams are converted into frames and the Data Link header is added. 5. The data in the frames is converted into bits for transmission over the physical media. CMC Limited
  • 23. More on Encapsulation contd.. The following table describes data encapsulation by OSI layer: OSI Layer Encapsulation Transport Segment Network Packet Data Link Frame Physical Bits CMC Limited
  • 24. Networking Devices to their OSI Layer Physical Layer: Repeater, Hub, Network interface card (NIC card) • Repeater: A repeater is a network device. The main function of repeater is to regenerate a single to allow it to travel greater distances along a network. CMC Limited
  • 25. Networking Devices to their OSI Layer contd.. • HUB: It operates at the Physical layer of the OSI model. HUB does not have any processing power, it's just a box where you plug cables. CMC Limited
  • 26. Networking Devices to their OSI Layer contd.. • NIC: Puts the data into packets and transmits packet onto the network. Every NIC card has a unique address burnt into the card. This address is in a flat hexadecimal number. CMC Limited
  • 27. Networking Devices to their OSI Layer contd.. Data Link Layer: Switches, Bridges • Switch: Switch acts like a hub, but unlike the hub it examines the destination MAC (Media Access Control) addresses of the packet to decide where the packet should be forwarded. • Bridge: Bridges segments a network and reduce network traffic by examining the source and destination hardware address of the packet. CMC Limited
  • 28. Networking Devices to their OSI Layer contd.. Network Layer: Routers • Routers: Devices at the Network layer are concerned with two main things – network addressing and routing. Routers reduce broadcast storms because they don't route broadcast packets. Cisco 1600 and 2500 Series Router CMC Limited
  • 29. Differences between Data Link and Network Addresses Data Link addresses (Data-link layer) are for the most part referred to as flat address space unique addresses. We mostly relate them to the term physical or hardware addressing. Example Address: 00-AA-BB-CC-DD-EE (MAC Address) CMC Limited
  • 30. Differences between Data Link and Network Addresses contd.. Network Addresses (Network Layer) are logical addresses that are used for path selection, route determination and selection. Example Address: 192.168.100.2 where 192.168.100 is the network and 2 is the individual host ID CMC Limited
  • 31. OSI Model and TCP/IP Stack OSI Model Layers TCP/IP Protocol Architecture Layers TCP/IP Protocol Suite Application Layer FTP HTTP Presentation Layer Application Layer SMTP SNMP TELNET Session Layer Transport Layer Host-to-Host Transport Layer TCP UDP Network Layer Internet Layer IP ARP RARP ICMP Data link Layer Ethernet Fast Ethernet Network Interface Layer Token Ring Physical Layer FDDI CMC Limited
  • 32. OSI Model and TCP/IP Stack contd.. TCP/IP Protocol Suite TCP/IP makes it possible for two computers, which are part of different networks (connected by routers or gateways) to exchange data. Different protocols of TCP/IP suite: • Application protocols occupy the highest protocol layers and provide specific services. • TCP (Transfer Control Protocol) and UDP (User Datagram Protocol) facilitate the transmission of data streams between applications running on different hosts. • IP (Internet Protocol), a lower-level protocol than TCP or UDP, governs the transmission of data packets throughout a computer network. CMC Limited
  • 33. TCP/IP Protocol Suite contd.. Application Protocols: • FTP (File Transfer Protocol) • HTTP (Hypertext Transfer Protocol) • SMTP (Simple Mail Transfer Protocol) • SNMP (Simple Network Management Protocol) • NNTP (Network News Transfer Protocol) • Telnet • WAP (Wireless Application Protocol) Network layer protocols, that are less visible but play equally important roles in TCP/IP networks, include: • ARP (Address Resolution Protocol) • RARP (Reverse Address Resolution Protocol) • ICMP (Internet Control Message Protocol) CMC Limited
  • 34. Connection-Oriented and Connectionless Services Connection-oriented means that a connection (a virtual link) must be established before data can be exchanged. In connection-oriented service the source first informs the network it wishes to start a conversation with destination, the network sends it's request to the destination that accepts or rejects the request. If the destination refuses, connection fails, otherwise connection is established. The communication proceeds through three well-defined phases: • Connection establishment • Data transfer • Connection release CMC Limited
  • 35. Connection-Oriented and Connectionless Services contd.. A typical reliable session taking place between sending and receiving systems. Sender Receiver Synchronize Negotiate Connection Synchronize Acknowledge Connection Established Data Transfer (Send segments) CMC Limited
  • 36. Connection-Oriented and Connectionless Services contd.. Connectionless is the opposite of connection-oriented. The sender does not establish a connection before it sends data, it just sends without guaranteeing delivery. Packets sent between two hosts may take different routes. UDP is an example of a connectionless transport protocol. CMC Limited
  • 37. Windowing The quantity of data segments (measured in bytes) the transmitting machine is allowed to send without receiving an acknowledgment for them is called a window. CMC Limited
  • 38. Windowing contd.. Sender Receiver Window size of 1 Send 1 Receive 1 Ack 2 Send 2 Receive 2 Ack 3 Window size of 3 Send 1 Send 2 Send 3 Ack 4 Send 4 CMC Limited