Micro-Link It College: Data Communication Assignment Name Id
Micro-Link It College: Data Communication Assignment Name Id
IT COLLEGE
DATA COMMUNICATION
ASSIGNMENT
NAME ID
ABDULKERIM ALI 15/326/21
AMAR ABDELA
EYOB KETEMA 15,381/21
EYUEL DEJENE 15,362/21
GENA DEREGE 15,357/21
KALEB ZEKARIYAS 15,377/21
NIGUS SOLOMON 15,360/21
SAMSON BAYISA 15,243/21
ZERUBABEL ZEKARIYAS 15,373/21
Submitted to:
Submission date: 05/11/2022
Data link control
Data Link Control is the carrier with the aid of using the Data Link Layer to offer
dependable statistics switch or data transfer over the physical medium. For example,
In the half-duplex transmission mode, one device can only transmit the statistics at a
time. If each the gadgets on the stop of the hyperlinks transmit the data
simultaneously, they'll collide and results in the lack of the information. The Data link
layer offers the coordination to most of the gadgets in order that no collision occurs.
The data link layer needs to pack bits into frames, so that each frame is
distinguishable from another. Our postal system practices a type of framing. The
simple act of inserting a letter into an envelope separates one piece of information
from another; the envelope serves as the delimiter.
Line discipline
Flow control
Error detection and control
Data link control is found on the second layer which is the data link layer
Application layer
Presentation layer
Session layer
Transfer layer
Network layer
Data link layer
Physical layer
* Line discipline
*Flow control
*Error detection and control
Line discipline
Line Discipline is a functionality of the Data link layer that provides the coordination
among the link systems. It determines which device can send, and when it can send
the data.
1. ENQ/ACK (Enquiry/Acknowledgement) :
ENQ/ACK is a procedure of line discipline that is generally used to determine that
which of device on network is capable of initiating or starting transmission of data or
message and whether the receiver is ready and is capable to receive the data or not.
If the hosts have similar and equal ranks, then either of hosts or stations can initiate
process of transmission.
The initiating device generally establishes session in both transmission i.e. full and
half-duplex. Both of devices can send or transmit simultaneously once session is
established in full-duplex. But in full-duplex, initiator transmits data whereas
responder simply waits. The responder further might take over link when initiator is
finished or simply has requested for the response.
2. Poll/Select :
The Poll/Select method in line discipline basically works with some topologies where
one of devices is considered as primary station and other devices are considered as
secondary stations. Multipoint connections can be seen rather than two i.e.,
multipoint systems must coordinate several nodes.
Flow Control
Flow control is design issue at Data Link Layer. It is technique that generally observes
proper flow of data from sender to receiver. It is very essential because it is possible
for sender to transmit data or information at very fast rate and hence receiver can
receive this information and process it. This can happen only if receiver has very high
load of traffic as compared to sender, or if receiver has power of processing less as
compared to sender.
Flow control is basically technique that gives permission to two of stations that are
working and processing at different speeds to just communicate with one another.
Flow control in Data Link Layer simply restricts and coordinates number of frames or
amount of data sender can send just before it waits for an acknowledgment from
receiver. Flow control is actually set of procedures that explains sender about how
much data or frames it can transfer or transmit before data overwhelms receiver.
The receiving device also contains only limited amount of speed and memory to
store data. This is why receiving device should be able to tell or inform the sender
about stopping the transmission or transferring of data on temporary basis before it
reaches limit. It also needs buffer, large block of memory for just storing data or
frames until they are processed.
Flow Control
Error Control
Error Control is a technique of error detection and retransmission.
Stop-and-wait ARQ
The sending device keeps a copy of the last transmitted frame until the
acknowledgement is received. Keeping the copy allows the sender to retransmit
the data if the frame is not received correctly.
Both the data frames and the ACK frames are numbered alternately 0 and 1 so
that they can be identified individually. Suppose data 1 frame acknowledges the
data 0 frame means that the data 0 frame has been arrived correctly and
expects to receive data 1 frame.
If an error occurs in the last transmitted frame, then the receiver sends the NAK
frame which is not numbered. On receiving the NAK frame, sender retransmits
the data.
It works with the timer. If the acknowledgement is not received within the
allotted time, then the sender assumes that the frame is lost during the
transmission, so it will retransmit the frame.
o In this case, the sender keeps the copies of all the transmitted frames until
they have been acknowledged. Suppose the frames from 0 through 4 have
been transmitted, and the last acknowledgement was for frame 2, the sender
has to keep the copies of frames 3 and 4 until they receive correctly.
o The receiver can send either NAK or ACK depending on the conditions. The
NAK frame tells the sender that the data have been received damaged. Since
the sliding window is a continuous transmission mechanism, both ACK and
NAK must be numbered for the identification of a frame. The ACK frame
consists of a number that represents the next frame which the receiver
expects to receive. The NAK frame consists of a number that represents the
damaged frame.
o The sliding window ARQ is equipped with the timer to handle the lost
acknowledgements. Suppose then n-1 frames have been sent before
receiving any acknowledgement. The sender waits for the acknowledgement,
so it starts the timer and waits before sending any more. If the allotted time
runs out, the sender retransmits one or all the frames depending upon the
protocol used.
Selective-Reject ARQ
Types of Multiplexing