Ece 3115
Ece 3115
Objectives
Data Link Layer Protocol
o Flow Control
Link Layer Services
Frame synchronization
Flow Control
Error control
Addressing
Control and data on same link
Link management
Link Layer Services
Frame synchronization
Flow Control
Error Detection
Error Correction
Addressing
Control and data on same link
Link management
Framing
Frames are the packets of information at the Data Link Layer
Frames contain
– Data
– Source address information
– Destination address information
Framing
Frames are the packets of information at the Data Link Layer
Frames contain
– Data
– Source address information
– Destination address information
Framing
Flow Control
Error Detection
Error Correction
Control and data on same link
Link management
Flow Control
o Stop-and-Wait
o Sliding Window
Stop-and-Wait
Total time for a frame = Tf+2a ; where a is the propagation time and
Therefore U = Tf/(Tf+2a)
oSliding Window
Sliding Window
Sending Window:
o At any instant, the sender is permitted to send frames with sequence
numbers in a certain range (the sending window).
Operation of Sliding Window
Receiving Window:
o The receiver maintains a receiving window corresponding to the
sequence numbers of frames that are accepted.
Operation of Sliding Window
normalized efficiency =1
W < 2a+1: Sender can transmit W frames every 2a+1 time units
Each data frame includes a field that holds the sequence number of that
frame plus a field that holds the sequence number used for
acknowledgment
References
[1] William Stallings, Data and Computer Communications, Prentice Hall, New
Jersey, 6th ed, 2000, ISBN 0-13-086388-2.
[2] James F. Kurose and Keith W. Ross, Computer Networking A Top-Down
Approach Featuring the Internet, …………………………….