Presentation is loading. Please wait.

Presentation is loading. Please wait.

6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 6 th edition.

Similar presentations


Presentation on theme: "6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 6 th edition."— Presentation transcript:

1 6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 6 th edition. Jim Kurose, Keith Ross Addison-Wesley 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/KWR All material copyright 1996-2009 J.F Kurose and K.W. Ross, All Rights Reserved 11/8/2014 Modified by John Copeland, Georgia Tech, for use in ECE3600

2 6: Wireless and Mobile Networks6-2 Chapter 6: Wireless and Mobile Networks Background: r # wireless (mobile) phone subscribers now exceeds # wired phone subscribers! (2008) r computer nets: laptops, palmtops, PDAs, Internet-enabled phone promise anytime untethered Internet access r two important (but different) challenges m communication over wireless link m handling mobile user who changes point of attachment to network

3 6: Wireless and Mobile Networks6-3 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA (Carrier Detect)  6.3 IEEE 802.11 wireless LANs ( “ wi-fi ” ) r 6.4 Cellular Internet Access m architecture m standards (e.g., GSM) Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling mobility in cellular networks r 6.8 Mobility and higher- layer protocols 6.9 Summary

4 6: Wireless and Mobile Networks6-4 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may be stationary (non-mobile) or mobile m wireless does not always mean mobility

5 6: Wireless and Mobile Networks6-5 Elements of a wireless network network infrastructure base station r typically connected to wired network  relay - responsible for sending packets between wired network and wireless host(s) in its “ area ” m e.g., cell towers 802.11 access points

6 6: Wireless and Mobile Networks6-6 Elements of a wireless network network infrastructure wireless link r typically used to connect mobile(s) to base station r also used as backbone link r multiple access protocol coordinates link access r various data rates, transmission distance

7 6: Wireless and Mobile Networks6-7 Characteristics of selected wireless link standards Bluetooth Indoor 10-30m Outdoor 50-200m Mid-range outdoor 200m – 4 Km Long-range outdoor 5Km – 20 Km.056.384 1 4 5-11 54 IS-95, CDMA, GSM 2G UMTS/WCDMA, CDMA2000 3G 802.15 802.11b 802.11a,g UMTS/WCDMA-HSPDA, CDMA2000-1xEVDO 3G cellular enhanced 802.16 (WiMAX (4G?)) 802.11a,g point-to-point 200 802.11n Data rate (Mbps) data NFR

8 6: Wireless and Mobile Networks6-8 Wireless Access Point (WAP) and Directional Antenna ("Cantenna") to extend range in one direction (4x).

9 6: Wireless and Mobile Networks6-9 Elements of a cellular wireless network network infrastructure infrastructure mode  base station ( or Wireless Access Point, WAP) connects mobiles into wired network r handoff: mobile changes base station providing connection into wired network

10 http://upload.wikimedia.org/wikipedia/en/5/57/CellTowersAtCorners.gif 1 1 7 Types of Cells, 21 Sets of Frequencies (3 for each cell type) Cellular Network Frequency Reuse 15 8 8 Cell Tower Freq. B Freq. C Freq. A

11 6: Wireless and Mobile Networks6-11 Elements of a wireless network Ad hoc mode r no base stations r nodes can only transmit to other nodes within link coverage r nodes organize themselves into a network: route among themselves

12 6: Wireless and Mobile Networks6-12 Wireless Link Characteristics Differences from wired link …. m decreased signal strength: radio signal attenuates as it propagates through matter (path loss) m interference from other sources: standardized wireless network frequencies (e.g., 2.4 GHz) shared by other devices (e.g., phone); devices (motors) interfere as well m multipath 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 ”

