390 likes | 598 Views
The Medium Access Control Sublayer. Medium Access Control: a means of controlling access to the medium to promote orderly and efficient use. OSI Model and Project 802. The Channel Allocation Problem. Static Channel Allocation in LANs and MANs
E N D
The Medium Access ControlSublayer Medium Access Control: ameans of controlling access to the medium to promote orderly and efficient use. A.S.Tanenbaum, Computer networks, ch4 MAC
OSI Model and Project 802 A.S.Tanenbaum, Computer networks, ch4 MAC
The Channel Allocation Problem 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 A.S.Tanenbaum, Computer networks, ch4 MAC
Pure ALOHA In pure ALOHA, frames are transmitted at completely arbitrary times. Multiple Access Protocols A.S.Tanenbaum, Computer networks, ch4 MAC
Pure ALOHA (2) Vulnerable period for the shaded frame. A.S.Tanenbaum, Computer networks, ch4 MAC
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% A.S.Tanenbaum, Computer networks, ch4 MAC
Pure ALOHA and Slotted ALOHA Throughput versus offered traffic for ALOHA systems. A.S.Tanenbaum, Computer networks, ch4 MAC
Persistent and Nonpersistent 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 A.S.Tanenbaum, Computer networks, ch4 MAC
Persistent and Nonpersistent CSMA Comparison of the channel utilization versus load for various random access protocols. A.S.Tanenbaum, Computer networks, ch4 MAC
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. A.S.Tanenbaum, Computer networks, ch4 MAC
CSMA/CDOperation A.S.Tanenbaum, Computer networks, ch4 MAC
Token Ring (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. A.S.Tanenbaum, Computer networks, ch4 MAC
Token RingOperation A.S.Tanenbaum, Computer networks, ch4 MAC
FDDI MAC Protocol 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 A.S.Tanenbaum, Computer networks, ch4 MAC
Ethernet 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 A.S.Tanenbaum, Computer networks, ch4 MAC
Ethernet Cabling The most common kinds of Ethernet cabling. A.S.Tanenbaum, Computer networks, ch4 MAC
Ethernet topology Cable topologies. (a) Linear, (b) Spine, (c) Tree, (d) Segmented. A.S.Tanenbaum, Computer networks, ch4 MAC
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 Baseband Configuration
Ethernet MAC Sublayer Protocol A.S.Tanenbaum, Computer networks, ch4 MAC The McGraw-Hill Companies, Inc., 1998 WCB/McGraw-Hill
PDU Format A.S.Tanenbaum, Computer networks, ch4 MAC The McGraw-Hill Companies, Inc., 1998 WCB/McGraw-Hill
Minimum and maximum length A.S.Tanenbaum, Computer networks, ch4 MAC
Ethernet Performance Efficiency of Ethernet at 10 Mbps with 512-bit slot times. A.S.Tanenbaum, Computer networks, ch4 MAC
Switched Ethernet A simple example of switched Ethernet. A.S.Tanenbaum, Computer networks, ch4 MAC
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.
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.
Gigabit Ethernet (a) A two-station Ethernet. (b) A multistation Ethernet. A.S.Tanenbaum, Computer networks, ch4 MAC
Gigabit Ethernet (2) Gigabit Ethernet - Differences • Carrier extension • At least 4096 bit-times long (512 for 10/100) • Frame bursting extended to 200m. • New coding A.S.Tanenbaum, Computer networks, ch4 MAC
IEEE 802.2: Logical Link Control (a) Position of LLC. (b) Protocol formats. A.S.Tanenbaum, Computer networks, ch4 MAC