SlideShare a Scribd company logo
Data Communications & Networking
                      Lecture-05


            Course Instructor : Sehrish Rafiq
            Department Of Computer Science
                     University Of Peshawar
Lecture overview
 OSI Model
 About OSI
 Interfaces between layers
 Organization of the layers
 Functions of physical layer
 Functions of Data Link Layer
OSI Model
 International standards Organization(ISO),1947,multi-national body.
 ISO is dedicated to worldwide agreement on international standards.
 An ISO standard that covers all aspects of network communications is the Open
  Systems Interconnection(OSI ) model.
 An open system is a model that allows two different systems to communicate,
  regardless of their underlying architecture.
 Vendor specific protocols close-off communication between unrelated systems.
 The purpose of the OSI model is to open communication between different
  systems without requiring changes to the logic of the underlying hardware and
  software.
OSI Model
 OSI is not a protocol, it is a model for understanding and designing a network
  architecture that is flexible, robust & interoperable.
 It is a layered framework for the design of network systems that allow for
  communication across all types of computer systems.
 It consists of seven separate but related layers, each of which defines a segment
  of the process of moving information across a network.
 Understanding the fundamentals of the OSI model provides a solid basis for the
  exploration of data communication.
OSI Model
Layered architecture
 Each layer defines a family of functions into discrete groups
  that became the layers.
 Each layer defines a family of functions distinct from those of
  the other layers.
 Comprehensive architecture.
 The OSI model allows complete transparency between
  otherwise incompatible systems.
Layered architecture
Peer-to-Peer Processes
 Within a single machine each layer calls upon the services of the layer just
    below it.
   Between machines, layer x on one machine communicates with layer x on
    another machine.
   This communication is goverened by an agreed upon series of rules and
    conventions called protocols.
   The process on each machine that communicate at a given layer are called peer-
    to-peer processes.
   Communication between machines is therefore a peer –to-peer process using
    the protocols appropriate to a given layer.
   Direct & indirect communication.
   Each layer in the sending machine adds its own information to the message it
    receives from the layer just above it and passes the whole package to the layer
    just below it.
Peer-to-Peer Processes
 This information is added in the form of headers & trailers(control
  data).
 Headers are added at layers 6,5,4,3 and 2.
 A trailer is only added at layer 2.
 No header or trailer is added at layer 7 and 1.
 At layer 1 the entire package is converted to a form that can be
  transferred to the receiving machine.
 At the receiving machine, the message is unwrapped layer by
  layer, with each process receiving and removing data meant for it.
Communication In OSI
Interfaces between layers
 The passing of the data and network information down through the
  layers of the sending machine and back up through the layers of the
  receiving machine is made possible by an interface between each pair
  of adjacent layers.

 Each interface defines what information and services a layer must
  provide for the layer above it.

 Well defined interfaces and layer functions provide modularity to a
  network.

 As long as a layer still provides the expected services to the layer above
  it,the specific implementation of its functions can be modified or
  replaced without requiring changes to the surrounding layers.
Organization of Layers

 User support layers




Network support layers
Organization of Layers continued…
 The Network support layers deal with the physical aspects of
  moving data from one device to another (such as electrical
  specifications, physical connections, physical addressing and
  transport timing and reliability).

 The user support layers allow interoperability among unrelated
  software systems.

 The transport layer ensures end-to-end reliable data transmission.
Organization of Layers continued…
 The data link layer ensures the reliable transmission on a single
  link.

 The application, presentation, session are implemented in
  software.

 Transport, network and data link are the combination of hardware
  and software.

 Physical layer is mostly hardware.
Functions of the layers
Physical Layer
Physical Layer
 The physical layer coordinates the functions required to
  transmit a bit stream over a physical medium.
 It deals with the mechanical and electrical specifications of
  the interface and transmission medium.
 It also defines the procedures and functions that physical
  devices and interfaces have to perform for transmission to
  occur.
Concerns of the physical layer
 Physical characteristics of interfaces and media
 The physical layer defines the characteristics of the interface between the
   devices and the transmission medium.
 It also defines the type of transmission medium.



 Representation of bits
 The physical layer data consist of a stream of bits without any interpretation.
 To be transmitted bits must be encoded int to signals-electrical or optical.
 The physical layer defines the type of encoding.