13 6: Wireless and Mobile Networks6-13 Wireless Link Characteristics (2) r SNR: signal-to-noise ratio  larger SNR – easier to extract signal from noise (a “ good thing ” ) r SNR versus BER tradeoffs m given physical layer: increase power -> increase SNR->decrease BER m given SNR: choose physical layer that meets BER requirement, giving highest thruput SNR may change with mobility: dynamically adapt physical layer (modulation technique, rate) 10 20 30 40 QAM256 (8 Mbps) (1M symbols/s) QAM16 (4 Mbps) BPSK (1 Mbps) SNR(dB) BER 10 -1 10 -2 10 -3 10 -5 10 -6 10 -7 10 -4 Unusable Weak Strong BER = bit error rate 10 -4 means 1 error per 10,000 bits

14 6: Wireless and Mobile Networks6-14 Wireless network characteristics Multiple wireless senders and receivers create additional problems (beyond multiple access): A B C Hidden terminal problem r B, A hear each other r B, C hear each other r A, C can not hear each other means A, C unaware of their interference at B A B C A ’ s signal strength space C ’ s signal strength Signal fading: r B, A hear each other r B, C hear each other r A, C can not hear each other interfering at B

15 Network Core: Circuit Switching network resources (e.g., bandwidth) divided into “ pieces ” r pieces allocated to calls r resource piece idle if not used by owning call (no sharing)  dividing link bandwidth into “ pieces ”  frequency division (FDM)  time division (TDM)  code division (CDM) FDM frequency time TDM frequency time 4 users 6: Wireless and Mobile Networks6-15

16 6: Wireless and Mobile Networks6-16 Code Division Multiple Access (CDMA) r used in several wireless broadcast channels (cellular, satellite, etc) standards  unique “ code ” assigned to each user; i.e., code set partitioning  all users share same frequency, but each user has own “ chipping ” sequence (i.e., code) to encode data r encoded signal = (original data) X (chipping sequence) r decoding: inner-product of encoded signal and chipping sequence  allows multiple users to “ coexist ” and transmit simultaneously with minimal interference (if codes are “ orthogonal ” )

17 6: Wireless and Mobile Networks6-17 CDMA Encode/Decode slot 1 slot 0 d 1 = -1 111 1 1 - 1 - 1 -1 - Z i,m = d i. c m d 0 = 1 111 1 1 - 1 - 1 - 1 - 111 1 1 - 1 - 1 -1 - 111 1 1 - 1 - 1 -1 - slot 0 channel output slot 1 channel output channel output Z i,m sender code data bits slot 1 slot 0 d 1 = -1 d 0 = 1 111 1 1 - 1 - 1 -1 - 111 1 1 - 1 - 1 - 1 - 111 1 1 - 1 - 1 -1 - 111 1 1 - 1 - 1 -1 - slot 0 channel output slot 1 channel output receiver code received input D i =  Z i,m. c m m=1 M M

18 6: Wireless and Mobile Networks6-18 CDMA: two-sender interference Orthogonal Codes Sum over i A i = 0 B i = 0 A i x B i = 0 A i x(-B i ) = 0

19 6: Wireless and Mobile Networks6-19 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA  6.3 IEEE 802.11 wireless LANs ( “ Wi- Fi ” ) r 6.4 Cellular Internet Access m architecture m standards (e.g., GSM) Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling mobility in cellular networks r 6.8 Mobility and higher- layer protocols 6.9 Summary

20 6: Wireless and Mobile Networks6-20 IEEE 802.11 Wireless LAN (WiFi) r 802.11b m 2.4-5 GHz unlicensed spectrum m up to 11 Mbps m direct sequence spread spectrum (DSSS) in physical layer all hosts use same chipping code r 802.11a m 5-6 GHz range m up to 54 Mbps r 802.11g m 2.4-5 GHz range m up to 54 Mbps r 802.11n: multiple antennae m 2.4-5 GHz range m up to 200 Mbps r all use CSMA/CA for multiple access r all have base-station and ad-hoc network versions

21 6: Wireless and Mobile Networks6-21 802.11 LAN architecture r wireless host communicates with base station m base station = access point (AP)  Basic Service Set (BSS) (aka “ cell ” ) in infrastructure mode contains: m wireless hosts  access point (AP or WAP ): base station m ad hoc mode: hosts only BSS 1 BSS 2 Internet hub, switch or router AP

