The Data Link Layer
Chapter 3
1
Chapter 3 The Data Link Layer 1 Data Link Layer Design Issues - - PowerPoint PPT Presentation
Chapter 3 The Data Link Layer 1 Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control 2 Functions of the Data Link Layer Provide service interface to the network
1
2
3
Relationship between packets and frames.
4
(a) Virtual communication. (b) Actual communication.
5
Placement of the data link protocol.
6
A character stream. (a) Without errors. (b) With one error.
7
(a) A frame delimited by flag bytes. (b) Four examples of byte sequences before and after stuffing. 8
Bit stuffing (a) The original data. (b) The data as they appear on the line. (c) The data as they are stored in receiver’s memory after destuffing.
9
10
Use of a Hamming code to correct burst errors.
11
Calculation of the polynomial code checksum.
12
13
Continued Some definitions needed in the protocols to follow. These are located in the file protocol.h.
14
Some definitions needed in the protocols to follow. These are located in the file protocol.h.
15
16
17
A positive acknowledgement with retransmission protocol.
Continued
18
A positive acknowledgement with retransmission protocol.
19
20
A sliding window of size 1, with a 3-bit sequence number. (a) Initially. (b) After the first frame has been sent. (c) After the first frame has been received. (d) After the first acknowledgement has been received.
21
Continued
22
23
Two scenarios for protocol 4. (a) Normal case. (b) Abnormal
indicates where a network layer accepts a packet.
24
Pipelining and error recovery. Effect on an error when (a) Receiver’s window size is 1. (b) Receiver’s window size is large.
25
Continued
26
Continued
27
Continued
28
29
Simulation of multiple timers in software.
30
Continued
31
Continued
A Sliding Window Protocol Using Selective Repeat (2)
32
A Sliding Window Protocol Using Selective Repeat (3)
Continued
33
A Sliding Window Protocol Using Selective Repeat (4)
34
A Sliding Window Protocol Using Selective Repeat (5)
(a) Initial situation with a window size seven. (b) After seven frames sent and received, but not acknowledged. (c) Initial situation with a window size of four. (d) After four frames sent and received, but not acknowledged.
35
36
(a) State diagram for protocol 3. (b) Transmissions.
37
A Petri net with two places and two transitions.
38
A Petri net model for protocol 3.
39
40
Frame format for bit-oriented protocols.
41
Control field of (a) An information frame. (b) A supervisory frame. (c) An unnumbered frame.
42
A home personal computer acting as an internet host.
43
The PPP full frame format for unnumbered mode operation.
44
A simplified phase diagram for bring a line up and down. 45
The LCP frame types.
46