2.2 flow control

219 views 9 slides Aug 02, 2020
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

2.2 flow control


Slide Content

Communication
Networks
Flow Control
in Datalink Layer
Visit www.youtube.com/GURUKULAfor Lecture Videos

Overview of Module -2
•Framing
•What is Framing
•Types of Framing
•Methods for identifying the
boundaries
•Flow Control
•What is flow control
•Types of flow control
•Access Control
•What is access control
•Types of access control
•Ethernet –IEEE 802.3
•Evolution of Ethernet
•Frame Format of Ethernet
•Access Control for Ethernet
•Performance Evaluation of Ethernet
•WLAN –IEEE 802.11
•Architecture
•Bluetooth
•WIFI
•Zigbee
•6LowPan
•Network Layer Services
•IPv4
•Packet switching
•Network Layer Protocols
Visit www.youtube.com/GURUKULAfor Lecture VideosVisit www.youtube.com/GURUKULAfor Lecture Videos

Flow Control -Understanding
HOME
OFFICE
SOURCE
DESTINATION

Need for Flow Control
What if the Left Image is Transmitter and the Right Image is Receiver?
Or
Vice Versa
This scenario necessitates the need for Flow Control Mechanism to
regulate the flow of data packets in the network. If not , it leads to
congestion

Types of Flow Control Mechanism
•Traditionally four protocols have been defined for the data-
link layer to deal with flow and error control
•Simple Protocol
•Stop and wait Protocol
•Go Back N Protocol
•Selective Repeat Protocol
@ Sliding Window
Protocols
Visit www.youtube.com/GURUKULAfor Lecture Videos

1. Simple Protocol
•Ourfirstprotocolisasimpleprotocolwithneitherflownorerror
Control.Weassumethatthereceivercanimmediatelyhandleany
frameitreceives.Inotherwords,thereceivercanneverbeover
whelmedwithincomingframes.
Visit www.youtube.com/GURUKULAfor Lecture Videos

2. Stop and Wait Protocol
•Inthisprotocol,thesender
sendsoneframeatatimeand
waitsforanacknowledgment
beforesendingthenextone.
•Iftheframeisreceived
successfullybythereceiver,an
ACKissenttotheTransmitter.
•Ifframeislost,thentherewill
notbeanyACKfromthe
receiver,sothattheframewill
beretransmitted.
•Iftheframeisreceivedand
ACKsentbythereceiverislost.
Eventhen,theframeis
retransmittedassumingthatthe
frameislost.
Successful transmission of Frame
What if, Frame is Lost or Damaged ?
What if, ACK is Lost or Damaged ?

Session Summary
•Flow Control [Similar to traffic control signal]
•Simple Protocol
•Stop and wait protocol
Visit www.youtube.com/GURUKULAfor Lecture Videos

References:
•BehrouzA.Forouzan,―DatacommunicationandNetworking,Fifth
Edition,TataMcGraw–Hill,2013
•LarryL.Peterson,BruceS.Davie,―ComputerNetworks:ASystems
Approach,FifthEdition,MorganKaufmannPublishers,2011.
•FewonlineReferences(WillbeMentionedinthedescriptionSection)
Thank You…