22 6: Wireless and Mobile Networks6-22 802.11: Channels, association  802.11b: 2.4GHz - 2.485GHz spectrum divided into 11 channels at different frequencies (only 1, 6, 11 don't overlap) m AP admin chooses frequency for AP m interference possible: channel can be same as that chosen by neighboring AP! r host: must associate with an AP  scans channels, listening for beacon frames containing AP ’ s name (SSID) and MAC address m selects AP to associate with m may perform authentication [Chapter 8]  will typically run DHCP to get IP address in AP ’ s subnet

23 6: Wireless and Mobile Networks6-23 IEEE 802.11: multiple access r avoid collisions: 2 + nodes transmitting at same time r 802.11: CSMA - sense before transmitting  don ’ t collide with ongoing transmission by other node r 802.11: no collision detection! m difficult to receive (sense collisions) when transmitting due to weak received signals  can ’ t sense all collisions in any case: hidden terminal, fading m goal: avoid collisions: CSMA/C(ollision)A(voidance) A B C A B C A ’ s signal strength space C ’ s signal strength

24 6: Wireless and Mobile Networks6-24 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 back-off 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) sender receiver DIFS data SIFS ACK (without CA - no collision avoidance)

25 6: Wireless and Mobile Networks6-25 Avoiding collisions (more) idea: allow sender to “ reserve ” channel rather than random access of data frames: avoid collisions of long data frames r sender first transmits small request-to-send (RTS) packets to BS (WAP) using CSMA  RTSs may still collide with each other (but they ’ re short) r BS broadcasts clear-to-send CTS in response to RTS r CTS heard by all nodes within range of the receiver. m sender transmits data frame m other stations defer transmissions Avoid data frame collisions completely* using small reservation packets! (*for static wireless hosts) BS-base station, WAP-wireless access point, CSMA-carrier sense multiple access

26 6: Wireless and Mobile Networks6-26 Collision Avoidance: RTS-CTS exchange AP A B time RTS(A) RTS(B) RTS(A) CTS(A) DATA (A) ACK(A) reservation collision defer

27 6: Wireless and Mobile Networks6-27 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 [Serves as E'net source address] 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 [Serves as E'net destination address] Sequence No.: needed for ARQ (ACK required) mode. Address 4: MAC address of wireless relay host (ad hoc networks only)

28 6: Wireless and Mobile Networks6-28 Internet router AP H1 R1 AP MAC addr H1 MAC addr R1 MAC addr address 1 1st dest (AP) address 2 source address 3 2nd dest (eth) 802.11 (WiFi) frame R1 MAC addr H1 MAC addr dest. address source address 802.3 (Eth) frame 802.11 frame: addressing Ethernet

29 6: Wireless and Mobile Networks6-29 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)

30 6: Wireless and Mobile Networks6-30 hub or switch AP 2 AP 1 H1 BBS 2 BBS 1 802.11: mobility within same subnet router r H1 remains in same IP subnet: IP address can remain same r switch: which AP is associated with H1?  self-learning (Ch. 5): switch will see frame from H1 and “ remember ” which switch port can be used to reach H1 m [What about a Hub?]

31 6: Wireless and Mobile Networks6-31 802.11: advanced capabilities Rate Adaptation r base station, mobile dynamically change transmission rate (physical layer modulation technique) as mobile moves, SNR varies QAM256 (8 Mbps) QAM16 (4 Mbps) BPSK (1 Mbps) 1020 30 40 SNR(dB) BER 10 -1 10 -2 10 -3 10 -5 10 -6 10 -7 10 -4 operating point 1. SNR decreases, BER increase as node moves away from base station 2. When BER becomes too high, switch to lower transmission rate but with lower BER

