SlideShare a Scribd company logo
PRESENTED BY:-> SHASHANK TIWARI
1238210034
CS 3RD YEAR
CONTENT
 OSI model
 Data Link Layer
 Sub-layers
 Functions of data link layer
 Devices and protocols
OSI MODEL
DATA LINK LAYER
“Manages the flow of data over the physical media”
Working-
 Responsible for error-free transmission
over the physical layer
 Assures error-free data submission to
the Network Layer
SUB LAYERS OF DATA LINK LAYER
1> MEDIA ACCESS CONTROL
It is lower layer
Addresses the frame
Marks the beginning and ending of the frame
Access control
1-> LOGICAL LINK CONTROL
 It is upper layer
 Frames the network layer packet
 Identifies the network layer protocol
 Error detection
 It prepares data for transmission
FUNCTIONS OF DATA LINK LAYER
Framing
Error control
Access control
Flow control
Physical add.
FRAMING
 IT USES FOR RECEIVING ERROR FREE MASSAGES
 LARGE MASSAGES MAY BE CORRUPTED BY NOISE OR OTHER
“BREAKDOWN A STREAM OF BIT
INTO SMALLER DIGESTIBLE CHUNKS
CALLED FRAMES”
WHY IT COMES INTO EXISTENCE
 FORMAT
METHODS
1) Character count
2) Byte stuffing
3) Bit stuffing
1-> CHARACTER COUNT METHOD
 FIRST BIT DEFINES THE FRAME SIZE
 IT COULD NOT DEFINES STARTING OF FRAME WHEN NOISE OCCURS
2-> BYTE STUFFING
3-> BIT STUFFING
 ADD ‘0’ AFTER 5 CONSECUTIVE 1’S AT SENDER SIDE AND
REMOVAL OF IT AT RECEIVER SIDE
 NOT GOOD EFFICIENT FOR LONG MASSAGES
ERROR DETECTION
 errors caused by signal attenuation, noise.
 receiver detects presence of errors
 signals sender for retransmission or drops
frame
 Error correction
 receiver identifies and corrects bit error(s) without
resorting to retransmission
METHODS USING IN ERROR CONTROL
 PARITY CHECKING
 CYCLE REDUNDANCY CHECK
 PARITY CHECKING (USING HAMMING CODE)
 CYCLE REDUNDANCY CHECK
a. It is based on binary
division
b. Obtained remainder
is CRC
c. Code word =data +
CRC code
 FLOW CONTROL
“FLOW CONTROL REFERS TO A SET OF PROCEDURES USED TO
RESTRICT THE AMOUNT OF DATA THAT THE SENDER CAN SEND
BEFORE WAITING FOR ACKNOWLEDGMENT”
 Manages data flow rate over slow receiver device than sender
 Receiving device has a limited speed at which it can process incoming
data
 Receiver has a block of memory , called a BUFFER
 Buffer stores incoming data until they processed
 Incoming data must be checked before used
1) STOP-AND-WAIT FLOW CONTROL
Timeout
Timeout
Frame lost A
retransmits
ACK lost A
retransmits
A B
B discards
duplicate
frame
2) SLIDING-WINDOW
 In sliding window method multiple
frames are sent by sender at a time
before needing an
acknowledgment
 Multiple frames sent by source are
acknowledged by receiver using a
single ack frame
 Acknowledge by receiver at any
point even when window is not full
on receiver side
ACCESS CONTROL
PHYSICAL ADDRESSING
 PROTOCOLS
PPP(POINT –TO-POINT PROTOCOL)
FRAME RELAY
ETHERNET
HDLC(HIGH LEVEL DATA LINK CONTROL)
FRAME RELAY
ETHERNET
 DEVICES
Bridge
SWITCH
ETHERNET
Data link layer
Data link layer

More Related Content

What's hot

Point To Point Protocol
Point To Point ProtocolPoint To Point Protocol
Point To Point Protocol
Phan Vuong
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Control
tameemyousaf
 
