计算机网络 自顶向下方法 英文.pptx
《计算机网络 自顶向下方法 英文.pptx》由会员分享,可在线阅读,更多相关《计算机网络 自顶向下方法 英文.pptx(62页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、6-1Chapter 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 linkhandli
2、ng mobile user who changes point of attachment to network第1页/共62页6-2Chapter 6 outline6.1 Introduction Wireless6.2 Wireless links,characteristicsCDMA6.3 IEEE 802.11 wireless LANs(“wi-fi”)6.4 Cellular Internet Accessarchitecturestandards(e.g.,GSM)Mobility6.5 Principles:addressing and routing to mobile
3、 users6.6 Mobile IP6.7 Handling mobility in cellular networks6.8 Mobility and higher-layer protocols6.9 Summary第2页/共62页6-3Elements of a wireless networknetwork infrastructurewireless hostsrlaptop,PDA,IP phonerrun applicationsrmay be stationary(non-mobile)or mobilemwireless does not always mean mobil
4、ity第3页/共62页6-4Elements of a wireless networknetwork infrastructure base stationrtypically connected to wired networkrrelay-responsible for sending packets between wired network and wireless host(s)in its“area”me.g.,cell towers 802.11 access points 第4页/共62页6-5Elements of a wireless networknetwork inf
5、rastructure wireless linkrtypically used to connect mobile(s)to base stationralso used as backbone link rmultiple access protocol coordinates link access rvarious data rates,transmission distance第5页/共62页6-6Characteristics of selected wireless link standards384 Kbps56 Kbps54 Mbps5-11 Mbps1 Mbps802.15
6、802.11b802.11a,gIS-95 CDMA,GSMUMTS/WCDMA,CDMA2000.11 p-to-p link2G3GIndoor10 30mOutdoor50 200mMid rangeoutdoor200m 4KmLong rangeoutdoor5Km 20Km第6页/共62页6-7Elements of a wireless networknetwork infrastructure infrastructure moderbase station connects mobiles into wired networkrhandoff:mobile changes b
7、ase station providing connection into wired network第7页/共62页6-8Elements of a wireless networkAd hoc moderno base stationsrnodes can only transmit to other nodes within link coveragernodes organize themselves into a network:route among themselves第8页/共62页6-9Wireless Link CharacteristicsDifferences from
8、 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 reflec
9、ts off objects ground,arriving ad destination at slightly different times.make communication across(even a point to point)wireless link much more“difficult”第9页/共62页6-10Wireless network characteristicsMultiple wireless senders and receivers create additional problems(beyond multiple access):ABCHidden
10、 terminal problemrB,A hear each otherrB,C hear each otherrA,C can not hear each othermeans A,C unaware of their interference at BABCAs signalstrengthspaceCs signalstrengthSignal fading:rB,A hear each otherrB,C hear each otherrA,C can not hear each other interferring at B第10页/共62页6-11Code Division Mu
11、ltiple Access(CDMA)used in several wireless broadcast channels(cellular,satellite,etc)standardsunique“code”assigned to each user;i.e.,code set partitioningall users share same frequency,but each user has own“chipping”sequence(i.e.,code)to encode dataencoded signal=(original data)X(chipping sequence)
12、decoding:inner-product of encoded signal and chipping sequenceallows multiple users to“coexist”and transmit simultaneously with minimal interference(if codes are“orthogonal”)第11页/共62页6-12CDMA Encode/Decodeslot 1slot 0d1=-11 1 111-1-1-1-Zi,m=di.cmd0=11 1 111-1-1-1-1 1 111-1-1-1-1 1 111-1-1-1-slot 0ch
13、anneloutputslot 1channeloutputchannel output Zi,msendercodedatabitsslot 1slot 0d1=-1d0=11 1 111-1-1-1-1 1 111-1-1-1-1 1 111-1-1-1-1 1 111-1-1-1-slot 0channeloutputslot 1channeloutputreceivercodereceivedinputDi=S Zi,m.cmm=1MM第12页/共62页6-13CDMA:two-sender interference第13页/共62页6-14Chapter 6 outline6.1 I
14、ntroduction Wireless6.2 Wireless links,characteristicsCDMA6.3 IEEE 802.11 wireless LANs(“wi-fi”)6.4 Cellular Internet Accessarchitecturestandards(e.g.,GSM)Mobility6.5 Principles:addressing and routing to mobile users6.6 Mobile IP6.7 Handling mobility in cellular networks6.8 Mobility and higher-layer
15、 protocols6.9 Summary第14页/共62页6-15IEEE 802.11 Wireless LAN802.11b2.4-5 GHz unlicensed radio spectrumup to 11 Mbpsdirect sequence spread spectrum(DSSS)in physical layerall hosts use same chipping codewidely deployed,using base stations802.11a 5-6 GHz rangeup to 54 Mbps802.11g 2.4-5 GHz rangeup to 54
16、MbpsAll use CSMA/CA for multiple accessAll have base-station and ad-hoc network versions第15页/共62页6-16802.11 LAN architecturerwireless host communicates with base stationmbase station=access point(AP)rBasic Service Set(BSS)(aka“cell”)in infrastructure mode contains:mwireless hostsmaccess point(AP):ba
17、se stationmad hoc mode:hosts onlyBSS 1BSS 2Internethub,switchor routerAPAP第16页/共62页6-17802.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
18、 AP!host:must associate with an APscans channels,listening for beacon frames containing APs name(SSID)and MAC addressselects AP to associate withmay perform authentication Chapter 8will typically run DHCP to get IP address in APs subnet第17页/共62页6-18IEEE 802.11:multiple accessavoid collisions:2+nodes
19、 transmitting at same time802.11:CSMA-sense before transmittingdont collide with ongoing transmission by other node802.11:no collision detection!difficult to receive(sense collisions)when transmitting due to weak received signals(fading)cant sense all collisions in any case:hidden terminal,fadinggoa
20、l:avoid collisions:CSMA/C(ollision)A(voidance)ABCABCAs signalstrengthspaceCs signalstrength第18页/共62页6-19IEEE 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
21、 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 problem)senderreceiverDIFSdataSIFSACK第19页/共62页6-20Avoiding collisions(more)idea:allow sender to“reserve”channel rather than
22、random access of data frames:avoid collisions of long data framessender first transmits small request-to-send(RTS)packets to BS using CSMARTSs may still collide with each other(but theyre short)BS broadcasts clear-to-send CTS in response to RTSRTS heard by all nodessender transmits data frameother s
23、tations defer transmissions Avoid data frame collisions completely using small reservation packets!第20页/共62页6-21Collision Avoidance:RTS-CTS exchangeAPABtimeRTS(A)RTS(B)RTS(A)CTS(A)CTS(A)DATA(A)ACK(A)ACK(A)reservation collisiondefer第21页/共62页6-22framecontroldurationaddress1address2address4address3payl
24、oadCRC22666260-23124seqcontrol802.11 frame:addressingAddress 2:MAC addressof wireless host or AP transmitting this frameAddress 1:MAC addressof wireless host or AP to receive this frameAddress 3:MAC addressof router interface to which AP is attachedAddress 4:used only in ad hoc mode第22页/共62页6-23Inte
25、rnetrouterAPH1R1AP MAC addr H1 MAC addr R1 MAC addraddress 1address 2address 3802.11 frameR1 MAC addr AP MAC addr dest.address source address 802.3 frame802.11 frame:addressing第23页/共62页6-24framecontroldurationaddress1address2address4address3payloadCRC22666260-23124seqcontrolTypeFromAPSubtypeToAPMore
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机网络 自顶向下方法 英文 向下 方法
限制150内