Physical layer continued…
 Data rate
 The transmission rate(the number of bits sent each second) is also defined by
  the physical layer.
 In other words the physical layer defines the duration of a bit, which is how
  long it lasts.


 Synchronization of bits
 The sender and the receiver must be synchronized at the bit level.
 In other words the sender and the receiver clocks must be synchronized.
Physical layer continued…
 Line configuration
 The physical layer is concerned with the connection of devices to the medium.
 Point-to-point configuration
 Multi-point


 Physical topology
 The physical topology defines how devices are connected to make a network.


 Transmission mode
 The physical layer also defines the direction of transmission between two
  devices.
Data Link Layer
 The data Link Layer transforms the physical layer, a raw
  transmission facility, to a reliable link and is responsible for node-
  to-node delivery.

 It makes the physical layer appear error free to the upper
  layer(network layer).
Data Link Layer
Responsibilities of the Data Link
              Layer
 Framing
 The data link layer divides the stream of bits received from the network
  layer in to manageable data units called frames.


 Physical addressing
 If frames are to be distributed to different systems on the network, the
  data link layer adds a header to the frame to define the physical address
  of the sender and receiver of the frame.
 If the frame is intended for the system outside the sender’s network, the
  receiver address is the address of the device that connects one network
  to the next.
Data Link Layer continued…
 Flow control
 If the rate at which the data are absorbed by the receiver is less than the
  rate produced in the sender, the data link layer imposes a flow control
  mechanism to prevent overwhelming the receiver.

 Error control
 The data link layer adds reliability to the physical layer by adding
  mechanisms to detect and retransmit damaged or lost frames.
 It also uses a mechanism to prevent duplication of frames.
 Error control is normally achieved through a trailer added to the end of
  the frame.
Data Link Layer continued…
 Access Control
 When two or more devices are connected to the same link,
  data link layer protocols are necessary to determine which
  device has control over the link at any given time.
Data Link Layer
Example of data link layer
Thanks!!!

More Related Content

PPT
Lecture 02
PPT
Lecture 04
PPTX
Introduction to Computers Lecture # 14
PPT
Lecture 03
PPT
Data communication and computer networks | Network Topologies
PPTX
Computer networking
PDF
Types of network topology
Lecture 02
Lecture 04
Introduction to Computers Lecture # 14
Lecture 03
Data communication and computer networks | Network Topologies
Computer networking
Types of network topology

What's hot (20)

PPTX
PPT
Computer network
PDF
Introduction To Computer Networks
PDF
Network Software, System Software, Hardware, Software, Firmware, App
PPTX
Network Topology
PDF
PDF
Hub, switch, router, bridge & and repeater
PDF
Definition of computur netwoeks
PDF
PDF
Network internet
PDF
Class work 1
PPT
Computer Network
PDF
Class work4
PPTX
Presentation on computer networking
PDF
Classification of computer networks
PPTX
Data Communications and Computer Networks
PDF
Networking Cable
PDF
Classification of Computer
PPT
Network Topologies
PPTX
Network standards
Computer network
Introduction To Computer Networks
Network Software, System Software, Hardware, Software, Firmware, App
Network Topology
Hub, switch, router, bridge & and repeater
Definition of computur netwoeks
Network internet
Class work 1
Computer Network
Class work4
Presentation on computer networking
Classification of computer networks
Data Communications and Computer Networks
Networking Cable
Classification of Computer
Network Topologies
Network standards
Ad

Similar to Lecture 05 (20)

PPTX
Pwani notes-Network Essentials.pp for Internet Protocoltx
PPT
OSI Network Reference Model
PPTX
OSI Model.It was created in 1983 by osi.
PPT
Lalit bhati ppt osi
PPTX
Open system interference reference model.pptx
PPT
PPTX
The Osi Model
PDF
OSI Model.pdf
PDF
Network Connectivity and Protocols and OSI Model
PPT
Unit 2.1 - OSI Model.ppt Physical Layer
PPT
Open Systems Interconnection (OSI) modelModel.ppt
PPTX
Chapter 1-2-Network Models_data_communication.pptx
PPT
Dc lec-06 & 07 (osi model)
PPSX
Layering and Architecture
PPT
PPTX
Lecture 03
PPTX
Intoduction to Computer networking In Data Communication
PPTX
Computer network layers
Pwani notes-Network Essentials.pp for Internet Protocoltx
OSI Network Reference Model
OSI Model.It was created in 1983 by osi.
Lalit bhati ppt osi
Open system interference reference model.pptx
The Osi Model
OSI Model.pdf
Network Connectivity and Protocols and OSI Model
Unit 2.1 - OSI Model.ppt Physical Layer
Open Systems Interconnection (OSI) modelModel.ppt
Chapter 1-2-Network Models_data_communication.pptx
Dc lec-06 & 07 (osi model)
Layering and Architecture
Lecture 03
Intoduction to Computer networking In Data Communication
Computer network layers
Ad

