计算机网络自顶向下方法第六章(英文版课件).ppt_第1页
计算机网络自顶向下方法第六章(英文版课件).ppt_第2页
计算机网络自顶向下方法第六章(英文版课件).ppt_第3页
计算机网络自顶向下方法第六章(英文版课件).ppt_第4页
计算机网络自顶向下方法第六章(英文版课件).ppt_第5页
已阅读5页,还剩57页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3rd edition. Jim Kurose, Keith Ross Addison-Wesley, July 2004. 16: Wireless and Mobile Networks Chapter 6: Wireless and Mobile Networks Background: r# wireless (mobile) phone subscribers now exceeds # wired phone subscribers! rcomputer nets: laptops, palmtops, PDAs, Internet-enabled phone promise anytime untethered Internet access rtwo important (but different) challenges mcommunication over wireless link mhandling mobile user who changes point of attachment to network 26: Wireless and Mobile Networks Chapter 6 outline 6.1 Introduction Wireless r6.2 Wireless links, characteristics mCDMA r6.3 IEEE 802.11 wireless LANs (“wi-fi”) r6.4 Cellular Internet Access marchitecture mstandards (e.g., GSM) Mobility r6.5 Principles: addressing and routing to mobile users r6.6 Mobile IP r6.7 Handling mobility in cellular networks r6.8 Mobility and higher- layer protocols 6.9 Summary 36: Wireless and Mobile Networks Elements of a wireless network network infrastructure wireless hosts laptop, PDA, IP phone run applications may be stationary (non- mobile) or mobile wireless does not always mean mobility 46: Wireless and Mobile Networks Elements of a wireless network network infrastructure base station typically connected to wired network relay - responsible for sending packets between wired network and wireless host(s) in its “area” e.g., cell towers 802.11 access points 56: Wireless and Mobile Networks Elements of a wireless network network infrastructure wireless link typically used to connect mobile(s) to base station also used as backbone link multiple access protocol coordinates link access various data rates, transmission distance 66: Wireless and Mobile Networks Characteristics of selected wireless link standards 384 Kbps 56 Kbps 54 Mbps 5-11 Mbps 1 Mbps 802.15 802.11b 802.11a,g IS-95 CDMA, GSM UMTS/WCDMA, CDMA2000 .11 p-to-p link 2G 3G Indoor 10 30m Outdoor 50 200m Mid range outdoor 200m 4Km Long range outdoor 5Km 20Km 76: Wireless and Mobile Networks Elements of a wireless network network infrastructure infrastructure mode base station connects mobiles into wired network handoff: mobile changes base station providing connection into wired network 86: Wireless and Mobile Networks Elements of a wireless network Ad hoc mode no base stations nodes can only transmit to other nodes within link coverage nodes organize themselves into a network: route among themselves 96: Wireless and Mobile Networks Wireless Link Characteristics Differences from wired link . mdecreased signal strength: radio signal attenuates as it propagates through matter (path loss) minterference from other sources: standardized wireless network frequencies (e.g., 2.4 GHz) shared by other devices (e.g., phone); devices (motors) interfere as well mmultipath 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” 106: Wireless and Mobile Networks Wireless network characteristics Multiple wireless senders and receivers create additional problems (beyond multiple access): A B C Hidden terminal problem B, A hear each other B, C hear each other A, C can not hear each other means A, C unaware of their interference at B AB C As signal strength space Cs signal strength Signal fading: B, A hear each other B, C hear each other A, C can not hear each other interferring at B 116: Wireless and Mobile Networks Code Division Multiple Access (CDMA) rused in several wireless broadcast channels (cellular, satellite, etc) standards runique “code” assigned to each user; i.e., code set partitioning rall users share same frequency, but each user has own “chipping” sequence (i.e., code) to encode data rencoded signal = (original data) X (chipping sequence) rdecoding: inner-product of encoded signal and chipping sequence rallows multiple users to “coexist” and transmit simultaneously with minimal interference (if codes are “orthogonal”) 126: Wireless and Mobile Networks CDMA Encode/Decode slot 1slot 0 d1 = -1 1 1 11 1 - 1 - 1 - 1 - Zi,m= di.cm d0 = 1 1 1 11 1 - 1 - 1 - 1 - 1 1 11 1 - 1 - 1 - 1 - 1 1 11 1 - 1 - 1 - 1 - slot 0 channel output slot 1 channel output channel output Zi,m sender code data bits slot 1slot 0 d1 = -1 d0 = 1 1 1 11 1 - 1 - 1 - 1 - 1 1 11 1 - 1 - 1 - 1 - 1 1 11 1 - 1 - 1 - 1 - 1 1 11 1 - 1 - 1 - 1 - slot 0 channel output slot 1 channel output receiver code received input Di = S Zi,m.cm m=1 M M 136: Wireless and Mobile Networks CDMA: two-sender interference 146: Wireless and Mobile Networks Chapter 6 outline 6.1 Introduction Wireless r6.2 Wireless links, characteristics mCDMA r6.3 IEEE 802.11 wireless LANs (“wi-fi”) r6.4 Cellular Internet Access marchitecture mstandards (e.g., GSM) Mobility r6.5 Principles: addressing and routing to mobile users r6.6 Mobile IP r6.7 Handling mobility in cellular networks r6.8 Mobility and higher- layer protocols 6.9 Summary 156: Wireless and Mobile Networks IEEE 802.11 Wireless LAN r802.11b m2.4-5 GHz unlicensed radio spectrum mup to 11 Mbps mdirect sequence spread spectrum (DSSS) in physical layer all hosts use same chipping code mwidely deployed, using base stations r802.11a m5-6 GHz range mup to 54 Mbps r802.11g m2.4-5 GHz range mup to 54 Mbps rAll use CSMA/CA for multiple access rAll have base-station and ad-hoc network versions 166: Wireless and Mobile Networks 802.11 LAN architecture rwireless host communicates with base station mbase station = access point (AP) rBasic Service Set (BSS) (aka “cell”) in infrastructure mode contains: mwireless hosts maccess point (AP): base station mad hoc mode: hosts only BSS 1 BSS 2 Internet hub, switch or router AP AP 176: Wireless and Mobile Networks 802.11: Channels, association r802.11b: 2.4GHz-2.485GHz spectrum divided into 11 channels at different frequencies mAP admin chooses frequency for AP minterference possible: channel can be same as that chosen by neighboring AP! rhost: must associate with an AP mscans channels, listening for beacon frames containing APs name (SSID) and MAC address mselects AP to associate with mmay perform authentication Chapter 8 mwill typically run DHCP to get IP address in APs subnet 186: Wireless and Mobile Networks IEEE 802.11: multiple access ravoid collisions: 2+ nodes transmitting at same time r802.11: CSMA - sense before transmitting mdont collide with ongoing transmission by other node r802.11: no collision detection! mdifficult to receive (sense collisions) when transmitting due to weak received signals (fading) mcant sense all collisions in any case: hidden terminal, fading mgoal: avoid collisions: CSMA/C(ollision)A(voidance) A B C AB C As signal strength space Cs signal strength 196: Wireless and Mobile Networks IEEE 802.11 MAC Protocol: CSMA/CA 802.11 sender 1 if sense channel idle for DIFS 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 2 802.11 receiver - if frame received OK return ACK after SIFS (ACK needed due to hidden terminal problem) senderreceiver DIFS data SIFS ACK 206: Wireless and Mobile Networks Avoiding collisions (more) idea: allow sender to “reserve” channel rather than random access of data frames: avoid collisions of long data frames rsender first transmits small request-to-send (RTS) packets to BS using CSMA mRTSs may still collide with each other (but theyre short) rBS broadcasts clear-to-send CTS in response to RTS rRTS heard by all nodes msender transmits data frame mother stations defer transmissions Avoid data frame collisions completely using small reservation packets! 216: Wireless and Mobile Networks Collision Avoidance: RTS-CTS exchange AP AB time RTS(A) RTS(B) RTS(A) CTS(A) CTS(A) DATA (A) ACK(A) ACK(A) reservation collision defer 226: Wireless and Mobile Networks frame control duration address 1 address 2 address 4 address 3 payloadCRC 226662 6 0 - 2312 4 seq control 802.11 frame: addressing Address 2: MAC address of wireless host or AP transmitting this frame Address 1: MAC address of wireless host or AP to receive this frame Address 3: MAC address of router interface to which AP is attached Address 4: used only in ad hoc mode 236: Wireless and Mobile Networks Internet router AP H1 R1 AP MAC addr H1 MAC addr R1 MAC addr address 1address 2address 3 802.11 frame R1 MAC addr AP MAC addr dest. address source address 802.3 frame 802.11 frame: addressing 246: Wireless and Mobile Networks frame control duration address 1 address 2 address 4 address 3 payloadCRC 226662 6 0 - 2312 4 seq control Type From AP Subtype To AP More frag WEP More data Power mgt RetryRsvd Protocol version 2 2411111111 802.11 frame: more duration of reserved transmission time (RTS/CTS) frame seq # (for reliable ARQ) frame type (RTS, CTS, ACK, data) 256: Wireless and Mobile Networks hub or switch AP 2 AP 1 H1BBS 2 BBS 1 802.11: mobility within same subnet router rH1 remains in same IP subnet: IP address can remain same rswitch: which AP is associated with H1? mself-learning (Ch. 5): switch will see frame from H1 and “remember” which switch port can be used to reach H1 266: Wireless and Mobile Networks M radius of coverage S S S P P P P M S Master device Slave device Parked device (inactive)P 802.15: personal area network rless than 10 m diameter rreplacement for cables (mouse, keyboard, headphones) rad hoc: no infrastructure rmaster/slaves: mslaves request permission to send (to master) mmaster grants requests r802.15: evolved from Bluetooth specification m2.4-2.5 GHz radio band mup to 721 kbps 276: Wireless and Mobile Networks Chapter 6 outline 6.1 Introduction Wireless r6.2 Wireless links, characteristics mCDMA r6.3 IEEE 802.11 wireless LANs (“wi-fi”) r6.4 Cellular Internet Access marchitecture mstandards (e.g., GSM) Mobility r6.5 Principles: addressing and routing to mobile users r6.6 Mobile IP r6.7 Handling mobility in cellular networks r6.8 Mobility and higher- layer protocols 6.9 Summary 286: Wireless and Mobile Networks Mobile Switching Center Public telephone network, and Internet Mobile Switching Center Components of cellular network architecture q connects cells to wide area net q manages call setup (more later!) q handles mobility (more later!) MSC q covers geographical region q base station (BS) analogous to 802.11 AP q mobile users attach to network through BS q air-interface: physical and link layer protocol between mobile and BS cell wired network 296: Wireless and Mobile Networks Cellular networks: the first hop Two techniques for sharing mobile-to-BS radio spectrum rcombined FDMA/TDMA: divide spectrum in frequency channels, divide each channel into time slots rCDMA: code division multiple access frequency bands time slots 306: Wireless and Mobile Networks Cellular standards: brief survey 2G systems: voice channels rIS-136 TDMA: combined FDMA/TDMA (north america) rGSM (global system for mobile communications): combined FDMA/TDMA mmost widely deployed rIS-95 CDMA: code division multiple access IS-136 GSM IS-95 GPRS EDGE CDMA-2000 UMTS TDMA/FDMA Dont drown in a bowl of alphabet soup: use this oor reference only 316: Wireless and Mobile Networks Cellular standards: brief survey 2.5 G systems: voice and data channels rfor those who cant wait for 3G service: 2G extensions rgeneral packet radio service (GPRS) mevolved from GSM mdata sent on multiple channels (if available) renhanced data rates for global evolution (EDGE) malso evolved from GSM, using enhanced modulation mDate rates up to 384K rCDMA-2000 (phase 1) mdata rates up to 144K mevolved from IS-95 326: Wireless and Mobile Networks Cellular standards: brief survey 3G systems: voice/data rUniversal Mobile Telecommunications Service (UMTS) mGSM next step, but using CDMA rCDMA-2000 TDS-CDMA more (and more interesting) cellular topics due to mobility (stay tuned for details) 336: Wireless and Mobile Networks Chapter 6 outline 6.1 Introduction Wireless r6.2 Wireless links, characteristics mCDMA r6.3 IEEE 802.11 wireless LANs (“wi-fi”) r6.4 Cellular Internet Access marchitecture mstandards (e.g., GSM) Mobility r6.5 Principles: addressing and routing to mobile users r6.6 Mobile IP r6.7 Handling mobility in cellular networks r6.8 Mobility and higher- layer protocols 6.9 Summary 346: Wireless and Mobile Networks What is mobility? rspectrum of mobility, from the network perspective: no mobilityhigh mobility mobile wireless user, using same access point mobile user, passing through multiple access point while maintaining ongoing connections (like cell phone) mobile user, connecting/ disconnecting from network using DHCP. 356: Wireless and Mobile Networks Mobility: Vocabulary home network: permanent “home” of mobile (e.g., 128.119.40/24) Permanent address: address in home network, can always be used to reach mobile e.g., 128.119.40.186 home agent: entity that will perform mobility functions on behalf of mobile, when mobile is remote wide area network correspondent 366: Wireless and Mobile Networks Mobility: more vocabulary Care-of-address: address in visited network. (e.g., 79,129.13.2) wide area network visited network: network in which mobile currently resides (e.g., 79.129.13/24) Permanent address: remains constant (e.g., 128.119.40.186) foreign agent: entity in visited network that performs mobility functions on behalf of mobile. correspondent: wants to communicate with mobile 376: Wireless and Mobile Networks How do you contact a mobile friend: rsearch all phone books? rcall her parents? rexpect her to let you know where he/she is? I wonder where Alice moved to? Consider friend frequently changing addresses, how do you find her? 386: Wireless and Mobile Networks Mobility: approaches rLet routing handle it: routers advertise permanent address of mobile-nodes-in-residence via usual routing table exchange. mrouting tables indicate where each mobile located mno changes to end-systems rLet end-systems handle it: mindirect routing: communication from correspondent to mobile goes through home agent, then forwarded to remote mdirect routing: correspondent gets foreign address of mobile, sends directly to mobile 396: Wireless and Mobile Networks Mobility: approaches rLet routing handle it: routers advertise permanent address of mobile-nodes-in-residence via usual routing table exchange. mrouting tables indicate where each mobile located mno changes to end-systems rlet end-systems handle it: mindirect routing: communication from correspondent to mobile goes through home agent, then forwarded to remote mdirect routing: correspondent gets foreign address of mobile, sends directly to mobile not scalable to millions of mobiles 406: Wireless and Mobile Networks Mobility: registration End result: rForeign agent knows about mobile rHome agent knows location of mobile wide area network home network visited network 1 mobile contacts foreign agent on entering visited network 2 foreign agent contacts home agent home: “this mobile is resident in my network” 416: Wireless and Mobile Networks Mobility via Indirect Routing wide area network home network visited network 3 2 4 1 correspondent addresses packets using home address of mobile home agent intercepts packets, forwards to foreign agent foreign agent receives packets, forwards to mobile mobile replies directly to correspondent 426: Wireless and Mobile Networks Indirect Routing: comments rMobile uses two addresses: mpermanent address: used by correspondent (hence mobile location is transparent to correspondent) mcare-of-address: used by home agent to forward datagrams to mobile rforeign agent functions may be done by mobile itself rtriangle routing: correspondent-home-network- mobile minefficient when correspondent, mobile are in same network 436: Wireless and Mobile Networks Indirect Routing: moving between networks rsuppose mobile user moves to another network mregisters with new foreign agent mnew foreign agent registers with home agent mhome agent update care-of-address for mobile mpackets continue to be forwarded to mobile (but with new care-of-address) rmobility, changing foreign networks transparent: on going connections can be maintained! 446: Wireless and Mobile Networks Mobility via Direct Routing wide area network home network visited network 4 2 4 1 correspondent requests, receives foreign address of mobile correspondent forwards to foreign agent foreign agent receives packets, forwards to mobile mobile replies directly to correspondent 3 456: Wireless and Mobile Networks Mobility via Direct Routing: comments rovercome triangle routing problem rnon-transparent to correspondent: correspondent must get care-of-address from home agent mwhat if mobile changes visited network? 466: Wireless and Mobile Networks wide area network 1 foreign net visited at session start anchor foreign agent 2 4 new foreign agent 3 5 correspondent agent correspondent new foreign network Accommodating mobility with direct routing ranchor foreign agent: FA in first visited network rdata always routed first to anchor FA rwhen mobile moves: new FA arranges to have data forwarded from old FA (chaining) 476: Wireless and Mobile Networks Chapter 6 outline 6.1 Introduction Wireless r6.2 Wireless links, characteristics mCDMA r6.3 IEEE 802.11 wireless LANs (“wi-fi”) r6.4 Cellular Internet Access marchitecture mstandards (e.g., GSM) Mobility r6.5 Principles: addressing and routing to mobile users r6.6 Mobile IP r6.7 Handling mobility in cellular networks r6.8 Mobility and higher- layer protocols 6.9 Summary 486: Wireless and Mobile Networks Mobile IP rRFC 3220 rhas many features weve seen: mhome agents, foreign agents, foreign-agent registration, care-of-addresses, encapsulation (packet-within-a-packet) rthree components to standard: mindirect routing of datagrams magent discovery mr

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论