Presentation is loading. Please wait.

Presentation is loading. Please wait.

C H 4 T HE M EDIUM A CCESS C ONTROL S UBLAYER 1 Medium Access Control: a means of controlling access to the medium to promote orderly and efficient use.

Similar presentations


Presentation on theme: "C H 4 T HE M EDIUM A CCESS C ONTROL S UBLAYER 1 Medium Access Control: a means of controlling access to the medium to promote orderly and efficient use."— Presentation transcript:

1 C H 4 T HE M EDIUM A CCESS C ONTROL S UBLAYER 1 Medium Access Control: a means of controlling access to the medium to promote orderly and efficient use.

2 OSI M ODEL AND P ROJECT 802 2

3 T HE C HANNEL A LLOCATION P ROBLEM Static Channel Allocation in LANs and MANs FDM: small and constant users, heavy load of traffic of each. TDM:same problem. Poor performance. None of the static channel allocation methods work well with bursty traffic. Dynamic Channel Allocation in LANs and MANs 3

4 P URE ALOHA In pure ALOHA, frames are transmitted at completely arbitrary times. 4 Multiple Access Protocols

5 P URE ALOHA (2) Vulnerable period for the shaded frame. 5

6 SLOTTED ALOHA Time in uniform slots equal to frame transmission time Need central clock (or other sync mechanism) Transmission begins at slot boundary Frames either miss or overlap totally Max utilization 36.8% 6

7 7 SLOTTED ALOHA

8 RELATIVE FORMULAS FOR THE ALOHA 8 Throughput or Channel Utilization Probability of collisionProbability of success Pure ALO HA Slott ed ALO HA

9 PURE ALOHA AND SLOTTED ALOHA Throughput versus offered traffic for ALOHA systems. 9

10 P ERSISTENT AND N ONPERSISTENT CSMA All stations know that a transmission has started almost immediately First listen for clear medium (carrier sense) If medium idle, transmit with a probability. If two stations start at the same instant, collision Propagation time is much less than transmission time Wait reasonable time (round trip plus ACK contention) No ACK then retransmit 10

11 P ERSISTENT AND N ONPERSISTENT CSMA Comparison of the channel utilization versus load for various random access protocols. 11

12 CSMA/CD (WITH COLLISION DETECTION) If collision detected, jam then cease transmission rather than finish transmitting their frame After jam, wait random time then start again Half-duplex system Save time and bandwidth. Basis of Ethernet LAN. 12

13 CSMA/CD OPERATION 13

14 T OKEN R ING (802.5) MAC protocol Small frame (token) circulates when idle Station waits for token Changes one bit in token to make it SOF for data frame Append rest of data frame Frame makes round trip and is absorbed by transmitting station Station then inserts new token when transmission has finished and leading edge of returning frame arrives Under light loads, some inefficiency Under heavy loads, round robin makes efficiency and fair. 14

15 T OKEN R ING O PERATION 15

16 FDDI MAC P ROTOCOL Fiber Distributed Data Interface As for 802.5 except: Station seizes token by aborting token transmission Once token captured, one or more data frames transmitted New token released as soon as transmission finished 16

17 E THERNET Ethernet Cabling Manchester Encoding The Ethernet MAC Sublayer Protocol The Binary Exponential Backoff Algorithm Ethernet Performance Switched Ethernet Fast Ethernet Gigabit Ethernet IEEE 802.2: Logical Link Control 17

18 13.18 Ethernet evolution through four generations

19 ETHERNET TOPOLOGY Cable topologies. (a) Linear, (b) Spine, (c) Tree, (d) Segmented. 19

20 B ASEBAND C ONFIGURATION The size limitation is usually solved by using repeaters to divide the medium into smaller segments Repeaters relay digital signals in both directions, making the segments appear like one medium As repeaters recover the digital signal, they remove any attenuation 20

21 13.21 Figure 13.15 A network with and without a bridge

22 13.22 Figure 13.16 Collision domains in an unbridged network and a bridged network

23 13.23 Figure 13.17 Switched Ethernet

24 13.24 13-4 FAST ETHERNET Fast Ethernet was designed to compete with LAN protocols such as FDDI or Fiber Channel. IEEE created Fast Ethernet under the name 802.3u. Fast Ethernet is backward-compatible with Standard Ethernet, but it can transmit data 10 times faster at a rate of 100 Mbps. MAC Sublayer Physical Layer Topics discussed in this section:

25 13.25 Figure 13.19 Fast Ethernet topology

26 13.26 Figure 13.20 Fast Ethernet implementations

27 13.27 Table 13.2 Summary of Fast Ethernet implementations

28 13.28 13-5 GIGABIT ETHERNET The need for an even higher data rate resulted in the design of the Gigabit Ethernet protocol (1000 Mbps). The IEEE committee calls the standard 802.3z. MAC Sublayer Physical Layer Ten-Gigabit Ethernet Topics discussed in this section:

29 13.29 In the full-duplex mode of Gigabit Ethernet, there is no collision; the maximum length of the cable is determined by the signal attenuation in the cable. Note

30 13.30 Figure 13.22 Topologies of Gigabit Ethernet

31 13.31 Figure 13.23 Gigabit Ethernet implementations

32 13.32 Table 13.3 Summary of Gigabit Ethernet implementations

33 G IGABIT E THERNET (2) 33 Gigabit Ethernet - Differences zCarrier extension zAt least 4096 bit-times long (512 for 10/100) zFrame bursting extended to 200m. zNew coding

34 Summary of Ten-Gigabit Ethernet implementations 34

35 IEEE standard for LANs 35

36 IEEE 802.2: L OGICAL L INK C ONTROL (a) Position of LLC. (b) Protocol formats. 36

37 37 E THERNET MAC S UBLAYER P ROTOCOL WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

38 38 PDU FORMAT WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

39 M INIMUM AND MAXIMUM LENGTH 39

40 13.40 Example of an Ethernet address in hexadecimal notation

41 LAN T RANSMISSION T ECHNOLOGIES Ethernet 10 Mbit/s Token Ring 4/16 Mbit/s Fast Ethernet 100 Mbit/s FDDI 100 Mbit/s Gigabit Ethernet 1 Gbit/s ATM 25 Mbit/s to 2.4 Gbit/s Only Ethernet versions are growing 41


Download ppt "C H 4 T HE M EDIUM A CCESS C ONTROL S UBLAYER 1 Medium Access Control: a means of controlling access to the medium to promote orderly and efficient use."

Similar presentations


Ads by Google