Mobile transportlayer
Mobile transportlayerMobile transportlayer
Mobile transportlayer
Rahul Hada
 

What's hot (20)

Controlled Access Protocols
Controlled Access ProtocolsControlled Access Protocols
Controlled Access Protocols
 
Computer networks - Channelization
Computer networks - ChannelizationComputer networks - Channelization
Computer networks - Channelization
 
Token ring
Token ringToken ring
Token ring
 
Network layer tanenbaum
Network layer tanenbaumNetwork layer tanenbaum
Network layer tanenbaum
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 
Chapter 11: Data Link Control
Chapter 11: Data Link ControlChapter 11: Data Link Control
Chapter 11: Data Link Control
 
Point To Point Protocol
Point To Point ProtocolPoint To Point Protocol
Point To Point Protocol
 
Error control
Error controlError control
Error control
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocols
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Control
 
Sliding window protocol
Sliding window protocolSliding window protocol
Sliding window protocol
 
Carrier Sense Multiple Access (CSMA)
Carrier Sense Multiple Access (CSMA)Carrier Sense Multiple Access (CSMA)
Carrier Sense Multiple Access (CSMA)
 
Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer
 
Application Layer
Application LayerApplication Layer
Application Layer
 
HDLC and Point to point protocol
HDLC and Point to point protocolHDLC and Point to point protocol
HDLC and Point to point protocol
 
Data Link Layer
Data Link LayerData Link Layer
Data Link Layer
 
Mobile transportlayer
Mobile transportlayerMobile transportlayer
Mobile transportlayer
 
The Data Link Layer
The Data Link LayerThe Data Link Layer
The Data Link Layer
 
Network Layer
Network LayerNetwork Layer
Network Layer
 

Viewers also liked

Unit 4 data link layer
Unit 4 data link layerUnit 4 data link layer
Unit 4 data link layer
mekind
 
Introduction to the OSI 7 layer model and Data Link Layer
Introduction to the OSI 7 layer model and Data Link LayerIntroduction to the OSI 7 layer model and Data Link Layer
Introduction to the OSI 7 layer model and Data Link Layer
VNIT-ACM Student Chapter
 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link Layer
Abdullaziz Tagawy
 
Chapter 7 - Data Link Control Protocols 9e
Chapter 7 - Data Link Control Protocols 9eChapter 7 - Data Link Control Protocols 9e
Chapter 7 - Data Link Control Protocols 9e
adpeer
 

Viewers also liked (14)

Unit 4 data link layer
Unit 4 data link layerUnit 4 data link layer
Unit 4 data link layer
 
Data link layer
Data link layer Data link layer
Data link layer
 
Introduction to the OSI 7 layer model and Data Link Layer
Introduction to the OSI 7 layer model and Data Link LayerIntroduction to the OSI 7 layer model and Data Link Layer
Introduction to the OSI 7 layer model and Data Link Layer
 
R2 itesm-02
R2 itesm-02R2 itesm-02
R2 itesm-02
 
Grds conferences icst and icbelsh (10)
Grds conferences icst and icbelsh (10)Grds conferences icst and icbelsh (10)
Grds conferences icst and icbelsh (10)
 
Chapter 5 -_data_link
Chapter 5 -_data_linkChapter 5 -_data_link
Chapter 5 -_data_link
 
Lecture24
Lecture24Lecture24
Lecture24
 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link Layer
 
Framing Protocols
Framing ProtocolsFraming Protocols
Framing Protocols
 
Data link layer
Data link layerData link layer
Data link layer
 
Datalinklayer tanenbaum
Datalinklayer tanenbaumDatalinklayer tanenbaum
Datalinklayer tanenbaum
 
Physical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and DevicesPhysical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and Devices
 
The Data Link Layer
The Data Link LayerThe Data Link Layer
The Data Link Layer
 
Chapter 7 - Data Link Control Protocols 9e
Chapter 7 - Data Link Control Protocols 9eChapter 7 - Data Link Control Protocols 9e
Chapter 7 - Data Link Control Protocols 9e
 

