Link layer,LANS:outline 5.1 introduction, 5.5 link virtualization: services MPLS 5.2 error detection, 5.6 data center correction networking 5.3 multiple access 5.7 a day in the life of a protocols web request 5.4 LANs addressing,ARP ·Ethernet ■switches VLANS Link Layer 5-16
Link Layer 5-16 Link layer, LANs: outline 5.1 introduction, services 5.2 error detection, correction 5.3 multiple access protocols 5.4 LANs addressing, ARP Ethernet switches VLANS 5.5 link virtualization: MPLS 5.6 data center networking 5.7 a day in the life of a web request
Multiple access links,protocols two types of"links”: point-to-point ·PPP for dial-up access point-to-point link between Ethernet switch,host broadcast(shared wire or medium) old-fashioned Ethernet upstream HFC ■802.11 wireless LAN 是是显 shared wire(e.g. shared RF shared RF humans at a cabled Ethernet) (e.g,802.11Wifi) (satellite) cocktail party (shared air,acoustical) Link Layer 5-17
Link Layer 5-17 Multiple access links, protocols two types of “links”: point-to-point PPP for dial-up access point-to-point link between Ethernet switch, host broadcast (shared wire or medium) old-fashioned Ethernet upstream HFC 802.11 wireless LAN shared wire (e.g., cabled Ethernet) shared RF (e.g., 802.11 WiFi) shared RF (satellite) humans at a cocktail party (shared air, acoustical)
Multiple access protocols single shared broadcast channel two or more simultaneous transmissions by nodes: interference collision if 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 Link Layer 5-18
Link Layer 5-18 Multiple access protocols single shared broadcast channel two or more simultaneous transmissions by nodes: interference collision if 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
An ideal multiple access protocol given:broadcast channel of rate R bps desiderata: 1.when one node wants to transmit,it can send at rate R. 2.when M nodes want to transmit,each can send at average rate R/M 3.fully decentralized: no special node to coordinate transmissions no synchronization of clocks,slots 4.simple Link Layer 5-19
Link Layer 5-19 An ideal multiple access protocol given: broadcast channel of rate R bps desiderata: 1. when one node wants to transmit, it can send at rate R. 2. when M nodes want to transmit, each can send at average rate R/M 3. fully decentralized: • no special node to coordinate transmissions • no synchronization of clocks, slots 4. simple
MAC protocols:taxonomy three broad classes: channel partitioning ■divide channel into smaller“pieces”((time slots,frequency, code) allocate piece to node for exclusive use random access channel not divided,allow collisions ·“recover'”from collisions ÷"taking turns” nodes take turns,but nodes with more to send can take longer turns Link Layer 5-20
Link Layer 5-20 MAC protocols: taxonomy three broad classes: channel partitioning divide channel into smaller “pieces” (time slots, frequency, code) allocate piece to node for exclusive use random access channel not divided, allow collisions “recover” from collisions “taking turns” nodes take turns, but nodes with more to send can take longer turns