Pengertian Data Link
Pengertian Data Link
Pengertian Data Link
Communications
Chapter 7 Data Link Control
Protocols
Eighth Edition
by William Stallings
Lecture slides by Lawrie Brown
frame synchronization
flow control
error control
addressing
control and data
link management
Flow Control
ensure sending entity does not overwhelm
receiving entity
influenced by:
transmission time
time taken to emit all bits into medium
propagation time
time for a bit to traverse the link
acknowledgement (ACK)
source waits for ACK before sending next
destination can stop flow by not send ACK
works well for a few large frames
Stop and wait becomes inadequate if large
block of data is split into small frames
Error Control
detection and correction of errors such as:
lost frames
damaged frames
error detection
positive acknowledgment
retransmission after timeout
negative acknowledgement & retransmission
mechanisms, including:
stop and wait
go back N
selective reject (selective retransmission)
simple
inefficient
Go Back N
based on sliding window
if no error, ACK as usual
use window to control number of
outstanding frames
if error, reply with rejection
Go Back N - Handling
Damaged Frame
Lost Frame
Go Back N - Handling
Damaged Acknowledgement
Damaged Rejection
Selective Reject
Go Back N
vs
Selective
Reject
link configurations
Address Field
Control Field
Control Field
HDLC Operation
consists of exchange of information,
initialization
by either side, set mode & seq
data transfer
with flow and error control
using both I & S-frames (RR, RNR, REJ, SREJ)
disconnect
when ready or fault noted
Summary
introduced need for data link protocols
flow control
error control
HDLC