Similar to Data link layer

group11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressinggroup11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressing
Anitha Selvan
 
datalinklayermukesh-150130061041-conversion-gate01.pptx
datalinklayermukesh-150130061041-conversion-gate01.pptxdatalinklayermukesh-150130061041-conversion-gate01.pptx
datalinklayermukesh-150130061041-conversion-gate01.pptx
lathass5
 
Glossary of introduction to networks
Glossary of introduction to networksGlossary of introduction to networks
Glossary of introduction to networks
evelyn
 
U2CH1Data Link Layerxxxxxxxxxxxxxxxxx.pptx
U2CH1Data Link Layerxxxxxxxxxxxxxxxxx.pptxU2CH1Data Link Layerxxxxxxxxxxxxxxxxx.pptx
U2CH1Data Link Layerxxxxxxxxxxxxxxxxx.pptx
k2w9psdb96
 

Similar to Data link layer (20)

Data link layer
Data link layerData link layer
Data link layer
 
datalinklayer-200201062315 (1).pptx
datalinklayer-200201062315 (1).pptxdatalinklayer-200201062315 (1).pptx
datalinklayer-200201062315 (1).pptx
 
osi model ppt (1).pptx
osi model ppt (1).pptxosi model ppt (1).pptx
osi model ppt (1).pptx
 
CN R16 -UNIT-3.pdf
CN R16 -UNIT-3.pdfCN R16 -UNIT-3.pdf
CN R16 -UNIT-3.pdf
 
Unit 3 - Data Link Layer - Part A
Unit 3 - Data Link Layer - Part AUnit 3 - Data Link Layer - Part A
Unit 3 - Data Link Layer - Part A
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol concepts
 
group11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressinggroup11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressing
 
DATA LINK LAYER FUNDAMENTALS IN COMPUTER NETWORK.pptx
DATA LINK LAYER FUNDAMENTALS IN COMPUTER NETWORK.pptxDATA LINK LAYER FUNDAMENTALS IN COMPUTER NETWORK.pptx
DATA LINK LAYER FUNDAMENTALS IN COMPUTER NETWORK.pptx
 
datalinklayermukesh-150130061041-conversion-gate01.pptx
datalinklayermukesh-150130061041-conversion-gate01.pptxdatalinklayermukesh-150130061041-conversion-gate01.pptx
datalinklayermukesh-150130061041-conversion-gate01.pptx
 
important network terminologies
important network terminologiesimportant network terminologies
important network terminologies
 
Glossary of introduction to networks
Glossary of introduction to networksGlossary of introduction to networks
Glossary of introduction to networks
 
DLL
DLLDLL
DLL
 
DATA LINK CONTROL.pptx
DATA LINK CONTROL.pptxDATA LINK CONTROL.pptx
DATA LINK CONTROL.pptx
 
Nigga.pdf
Nigga.pdfNigga.pdf
Nigga.pdf
 
datalinklayermukesh
datalinklayermukeshdatalinklayermukesh
datalinklayermukesh
 
U2CH1Data Link Layerxxxxxxxxxxxxxxxxx.pptx
U2CH1Data Link Layerxxxxxxxxxxxxxxxxx.pptxU2CH1Data Link Layerxxxxxxxxxxxxxxxxx.pptx
U2CH1Data Link Layerxxxxxxxxxxxxxxxxx.pptx
 
09 Data Link LayerFlow Control.ppt
09 Data Link LayerFlow Control.ppt09 Data Link LayerFlow Control.ppt
09 Data Link LayerFlow Control.ppt
 
Data link layer tutorial
Data link layer tutorialData link layer tutorial
Data link layer tutorial
 
Unit 2
Unit 2Unit 2
Unit 2
 
Computer network coe351- part4- final
Computer network coe351- part4- finalComputer network coe351- part4- final
Computer network coe351- part4- final
 

