UNIT -II(DLL)(PART 2)
UNIT -II(DLL)(PART 2)
• The upper sub layer that is responsible for flow and error
control is called the logical link control (LLC) layer; the lower
sub layer that is mostly responsible for multiple access
resolution is called the media access control (MAC) layer.
1. Pure ALOHA
•1-persistent method
•non-persistent method
•p-persistent method
• 1-Persistent: In this method, after the station finds the line
idle, it sends its frame immediately (with probability 1).
This method has the highest chance of collision because
two or more stations may find the line idle and send their
frames immediately.
•The station then transmits a jam signal onto the link and waits
for random time interval before it resends the frame. After some
random time, it again attempts to transfer the data and repeats
above process.
1.32
CONTROLLED ACCESS PROTOCOLS
Incontrolled access, the stations consults each
other to find which station has right to send.
1. Reservation.
2. Polling
3. Token Passing
RESERVATION
• In the reservation method, a station needs to make a
reservation before sending data.
If
the secondary has data to transmit, it sends the
data frame. Otherwise, it sends a negative
acknowledgement(NAK) .
Token
Station Interface is in two states :
Channelization Protocol
• The data that goes on the channel is the sum of all these
terms:
d1.c1 + d2.c2 + d3.c3 + d4.c4
• Because (c1.c1) is 4, but (c2.c1), (c3.c1) and (c4.c1) are all 0s, station
2 divides the result by 4 to get the data from station 1.
data = (d1.c1 + d2.c2 + d3.c3 + d4.c4).c1
= d1.4 + 0 + 0 + 0
= (d1.4) / 4 = d1
Collision-Free Protocols
• Bit-map Protocol
• Binary Countdown
• The Adaptive Tree Walk Protocol
1. Bit-map Protocol:
• The IEEE has subdivided the data link layer into two sub
layers: logical link control (LLC) and media access
control(MAC).
Figure 13.1 IEEE standard for LANs
Frame Format
• The Ethernet frame contains seven fields: preamble, SFD,
DA, SA, length or type of protocol data unit (PDU), upper-
layer data, and the CRC.
•At the sender, data are converted to a digital signal using the
Manchester scheme;