32 6: Wireless and Mobile Networks6-32 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 (like BlueTooth) r less than 10 m diameter r replacement for cables (mouse, keyboard, headphones) r ad hoc: no infrastructure r master/slaves: m slaves request permission to send (to master) m master grants requests r 802.15: evolved from Bluetooth specification m 2.4-2.5 GHz radio band m up to 721 kbps

33 6: Wireless and Mobile Networks6-33 802.16: WiMAX r like 802.11 & cellular: base station model m transmissions to/from base station by hosts with omni- directional antenna m base station-to-base station backhaul with point- to-point antenna r unlike 802.11:  range ~ 6 miles ( “ city rather than coffee shop ” ) m ~14 Mbps point-to-multipoint point-to-point

34 6: Wireless and Mobile Networks6-34

35 6: Wireless and Mobile Networks6-35 iStumbler (Mac) ISS

36 6: Wireless and Mobile Networks6-36 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA  6.3 IEEE 802.11 wireless LANs ( “ wi-fi ” ) r 6.4 Cellular Internet Access m architecture m standards (e.g., GSM) Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling mobility in cellular networks r 6.8 Mobility and higher- layer protocols 6.9 Summary

37 6: Wireless and Mobile Networks6-37 Mobile Switching Center Public telephone network, and Internet Mobile Switching Center Components of cellular network architecture  connects cells to wide area net  manages call setup (more later!)  handles mobility (more later!) MSC  covers geographical region  base station (BS) analogous to 802.11 AP  mobile users attach to network through BS  air-interface: physical and link layer protocol between mobile and BS cell wired network

38 6: Wireless and Mobile Networks6-38 Cellular networks: the first hop Two techniques for sharing mobile-to-BS radio spectrum r combined FDMA/TDMA: divide spectrum in frequency channels, divide each channel into time slots r CDMA: code division multiple access frequency bands time slots

39 6: Wireless and Mobile Networks6-39 Cellular standards: Generations 1G systems: Cellular, FM, voice, 1 mobile per frequency 2G systems: Digital, voice, many mobiles per freq. 3G systems: Digital, voice & data Universal Mobile Telecommunications Service (UMTS) m GSM next step, but using CDMA CDMA-2000 : CDMA in TDMA slots (HSPA) 28 Mbps (AT&T) m 1xEvolution Data Optimized (1xEVDO) 14 Mbps (Verizon) 4G systems: Higher speed, like 802.17 WiMAX m As of August 2011, U.S. carriers currently use the following (most will go to LTE): m AT&T = HSPA+ (63 Mbps) (2011 -> LTE) m Sprint = WiMax (47 Mbps) (2013 -> LTE) m Verizon = LTE (93 Mbps) m T-Mobile = HSPA+ (75 Mbps) (2013 -> LTE) LTE – 300 Mbps max. (700 MHz band, OFDMA) LTE Advanced – 1000 Mbps max. (8x8 MIMO and 128 QAM)

40 6: Wireless and Mobile Networks6-40 Cell Tower Coverage The 450 MHz band was made available by the switch to digital (HiDef) TV and the release of higher frequency TV channels for other services (first responders, universal Internet,...). Frequency bands in the 700 MHz range were auctioned by the FCC in 2012, and there are plans to buy back TV channels in the 600 MHz band. The gain of a half-wave antenna varies as 1/f 2. Lower frequencies also penetrate walls better. 30 mi 16 mi 9 mi 8 mi

41 6: Wireless and Mobile Networks6-41 Wireless, mobility: impact on higher layer protocols r logically, impact should be minimal … m best effort service model remains unchanged m TCP and UDP can (and do) run over wireless, mobile r … but performance-wise: m packet loss/delay due to bit-errors (discarded packets, delays for link-layer retransmissions), and handoff m TCP interprets loss as congestion, will decrease congestion window un-necessarily m delay impairments for real-time traffic m limited bandwidth (bits/second) of wireless links


Download ppt "6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 6 th edition."

Similar presentations


Ads by Google