Recently uploaded

Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdf
AbrahamGadissa
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
Danfoss NeoCharge Technology -A Revolution in 2024.pdf
Danfoss NeoCharge Technology -A Revolution in 2024.pdfDanfoss NeoCharge Technology -A Revolution in 2024.pdf
Danfoss NeoCharge Technology -A Revolution in 2024.pdf
 
Scaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageScaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltage
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answer
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdf
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
 

Data link layer

  • 1. PRESENTED BY:-> SHASHANK TIWARI 1238210034 CS 3RD YEAR
  • 2. CONTENT  OSI model  Data Link Layer  Sub-layers  Functions of data link layer  Devices and protocols
  • 4. DATA LINK LAYER “Manages the flow of data over the physical media” Working-  Responsible for error-free transmission over the physical layer  Assures error-free data submission to the Network Layer
  • 5.
  • 6. SUB LAYERS OF DATA LINK LAYER
  • 7. 1> MEDIA ACCESS CONTROL It is lower layer Addresses the frame Marks the beginning and ending of the frame Access control
  • 8. 1-> LOGICAL LINK CONTROL  It is upper layer  Frames the network layer packet  Identifies the network layer protocol  Error detection  It prepares data for transmission
  • 9. FUNCTIONS OF DATA LINK LAYER Framing Error control Access control Flow control Physical add.
  • 10. FRAMING  IT USES FOR RECEIVING ERROR FREE MASSAGES  LARGE MASSAGES MAY BE CORRUPTED BY NOISE OR OTHER “BREAKDOWN A STREAM OF BIT INTO SMALLER DIGESTIBLE CHUNKS CALLED FRAMES” WHY IT COMES INTO EXISTENCE
  • 12. METHODS 1) Character count 2) Byte stuffing 3) Bit stuffing
  • 13. 1-> CHARACTER COUNT METHOD  FIRST BIT DEFINES THE FRAME SIZE  IT COULD NOT DEFINES STARTING OF FRAME WHEN NOISE OCCURS
  • 15. 3-> BIT STUFFING  ADD ‘0’ AFTER 5 CONSECUTIVE 1’S AT SENDER SIDE AND REMOVAL OF IT AT RECEIVER SIDE  NOT GOOD EFFICIENT FOR LONG MASSAGES
  • 16. ERROR DETECTION  errors caused by signal attenuation, noise.  receiver detects presence of errors  signals sender for retransmission or drops frame  Error correction  receiver identifies and corrects bit error(s) without resorting to retransmission
  • 17. METHODS USING IN ERROR CONTROL  PARITY CHECKING  CYCLE REDUNDANCY CHECK
  • 18.  PARITY CHECKING (USING HAMMING CODE)
  • 19.  CYCLE REDUNDANCY CHECK a. It is based on binary division b. Obtained remainder is CRC c. Code word =data + CRC code
  • 20.  FLOW CONTROL “FLOW CONTROL REFERS TO A SET OF PROCEDURES USED TO RESTRICT THE AMOUNT OF DATA THAT THE SENDER CAN SEND BEFORE WAITING FOR ACKNOWLEDGMENT”  Manages data flow rate over slow receiver device than sender  Receiving device has a limited speed at which it can process incoming data  Receiver has a block of memory , called a BUFFER  Buffer stores incoming data until they processed  Incoming data must be checked before used
  • 21.
  • 22. 1) STOP-AND-WAIT FLOW CONTROL Timeout Timeout Frame lost A retransmits ACK lost A retransmits A B B discards duplicate frame
  • 23. 2) SLIDING-WINDOW  In sliding window method multiple frames are sent by sender at a time before needing an acknowledgment  Multiple frames sent by source are acknowledged by receiver using a single ack frame  Acknowledge by receiver at any point even when window is not full on receiver side
  • 25.
  • 27.  PROTOCOLS PPP(POINT –TO-POINT PROTOCOL) FRAME RELAY ETHERNET HDLC(HIGH LEVEL DATA LINK CONTROL)
  • 29.