SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot (20)

Internetworking
InternetworkingInternetworking
Internetworking
 
Error Detection And Correction
Error Detection And CorrectionError Detection And Correction
Error Detection And Correction
 
Point to-point protocol (ppp)
Point to-point protocol (ppp)Point to-point protocol (ppp)
Point to-point protocol (ppp)
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
Data link layer
Data link layerData link layer
Data link layer
 
Network layer tanenbaum
Network layer tanenbaumNetwork layer tanenbaum
Network layer tanenbaum
 
transport layer
transport layertransport layer
transport layer
 
Application Layer
Application LayerApplication Layer
Application Layer
 
Data Link Layer
Data Link LayerData Link Layer
Data Link Layer
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
 
Chapter 3: Data & Signals
Chapter 3: Data & SignalsChapter 3: Data & Signals
Chapter 3: Data & Signals
 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link Layer
 
RPC: Remote procedure call
RPC: Remote procedure callRPC: Remote procedure call
RPC: Remote procedure call
 
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
 
Osi reference model
Osi reference modelOsi reference model
Osi reference model
 
Chap 8 switching
Chap 8 switchingChap 8 switching
Chap 8 switching
 
Introduction to data link layer
Introduction to data link layerIntroduction to data link layer
Introduction to data link layer
 
Data link layer
Data link layerData link layer
Data link layer
 
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communicationDistributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer Networks
 

Viewers also liked

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
 
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
 

Viewers also liked (14)

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
 
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
 
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 to 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 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
 
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
 

Recently uploaded

Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
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
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 
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
 
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
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
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
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsSachinPawar510423
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
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
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
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
 
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...Amil Baba Dawood bangali
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 

Recently uploaded (20)

Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .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
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 
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...
 
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
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
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...
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documents
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
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
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
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
 
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 

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.