Professional Documents
Culture Documents
a)
The main tasks of the data link layer are: Transfer data from the network layer of one machine to the network layer of another machine Convert the raw bit stream of the physical layer into groups of bits (frames)
a)
b)
The MAC protocol are implemented in the MAC sublayer which is the lower sublayer of the data link layer The higher portion of the data link layer is often called Logical Link Control (LLC)
Adapter Communication
a)
b) c)
It is a board /card that typically contains RAM ,DSP Chips, a host bus interface and link interface Commonly known as network interface Card For most part, this layer protocols are implemented in an adapter.
Framing
Framing by character count.
Framing (2)
(a) A frame delimited by flag bytes. (b) Four examples of byte sequences before and after stuffing.
Problem: Too tied to the 8-bit per character format ... UNICODE uses 16-bits/char
Framing (3)
The goal is to have 01111110 as a unique bit pattern.
Bit stuffing (a) The original data. (b) The data as they appear on the line. (c) The data as they are stored in receivers memory after destuffing.
b) How large should be the sequence number? Or c) What should be minimum number of bits required for the sequence number?
The only ambiguity at the receiver is between two successive frames.. Say m and m+1 and never between m-1 and m +1 .. Its only after the ack for m-1 reaches back intact mth frame is sent.. And once mth frame reaches intact at the receivers end .. Story of m-1th frame is over .. However depending upon whether ack of mth frame reaches back intact or not either mth or m+1 th frame is sent .. hence only 1 bit is sufficient
Continued
a) A One-Bit Sliding Window Protocol b) A Protocol Using Go Back N c) A Protocol Using Selective Repeat
Read them from book