OverviewSwitches: dedicated accessMore on SwitchesInstitutional networkSwitches vs. RoutersSummary comparisonWireless and Mobile NetworksOutlineElements of a wireless networkSlide 10Slide 11Characteristics of selected wireless link standardsSlide 13Slide 14Wireless Link CharacteristicsWireless network characteristicsSlide 17IEEE 802.11 Wireless LAN802.11 LAN architecture802.11: Channels, associationIEEE 802.11: multiple accessIEEE 802.11 MAC Protocol: CSMA/CAAvoiding collisions (more)Collision Avoidance: RTS-CTS exchange802.11 frame: addressingThe Current Internet: Connectivity and ProcessingOverviewEthernetHubs, bridges, and switchesWireless links and LANsSwitches: dedicated accessSwitch with many interfacesHosts have direct connection to switchNo collisions; full duplexSwitching: A-to-A’ and B-to-B’ simultaneously, no collisionsswitchAA’BB’CC’More on Switchescut-through switching: frame forwarded from input to output port without first collecting entire frameslight reduction in latencycombinations of shared/dedicated, 10/100/1000 Mbps interfacesInstitutional networkhubhubhubswitchto externalnetworkrouterIP subnetmail serverweb serverSwitches vs. Routersboth store-and-forward devicesrouters: network layer devices (examine network layer headers)switches are link layer devicesrouters maintain routing tables, implement routing algorithmsswitches maintain switch tables, implement filtering, learning algorithmsSummary comparisonWireless 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 networkOutlineIntroduction WirelessWireless links, characteristicsIEEE 802.11 wireless LANs (“wi-fi”)Cellular Internet Accessarchitecturestandards (e.g., GSM)Elements of a wireless networknetwork infrastructurewireless hostslaptop, PDA, IP phonerun applicationsmay be stationary (non-mobile) or mobilewireless does not always mean mobilityElements 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 pointsElements 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 distanceCharacteristics of selected wireless link standards384 Kbps384 Kbps56 Kbps56 Kbps54 Mbps54 Mbps5-11 Mbps5-11 Mbps1 Mbps1 Mbps802.15802.11b802.11{a,g}IS-95 CDMA, GSMUMTS/WCDMA, CDMA2000802.162G3GIndoor10 – 30mOutdoor50 – 200mMid rangeoutdoor200m – 4KmLong rangeoutdoor5Km – 20KmElements of a wireless networknetwork infrastructure infrastructure modebase station connects mobiles into wired networkhandoff: mobile changes base station providing connection into wired networkElements of a wireless networkAd hoc modeno base stationsnodes can only transmit to other nodes within link coveragenodes organize themselves into a network: route among themselvesWireless 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 ad destination at slightly different times…. make communication across (even a point to point) wireless link much more “difficult”Wireless network characteristicsMultiple wireless senders and receivers create additional problems (beyond multiple access):ABCHidden terminal problemB, A hear each otherB, C hear each otherA, C can not hear each othermeans A, C unaware of their interference at BABCA’s signalstrengthspaceC’s signalstrengthSignal fading:B, A hear each otherB, C hear each otherA, C can not hear each other interferring at BOutlineIntroduction WirelessWireless links, characteristicsIEEE 802.11 wireless LANs (“wi-fi”)Cellular Internet Accessarchitecturestandards (e.g., GSM)IEEE 802.11 Wireless LAN802.11b2.4-5 GHz unlicensed radio spectrumup to 11 Mbpswidely deployed, using base stations802.11a 5-6 GHz rangeup to 54 Mbps802.11g 2.4-5 GHz rangeup to 54 MbpsAll use CSMA/CA for multiple accessAll have base-station and ad-hoc network versions802.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 routerAPAP802.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 subnetIEEE 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, fadinggoal: avoid collisions: CSMA/C(ollision)A(voidance)ABCABCA’s signalstrengthspaceC’s signalstrengthIEEE 802.11 MAC Protocol: CSMA/CA802.11 sender1 if sense channel idle for DIFS then transmit entire frame (no CD)2 if sense channel busy then start random backoff timetimer counts down while channel idletransmit when timer expiresif no ACK, increase random backoff interval, repeat 2802.11 receiver- if frame received OK return ACK after SIFS (ACK needed due to hidden terminal
View Full Document