SlideShare una empresa de Scribd logo
1 de 34
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

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer Networks
 
Network Layer design Issues.pptx
Network Layer design Issues.pptxNetwork Layer design Issues.pptx
Network Layer design Issues.pptx
 
Transportlayer tanenbaum
Transportlayer tanenbaumTransportlayer tanenbaum
Transportlayer tanenbaum
 
Ch5
Ch5Ch5
Ch5
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
SPREAD SPECTRUM
SPREAD SPECTRUMSPREAD SPECTRUM
SPREAD SPECTRUM
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
HDLC
HDLCHDLC
HDLC
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Control
 
GSM: Handovers
GSM: HandoversGSM: Handovers
GSM: Handovers
 
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer network
 
WLAN
WLANWLAN
WLAN
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
Distance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing AlgorithmDistance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing Algorithm
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Datalinklayer tanenbaum
Datalinklayer tanenbaumDatalinklayer tanenbaum
Datalinklayer tanenbaum
 
Network Devices
Network DevicesNetwork Devices
Network Devices
 
Error Detection And Correction
Error Detection And CorrectionError Detection And Correction
Error Detection And Correction
 

Destacado

Unit 4 data link layer
Unit 4 data link layerUnit 4 data link layer
Unit 4 data link layermekind
 
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 LayerVNIT-ACM Student Chapter
 
Grds conferences icst and icbelsh (10)
Grds conferences icst and icbelsh (10)Grds conferences icst and icbelsh (10)
Grds conferences icst and icbelsh (10)Global R & D Services
 
Chapter 5 -_data_link
Chapter 5 -_data_linkChapter 5 -_data_link
Chapter 5 -_data_linkSajid Khokhar
 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link LayerAbdullaziz Tagawy
 
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 DevicesShahid Khan
 
The Data Link Layer
The Data Link LayerThe Data Link Layer
The Data Link Layeradil raja
 
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 9eadpeer
 
The Data Link Layer
The Data Link LayerThe Data Link Layer
The Data Link Layerrobbbminson
 

Destacado (13)

Unit 4 data link layer
Unit 4 data link layerUnit 4 data link layer
Unit 4 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
 
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
 
The Data Link Layer
The Data Link LayerThe Data Link Layer
The Data Link Layer
 

Similar a Data link layer

datalinklayer-200201062315 (1).pptx
datalinklayer-200201062315 (1).pptxdatalinklayer-200201062315 (1).pptx
datalinklayer-200201062315 (1).pptxMeenaAnusha1
 
osi model ppt (1).pptx
osi model ppt (1).pptxosi model ppt (1).pptx
osi model ppt (1).pptxRafshidRappu
 
Data link layer
Data link layerData link layer
Data link layersbkbca
 
CN R16 -UNIT-3.pdf
CN R16 -UNIT-3.pdfCN R16 -UNIT-3.pdf
CN R16 -UNIT-3.pdfJoshuaeeda1
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol conceptsRaji Lakshmi
 
group11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressinggroup11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressingAnitha Selvan
 
datalinklayermukesh-150130061041-conversion-gate01.pptx
datalinklayermukesh-150130061041-conversion-gate01.pptxdatalinklayermukesh-150130061041-conversion-gate01.pptx
datalinklayermukesh-150130061041-conversion-gate01.pptxlathass5
 
important network terminologies
important network terminologiesimportant network terminologies
important network terminologiesevelyn
 
Glossary of introduction to networks
Glossary of introduction to networksGlossary of introduction to networks
Glossary of introduction to networksevelyn
 
U2CH1Data Link Layerxxxxxxxxxxxxxxxxx.pptx
U2CH1Data Link Layerxxxxxxxxxxxxxxxxx.pptxU2CH1Data Link Layerxxxxxxxxxxxxxxxxx.pptx
U2CH1Data Link Layerxxxxxxxxxxxxxxxxx.pptxk2w9psdb96
 
09 Data Link LayerFlow Control.ppt
09 Data Link LayerFlow Control.ppt09 Data Link LayerFlow Control.ppt
09 Data Link LayerFlow Control.pptShaliniKumariGupta1
 

Similar a 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
 
Data link layer
Data link layerData link layer
Data link layer
 
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
 

Último

An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
Industrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESIndustrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESNarmatha D
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptxNikhil Raut
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 

Último (20)

An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
Industrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESIndustrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIES
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptx
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 

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.