More from Sehrish Rafiq (20)

PPTX
Introduction to Computers Lecture # 13
PPTX
Introduction to Computers Lecture # 12
PPTX
Introduction to Computers Lecture # 11
PPTX
Introduction to Computers Lecture # 10
PPTX
Introduction to Computers Lecture # 9
PPTX
Introduction to Computers Lecture # 8
PPTX
Introduction to Computers Lecture # 7
PPTX
Introduction to computers Lecture # 4
PPTX
Introduction to Computers Lecture # 5
PPTX
Introduction to Computers Lecture # 3
PPTX
Introduction to Computers Lecture # 2
PPTX
Introduction to Computers Lecture # 1
PPT
Data Communications and Networking Lecture 16
PPT
Lecture 24
PPT
Lecture 18
PPT
Lecture 21
PPT
Lecture 13
PPT
Lecture 12
PPT
Lecture 11
PPT
Lecture 07
Introduction to Computers Lecture # 13
Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 11
Introduction to Computers Lecture # 10
Introduction to Computers Lecture # 9
Introduction to Computers Lecture # 8
Introduction to Computers Lecture # 7
Introduction to computers Lecture # 4
Introduction to Computers Lecture # 5
Introduction to Computers Lecture # 3
Introduction to Computers Lecture # 2
Introduction to Computers Lecture # 1
Data Communications and Networking Lecture 16
Lecture 24
Lecture 18
Lecture 21
Lecture 13
Lecture 12
Lecture 11
Lecture 07

Recently uploaded (20)

PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Electronic commerce courselecture one. Pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Understanding_Digital_Forensics_Presentation.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Mobile App Security Testing_ A Comprehensive Guide.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
MYSQL Presentation for SQL database connectivity
Encapsulation_ Review paper, used for researhc scholars
Dropbox Q2 2025 Financial Results & Investor Presentation
Building Integrated photovoltaic BIPV_UPV.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Digital-Transformation-Roadmap-for-Companies.pptx
cuic standard and advanced reporting.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Unlocking AI with Model Context Protocol (MCP)
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Electronic commerce courselecture one. Pdf
Review of recent advances in non-invasive hemoglobin estimation
20250228 LYD VKU AI Blended-Learning.pptx

