ROHINI COLLEGE OF ENGINEERING & TECHNOLOGY
Near Anjugrammam Junction, Palkulam - 629401
(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
(An ISO Certified Institution)
Course Name : NETWORKS AND SECURITY
Title : Introduction to data link layer
Mr.NAGARAJAN R V
Assistant Professor
Department of Electronics and Communication Engineering
On completion, students will be
able to
NAGARAJAN R V AP/ ECE,RCET
NAGARAJAN R V AP/ ECE,RCET
Communication at the data-link layer is node-to-node. A data unit from one point in the
Internet needs to pass through many networks (LANs and WANs) to reach another point.
two end hosts and the routers as nodes and the networks in between as links.
Nodes and Links
Services
When a packet is travelling in the Internet, the data-link layer of a node (host or router) is
responsible for delivering a datagram to the next node in the path.
Framing
The data-link layer at each node needs to encapsulate the datagram (packet received from
the network layer) in a frame before sending it to the next node.
NAGARAJAN R V AP/ ECE,RCET
Flow Control
Error Control
Congestion Control
If the rate at which the data are absorbed by the receiver is less than the rate at which data are
produced in the sender, the data link layer imposes a flow control mechanism to avoid
overwhelming the receiver.
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 recognize duplicate frames.
Error control is normally achieved through a trailer added to the end of the frame.
Two Categories of Links
point-to-point link
In a point-to-point link, the link is dedicated to the two devices
broadcast link
the link is shared between several pairs of devices.
NAGARAJAN R V AP/ ECE,RCET
Two Sublayers
LINK-LAYER ADDRESSING
A link-layer address is sometimes called a link address, sometimes a physical address, and
some-times a MAC address
Three Types of addresses
Unicast Address Multicast Address Broadcast Address
one-to-one communication one-to-many communication one-to-all communication
NAGARAJAN R V AP/ ECE,RCET
LINK-LAYER ADDRESSING
NAGARAJAN R V AP/ ECE,RCET
Address Resolution Protocol (ARP)
NAGARAJAN R V AP/ ECE,RCET
Caching
Packet Format
link-layer protocol
network-layer protocol
NAGARAJAN R V AP/ ECE,RCET
An Example of Communication
Activities at Alice’s Site
NAGARAJAN R V AP/ ECE,RCET
Activities at Router R1
Activities at Router R2
Activities at Bob’s Site
NAGARAJAN R V AP/ ECE,RCET
THANK YOU
NAGARAJAN R V AP/ ECE,RCET

UNIT-I Data link layer.pptx

  • 1.
    ROHINI COLLEGE OFENGINEERING & TECHNOLOGY Near Anjugrammam Junction, Palkulam - 629401 (Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai) (An ISO Certified Institution) Course Name : NETWORKS AND SECURITY Title : Introduction to data link layer Mr.NAGARAJAN R V Assistant Professor Department of Electronics and Communication Engineering
  • 2.
    On completion, studentswill be able to NAGARAJAN R V AP/ ECE,RCET
  • 3.
    NAGARAJAN R VAP/ ECE,RCET Communication at the data-link layer is node-to-node. A data unit from one point in the Internet needs to pass through many networks (LANs and WANs) to reach another point. two end hosts and the routers as nodes and the networks in between as links. Nodes and Links Services When a packet is travelling in the Internet, the data-link layer of a node (host or router) is responsible for delivering a datagram to the next node in the path. Framing The data-link layer at each node needs to encapsulate the datagram (packet received from the network layer) in a frame before sending it to the next node.
  • 4.
    NAGARAJAN R VAP/ ECE,RCET Flow Control Error Control Congestion Control If the rate at which the data are absorbed by the receiver is less than the rate at which data are produced in the sender, the data link layer imposes a flow control mechanism to avoid overwhelming the receiver. 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 recognize duplicate frames. Error control is normally achieved through a trailer added to the end of the frame. Two Categories of Links point-to-point link In a point-to-point link, the link is dedicated to the two devices broadcast link the link is shared between several pairs of devices.
  • 5.
    NAGARAJAN R VAP/ ECE,RCET Two Sublayers LINK-LAYER ADDRESSING A link-layer address is sometimes called a link address, sometimes a physical address, and some-times a MAC address Three Types of addresses Unicast Address Multicast Address Broadcast Address one-to-one communication one-to-many communication one-to-all communication
  • 6.
    NAGARAJAN R VAP/ ECE,RCET LINK-LAYER ADDRESSING
  • 7.
    NAGARAJAN R VAP/ ECE,RCET Address Resolution Protocol (ARP)
  • 8.
    NAGARAJAN R VAP/ ECE,RCET Caching Packet Format link-layer protocol network-layer protocol
  • 9.
    NAGARAJAN R VAP/ ECE,RCET An Example of Communication Activities at Alice’s Site
  • 10.
    NAGARAJAN R VAP/ ECE,RCET Activities at Router R1
  • 11.
  • 12.
  • 13.
    NAGARAJAN R VAP/ ECE,RCET
  • 14.
    THANK YOU NAGARAJAN RV AP/ ECE,RCET