TD - Chapter7 - Data Link Control Protocols - Correction-Groupe7
TD - Chapter7 - Data Link Control Protocols - Correction-Groupe7
TD - Chapter7 - Data Link Control Protocols - Correction-Groupe7
REVIEW QUESTIONS
1. List and briefly define some of the requirements for effective
communications over a data link.
Frame synchronization : the beginning and end of each frame must
be recognizable ;
Flow control : The sending station must not send frames at a rate
faster than the receiving station can absorb them,
Error control : Bits errors introduced by the transmission system
should be corrected ;
Addressing : On a multi point line, such as a local area network
(LAN), the identity of two stations involved in a transmission must
be specified,
2. Define flow control.
It is the function permed by a receiving entity to limit the amount or
rate of data that is sent by a transmitting entity.
3. Describe stop-and-wait flow control.
4. What are reasons for breaking up a long data transmission into a number
of frames?
En cas d’erreur une retransmission de trame plus petites est
nécessaire
Empêcher une station d’occuper support pendant de longue périodes
7. What is piggybacking?
Station secondaire
◦ Sous le contrôle de la station principale
◦ Cadres émis réponses appelées
Station combinée
◦ Peut émettre des commandes et des réponses
16.What are the three frame types supported by HDLC? Describe each.
Information frames (I-frames) carry the data to be transmitted for
the user (the logic above HDLC that is using HDLC). Additionally,
flow and error control data, using the ARQ mechanism, are
piggybacked on an information frame.
Supervisory frames (S-frames) provide the ARQ mechanism when
piggybacking is not used.
Unnumbered frames (U-frames) provide supplemental link control
functions.
PROBLEMS
In fact, a REJ is not needed at all, since the sender will time out if it
fails to receive an ACK. The REJ improves efficiency by informing
the sender of a bad frame as early as possible.
2. Suppose that a selective-reject ARQ is used where W = 4. Show, by
example, that a 3-bit sequence number is needed.
3. It is clear that bit stuffing is needed for the address, data, and FCS fields
of an HDLC frame. Is it needed for the control field?
No because the field is of known fixed length. However, for simplicity,
bit stuffing is used on this field.
4. Because of the provision that a single flag can be used as both an ending
and a starting flag, a single-bit error can cause problems.
a. Explain how a single-bit error can merge two frames into one.
When a flag is used as both an ending and starting flag (that is, one 8-
bit pattern serves to mark the end of one frame and the beginning of
the next), then a single-bit error in that flag alters the bit pattern so
that the receiver does not recognize the flag. Accordingly, the
received assumes that this is a single frame.
b. Explain how a single-bit error can split a single frame into two frames.
If a bit error somewhere in a frame between its two flags results in the
pattern 01111110, then this octet is recognized as a flag that delimits
the end of one frame and the start of the next frame.