13 - Wireless LANsSlide 2Chapter 6: Wireless and Mobile NetworksElements of a wireless networkSlide 5Slide 6Slide 7Slide 8Wireless Link CharacteristicsIEEE 802.11 Wireless LAN802.11 LAN architecture802.11: Channels, associationIEEE 802.11: multiple accessIEEE 802.11 MAC Protocol: CSMA/CACollision Detection vs. Collision AvoidanceSlide 16Avoiding collisions (optional scheme )Collision Avoidance: RTS-CTS exchangeSlide 19802.11 frame: addressingSlide 21Slide 22Cellular networks: the first hopCellular standards: brief surveySlide 25Slide 26What is mobility?Mobility: VocabularyMobility: more vocabularyHow do you contact a mobile friend:Mobility: approachesSlide 32Mobility: registrationMobility via Indirect RoutingIndirect Routing: commentsIndirect Routing: moving between networksMobility via Direct RoutingMobility via Direct Routing: commentsAccommodating mobility with direct routingMobile IPMobile IP: agent discoveryMobile IP: registration exampleMobile IP: indirect routingWireless, mobility: impact on higher layer protocolsChapter 6 Summary6: Wireless and Mobile Networks 6-113 - Wireless LANs6: Wireless and Mobile Networks 6-2Chapter 6Wireless and Mobile NetworksComputer Networking: A Top Down Approach Featuring the Internet, 3rd edition. Jim Kurose, Keith RossAddison-Wesley, July 2004. A note on the use of these ppt slides:We’re making these slides freely available to all (faculty, students, readers). They’re in PowerPoint form so you can add, modify, and delete slides (including this one) and slide content to suit your needs. They obviously represent a lot of work on our part. In return for use, we only ask the following: If you use these slides (e.g., in a class) in substantially unaltered form, that you mention their source (after all, we’d like people to use our book!) If you post any slides in substantially unaltered form on a www site, that you note that they are adapted from (or perhaps identical to) our slides, and note our copyright of this material.Thanks and enjoy! JFK/KWRAll material copyright 1996-2004J.F Kurose and K.W. Ross, All Rights Reserved6: Wireless and Mobile Networks 6-3Chapter 6: Wireless and Mobile NetworksBackground: # wireless (mobile) phone subscribers now exceeds # wired phone subscribers!computer nets: laptops, palmtops, PDAs, Internet-enabled phone promise anytime untethered Internet accesstwo important (but different) challengescommunication over wireless linkhandling mobile user who changes point of attachment to network6: Wireless and Mobile Networks 6-4Elements of a wireless networknetwork infrastructurewireless hostslaptop, PDA, IP phonerun applicationsmay be stationary (non-mobile) or mobilewireless does not always mean mobility6: Wireless and Mobile Networks 6-5Elements of a wireless networknetwork infrastructure base stationtypically connected to wired networkrelay - responsible for sending packets between wired network and wireless host(s) in its “area”e.g., cell towers 802.11 access points6: Wireless and Mobile Networks 6-6Elements of a wireless networknetwork infrastructure wireless linktypically used to connect mobile(s) to base stationalso used as backbone link multiple access protocol coordinates link access various data rates, transmission distance6: Wireless and Mobile Networks 6-7Elements of a wireless networknetwork infrastructure infrastructure modebase station connects mobiles into wired networkhandoff: mobile changes base station providing connection into wired network6: Wireless and Mobile Networks 6-8Elements of a wireless networkAd hoc modeno base stationsnodes can only transmit to other nodes within link coveragenodes organize themselves into a network: route among themselves6: Wireless and Mobile Networks 6-9Wireless Link CharacteristicsDifferences from wired link ….decreased signal strength: radio signal attenuates as it propagates through matter (path loss)interference from other sources: standardized wireless network frequencies (e.g., 2.4 GHz) shared by other devices (e.g., phone); devices (motors) interfere as wellmultipath propagation: radio signal reflects off objects ground, arriving at destination at slightly different times…. make communication across (even a point to point) wireless link much more “difficult”6: Wireless and Mobile Networks 6-10IEEE 802.11 Wireless LAN802.11b2.4-5 GHz unlicensed radio spectrumup to 11 Mbpsdirect sequence spread spectrum (DSSS) in physical layerwidely deployed, using base stations802.11a 5-6 GHz rangeup to 54 Mbps802.11g2.4-5 GHz rangeup to 54 Mbps• All use CSMA/CA for multiple access• All have base-station and ad-hoc network versions6: Wireless and Mobile Networks 6-11802.11 LAN architecturewireless host communicates with base stationbase station = access point (AP)Basic Service Set (BSS) (aka “cell”) in infrastructure mode contains:wireless hostsaccess point (AP): base stationad hoc mode: hosts onlyBSS 1BSS 2Internethub, switchor routerAPAP6: Wireless and Mobile Networks 6-12802.11: Channels, association802.11b: 2.4GHz-2.485GHz spectrum divided into 11 channels at different frequenciesAP admin chooses frequency for APinterference possible: channel can be same as that chosen by neighboring AP!host: must associate with an APscans channels, listening for beacon frames containing AP’s name (SSID) and MAC addressselects AP to associate withmay perform authenticationwill typically run DHCP to get IP address in AP’s subnet6-13IEEE 802.11: multiple accessavoid collisions: 2+ nodes transmitting at same time802.11: CSMA - sense before transmittingdon’t collide with ongoing transmission by other node802.11: no collision detection!difficult to receive (sense collisions) when transmitting due to weak received signals (fading)can’t sense all collisions in any case: hidden terminal, fadingtransmitter is turned off to conserve powergoal: avoid collisions: CSMA/C(ollision)A(voidance)ABCABCA’s signalstrengthspaceC’s signalstrength6: Wireless and Mobile Networks 6-14IEEE 802.11 MAC Protocol: CSMA/CA802.11 sender1 if sense channel idle for DIFS (Distributed Inter-Frame Space) then - transmit entire frame (no CD)2 if sense channel busy then - start random backoff time- timer counts down while channel idle- transmit when timer expires- if no ACK, increase random backoff interval, repeat
View Full Document