aloha for class

Upload: etasuresh

Post on 02-Jun-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 Aloha for Class

    1/23

  • 8/10/2019 Aloha for Class

    2/23

    MultipleAccess

    Protocols

  • 8/10/2019 Aloha for Class

    3/23

    Multiple Access Multiple hosts sharing the same medium

    What are the new problems?

  • 8/10/2019 Aloha for Class

    4/23

    Shared Media Ethernet bus

    Radio channel

    Token ring network

  • 8/10/2019 Aloha for Class

    5/23

    Multiple Access protocols

    Single shared broadcast channel

    Two or more simultaneous transmissions by nodes:interference Collisionif node receives two or more signals at the same time

    Multiple Access Protocol

    Distributed algorithm that determines how nodes share

    channel, i.e., determine when node can transmit Communication about channel sharing must use channel

    itself! No out-of-band channel for coordination

  • 8/10/2019 Aloha for Class

    6/23

    Channel Partitioning Frequency Division Multiplexing

    Each node has a frequency band

    Time Division Multiplexing Each node has a series of fixed time slots

    What networks are these good for?

  • 8/10/2019 Aloha for Class

    7/23

    Computer Network Characteristics Transmission needs vary

    Between different nodes

    Over time Network is not fully utilized

  • 8/10/2019 Aloha for Class

    8/23

    Ideal Multiple Access ProtocolBroadcast channel of rate R bps

    1. When one node wants to transmit, it can send atrate R.

    2. When M nodes want to transmit, each can send ataverage rate R/M

    3. Fully decentralized:

    no special node to coordinate transmissions no synchronization of clocks, slots

    4. Simple

  • 8/10/2019 Aloha for Class

    9/23

    Random Access Protocols When node has packet to send

    transmit at full channel data rate R.

    no a prioricoordination among nodes

    two or more transmitting nodescollision, random access MAC protocolspecifies:

    how to detect collisions

    how to recover from collisions (e.g., via delayed retransmissions)

    Examples of random access MAC protocols: slotted ALOHA

    ALOHA

    CSMA, CSMA/CD, CSMA/CA

  • 8/10/2019 Aloha for Class

    10/23

    Data link layer divided into two functionality-oriented sublayers

  • 8/10/2019 Aloha for Class

    11/23

    Taxonomy of multiple-access protocols discussed in this chapter

  • 8/10/2019 Aloha for Class

    12/23

    RANDOM ACCESS

    In random accessor contentionmethods, no station is superior to another stationand none is assigned the control over another. No station permits, or does notpermit, another station to send. At each instance, a station that has data to senduses a procedure defined by the protocol to make a decision on whether or not to

    send.

    ALOHACarrier Sense Multiple AccessCarrier Sense Multiple Access with Collision DetectionCarrier Sense Multiple Access with Collision Avoidance

  • 8/10/2019 Aloha for Class

    13/23

    Frames in a pure ALOHA network

  • 8/10/2019 Aloha for Class

    14/23

    Procedure for pure ALOHA protocol

  • 8/10/2019 Aloha for Class

    15/23

    Vulnerable time for pure ALOHA protocol

  • 8/10/2019 Aloha for Class

    16/23

    Frames in a slotted ALOHA network

  • 8/10/2019 Aloha for Class

    17/23

    Vulnerable time for slotted ALOHA protocol

  • 8/10/2019 Aloha for Class

    18/23

    Space/time model of the collision in CSMA

  • 8/10/2019 Aloha for Class

    19/23

    Vulnerable time in CSMA

  • 8/10/2019 Aloha for Class

    20/23

    Behavior of three persistence methods

  • 8/10/2019 Aloha for Class

    21/23

    Flow diagram for three persistence methods

  • 8/10/2019 Aloha for Class

    22/23

    12.22

    Figure 12.12 Collision of the first bit in CSMA/CD

  • 8/10/2019 Aloha for Class

    23/23

    Collision and abortion in CSMA/CD