Lecture 05

  • 1. Data Communications & Networking Lecture-05 Course Instructor : Sehrish Rafiq Department Of Computer Science University Of Peshawar
  • 2. Lecture overview  OSI Model  About OSI  Interfaces between layers  Organization of the layers  Functions of physical layer  Functions of Data Link Layer
  • 3. OSI Model  International standards Organization(ISO),1947,multi-national body.  ISO is dedicated to worldwide agreement on international standards.  An ISO standard that covers all aspects of network communications is the Open Systems Interconnection(OSI ) model.  An open system is a model that allows two different systems to communicate, regardless of their underlying architecture.  Vendor specific protocols close-off communication between unrelated systems.  The purpose of the OSI model is to open communication between different systems without requiring changes to the logic of the underlying hardware and software.
  • 4. OSI Model  OSI is not a protocol, it is a model for understanding and designing a network architecture that is flexible, robust & interoperable.  It is a layered framework for the design of network systems that allow for communication across all types of computer systems.  It consists of seven separate but related layers, each of which defines a segment of the process of moving information across a network.  Understanding the fundamentals of the OSI model provides a solid basis for the exploration of data communication.
  • 6. Layered architecture  Each layer defines a family of functions into discrete groups that became the layers.  Each layer defines a family of functions distinct from those of the other layers.  Comprehensive architecture.  The OSI model allows complete transparency between otherwise incompatible systems.
  • 8. Peer-to-Peer Processes  Within a single machine each layer calls upon the services of the layer just below it.  Between machines, layer x on one machine communicates with layer x on another machine.  This communication is goverened by an agreed upon series of rules and conventions called protocols.  The process on each machine that communicate at a given layer are called peer- to-peer processes.  Communication between machines is therefore a peer –to-peer process using the protocols appropriate to a given layer.  Direct & indirect communication.  Each layer in the sending machine adds its own information to the message it receives from the layer just above it and passes the whole package to the layer just below it.
  • 9. Peer-to-Peer Processes  This information is added in the form of headers & trailers(control data).  Headers are added at layers 6,5,4,3 and 2.  A trailer is only added at layer 2.  No header or trailer is added at layer 7 and 1.  At layer 1 the entire package is converted to a form that can be transferred to the receiving machine.  At the receiving machine, the message is unwrapped layer by layer, with each process receiving and removing data meant for it.
  • 11. Interfaces between layers  The passing of the data and network information down through the layers of the sending machine and back up through the layers of the receiving machine is made possible by an interface between each pair of adjacent layers.  Each interface defines what information and services a layer must provide for the layer above it.  Well defined interfaces and layer functions provide modularity to a network.  As long as a layer still provides the expected services to the layer above it,the specific implementation of its functions can be modified or replaced without requiring changes to the surrounding layers.
  • 12. Organization of Layers User support layers Network support layers
  • 13. Organization of Layers continued…  The Network support layers deal with the physical aspects of moving data from one device to another (such as electrical specifications, physical connections, physical addressing and transport timing and reliability).  The user support layers allow interoperability among unrelated software systems.  The transport layer ensures end-to-end reliable data transmission.
  • 14. Organization of Layers continued…  The data link layer ensures the reliable transmission on a single link.  The application, presentation, session are implemented in software.  Transport, network and data link are the combination of hardware and software.  Physical layer is mostly hardware.
  • 17. Physical Layer  The physical layer coordinates the functions required to transmit a bit stream over a physical medium.  It deals with the mechanical and electrical specifications of the interface and transmission medium.  It also defines the procedures and functions that physical devices and interfaces have to perform for transmission to occur.
  • 18. Concerns of the physical layer  Physical characteristics of interfaces and media  The physical layer defines the characteristics of the interface between the devices and the transmission medium.  It also defines the type of transmission medium.  Representation of bits  The physical layer data consist of a stream of bits without any interpretation.  To be transmitted bits must be encoded int to signals-electrical or optical.  The physical layer defines the type of encoding.
  • 19. Physical layer continued…  Data rate  The transmission rate(the number of bits sent each second) is also defined by the physical layer.  In other words the physical layer defines the duration of a bit, which is how long it lasts.  Synchronization of bits  The sender and the receiver must be synchronized at the bit level.  In other words the sender and the receiver clocks must be synchronized.
  • 20. Physical layer continued…  Line configuration  The physical layer is concerned with the connection of devices to the medium.  Point-to-point configuration  Multi-point  Physical topology  The physical topology defines how devices are connected to make a network.  Transmission mode  The physical layer also defines the direction of transmission between two devices.
  • 21. Data Link Layer  The data Link Layer transforms the physical layer, a raw transmission facility, to a reliable link and is responsible for node- to-node delivery.  It makes the physical layer appear error free to the upper layer(network layer).
  • 23. Responsibilities of the Data Link Layer  Framing  The data link layer divides the stream of bits received from the network layer in to manageable data units called frames.  Physical addressing  If frames are to be distributed to different systems on the network, the data link layer adds a header to the frame to define the physical address of the sender and receiver of the frame.  If the frame is intended for the system outside the sender’s network, the receiver address is the address of the device that connects one network to the next.
  • 24. Data Link Layer continued…  Flow control  If the rate at which the data are absorbed by the receiver is less than the rate produced in the sender, the data link layer imposes a flow control mechanism to prevent overwhelming the receiver.  Error control  The data link layer adds reliability to the physical layer by adding mechanisms to detect and retransmit damaged or lost frames.  It also uses a mechanism to prevent duplication of frames.  Error control is normally achieved through a trailer added to the end of the frame.
  • 25. Data Link Layer continued…  Access Control  When two or more devices are connected to the same link, data link layer protocols are necessary to determine which device has control over the link at any given time.
  • 27. Example of data link layer