Wireless Networks ECS 152 A Acknowledgement slides from
- Slides: 60
Wireless Networks ECS 152 A Acknowledgement: slides from Kurose and Ross 1
Wireless and Mobile Networks Background: r # wireless (mobile) phone subscribers now exceeds # wired phone subscribers! r computer nets: laptops, palmtops, PDAs, Internet-enabled phone promise anytime untethered Internet access r two important (but different) challenges m m communication over wireless link handling mobile user who changes point of attachment to network 2
Chapter 6 outline 6. 1 Introduction Wireless r 6. 2 Wireless links, characteristics r 6. 3 IEEE 802. 11 wireless LANs (“wi-fi”) r 6. 4 Cellular Internet Access m m architecture 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 higherlayer protocols 6. 9 Summary 3
Elements of a wireless network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may be stationary (nonmobile) or mobile m wireless does not always mean mobility 4
Elements of a wireless network infrastructure base station r typically connected to wired network r relay - responsible for sending packets between wired network and wireless host(s) in its “area” m e. g. , cell towers 802. 11 access points 5
Elements of a wireless 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 6
Characteristics of selected wireless link standards 54 Mbps 5 -11 Mbps 802. 11{a, g} 802. 11 b . 11 p-to-p link 802. 15 3 G UMTS/WCDMA, CDMA 2000 384 Kbps 2 G IS-95 CDMA, GSM 56 Kbps Indoor Outdoor Mid range outdoor Long range outdoor 10 – 30 m 50 – 200 m – 4 Km 5 Km – 20 Km 7
Elements of a wireless network infrastructure mode r base station connects mobiles into wired network r handoff: mobile changes base station providing connection into wired network 8
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 9
Characteristics of Wireless Systems r Spectrum is limited m We cannot reproduce spectrum m A few GHz of “good” spectrum for all applications r Wireless is a shared medium m Broadcast nature m Interference r Unpredictable, unreliable, time-varying r Wireless vs. mobility r Limited battery r Multi-user diversity 10
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” 11
Wireless network characteristics Multiple wireless senders and receivers create additional problems (beyond multiple access): C A B Hidden terminal problem C C’s signal strength A’s signal strength space r B, A hear each other Signal fading: r A, C can not hear each other r B, C hear each other r B, A hear each other means A, C unaware of their interference at B r A, C can not hear each other interferring at B 12
Scarce Radio Resource r Wireline networks m High bandwidth and reliable channel m Core router: Gbps-Tbps r Wireless systems m Limited nature resource (radio frequency) m Capacity is limited by available frequency m 3 G data rate: up to 2 Mbps m Requirement: spectrum efficiency 13
Channel Conditions r Decides transmission performance r Determined by m Strength of desired signal m Noise level • Interference from other transmissions • Background noise m Time-varying and location-dependent. 14
Interference and Noise 15
Propagation Environment 16
Time-varying Channel Conditions r Due to users’ mobility and variability in the propagation environment, both desired signal and interference are time-varying and locationdependent r A measure of channel quality: SINR (Signal to Interference plus Noise Ratio) 17
Illustration of Channel Conditions Based on Lee’s path loss model, log-normal shadowing, and Raleigh fading 18
Performance vs. Channel Condition r Voice users: better voice quality at high SINR for a fixed transmission rate; r Data users: higher transmission rate at high SINR for a given bit error rate; r Adaptation techniques are specified in 3 G standards. m TDMA: adaptive coding and modulation m CDMA: variable spreading and coding 19
Chapter 6 outline 6. 1 Introduction Wireless r 6. 2 Wireless links, characteristics m CDMA r 6. 3 IEEE 802. 11 wireless LANs (“wi-fi”) r 6. 4 Cellular Internet Access m m architecture 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 higherlayer protocols 6. 9 Summary 20
IEEE 802. 11 Wireless LAN r 802. 11 b m 2. 4 -5 GHz unlicensed radio spectrum m up to 11 Mbps m direct sequence spread spectrum (DSSS) in physical layer • all hosts use same chipping code m widely deployed, using base stations r 802. 11 a m 5 -6 GHz range m up to 54 Mbps r 802. 11 g m 2. 4 -5 GHz range m up to 54 Mbps r All use CSMA/CA for multiple access r All have base-station and ad-hoc network versions 21
802. 11 LAN architecture r wireless host communicates Internet AP hub, switch or router BSS 1 AP BSS 2 with base station m base station = access point (AP) r Basic Service Set (BSS) (aka “cell”) in infrastructure mode contains: m wireless hosts m access point (AP): base station m ad hoc mode: hosts only 22
802. 11: Channels, association r 802. 11 b: 2. 4 GHz-2. 485 GHz spectrum divided into 11 channels at different frequencies 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 m 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] m will typically run DHCP to get IP address in AP’s subnet 23
802. 11: mobility within same subnet r H 1 remains in same IP subnet: IP address can remain same r switch: which AP is associated with H 1? m self-learning (Ch. 5): switch will see frame from H 1 and “remember” which switch port can be used to reach H 1 router hub or switch BBS 1 AP 2 H 1 BBS 2 24
802. 15: personal area network r less than 10 m diameter r replacement for cables (mouse, keyboard, headphones) r ad hoc: no infrastructure r master/slaves: m m slaves request permission to send (to master) master grants requests r 802. 15: evolved from Bluetooth specification m m 2. 4 -2. 5 GHz radio band up to 721 kbps P S P radius of coverage M S P M Master device S Slave device P Parked device (inactive) 25
Chapter 6 outline 6. 1 Introduction Wireless r 6. 2 Wireless links, characteristics m CDMA r 6. 3 IEEE 802. 11 wireless LANs (“wi-fi”) r 6. 4 Cellular Internet Access m m architecture 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 higherlayer protocols 6. 9 Summary 26
Components of cellular network architecture MSC cell q connects cells to wide area net q manages call setup (more later!) q handles mobility (more later!) 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 Mobile Switching Center Public telephone network, and Internet Mobile Switching Center wired network 27
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 frequency bands r CDMA: code division multiple access time slots 28
Cellular standards: brief survey 2 G systems: voice channels r IS-136 TDMA: combined FDMA/TDMA (north america) r GSM (global system for mobile communications): combined FDMA/TDMA m most widely deployed r IS-95 CDMA: code division multiple access TDMA/FDMA 0 CDMA-200 GPRS EDGE UMTS IS-136 GSM IS-95 Don’t drown in a bowl of alphabet soup: use this for reference only 29
Cellular standards: brief survey 2. 5 G systems: voice and data channels r for those who can’t wait for 3 G service: 2 G extensions r general packet radio service (GPRS) m evolved from GSM m data sent on multiple channels (if available) r enhanced data rates for global evolution (EDGE) m also evolved from GSM, using enhanced modulation m Date rates up to 384 K r CDMA-2000 (phase 1) m data rates up to 144 K m evolved from IS-95 30
Cellular standards: brief survey 3 G systems: voice/data r Universal Mobile Telecommunications Service (UMTS) m GSM next step, but using CDMA r CDMA-2000 …. . more (and more interesting) cellular topics due to mobility (stay tuned for details) 31
Chapter 6 outline 6. 1 Introduction Wireless r 6. 2 Wireless links, characteristics m CDMA r 6. 3 IEEE 802. 11 wireless LANs (“wi-fi”) r 6. 4 Cellular Internet Access m m architecture 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 higherlayer protocols 6. 9 Summary 32
What is mobility? r spectrum of mobility, from the network perspective: no mobility mobile wireless user, mobile user, using same access connecting/ point disconnecting from network using DHCP. high mobility mobile user, passing through multiple access point while maintaining ongoing connections (like cell phone) 33
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 34
Mobility: more vocabulary Permanent address: remains constant (e. g. , 128. 119. 40. 186) visited network: network in which mobile currently resides (e. g. , 79. 129. 13/24) Care-of-address: address in visited network. (e. g. , 79, 129. 13. 2) wide area network correspondent: wants to communicate with mobile home agent: entity in visited network that performs mobility functions on behalf of mobile. 35
How do you contact a mobile friend: Consider friend frequently changing addresses, how do you find her? I wonder where Alice moved to? r search all phone books? r call her parents? r expect her to let you know where he/she is? 36
Mobility: approaches r Let routing handle it: routers advertise permanent address of mobile-nodes-in-residence via usual routing table exchange. m routing tables indicate where each mobile located m no changes to end-systems r Let end-systems handle it: m indirect routing: communication from correspondent to mobile goes through home agent, then forwarded to remote m direct routing: correspondent gets foreign address of mobile, sends directly to mobile 37
Mobility: approaches r Let routing handle it: routers advertise permanent not address of mobile-nodes-in-residence via usual scalable routing table exchange. to millions of m routing tables indicate mobiles where each mobile located m no changes to end-systems r let end-systems handle it: m indirect routing: communication from correspondent to mobile goes through home agent, then forwarded to remote m direct routing: correspondent gets foreign address of mobile, sends directly to mobile 38
Mobility: registration visited network home network 2 1 wide area network foreign agent contacts home agent home: “this mobile is resident in my network” mobile contacts foreign agent on entering visited network End result: r Foreign agent knows about mobile r Home agent knows location of mobile 39
Mobility via Indirect Routing foreign agent receives packets, forwards to mobile home agent intercepts packets, forwards to foreign agent home network visited network 3 wide area network correspondent addresses packets using home address of mobile 1 2 4 mobile replies directly to correspondent 40
Indirect Routing: comments r Mobile uses two addresses: m permanent address: used by correspondent (hence mobile location is transparent to correspondent) m care-of-address: used by home agent to forward datagrams to mobile r foreign agent functions may be done by mobile itself r triangle routing: correspondent-home-networkmobile m inefficient when correspondent, mobile are in same network 41
Indirect Routing: moving between networks r suppose mobile user moves to another network m registers with new foreign agent m new foreign agent registers with home agent m home agent update care-of-address for mobile m packets continue to be forwarded to mobile (but with new care-of-address) r mobility, changing foreign networks transparent: on going connections can be maintained! 42
Mobility via Direct Routing correspondent forwards to foreign agent receives packets, forwards to mobile home network 4 wide area network 2 correspondent requests, receives foreign address of mobile visited network 1 3 4 mobile replies directly to correspondent 43
Mobility via Direct Routing: comments r overcome triangle routing problem r non-transparent to correspondent: correspondent must get care-of-address from home agent m what if mobile changes visited network? 44
Accommodating mobility with direct routing r anchor foreign agent: FA in first visited network r data always routed first to anchor FA r when mobile moves: new FA arranges to have data forwarded from old FA (chaining) foreign net visited at session start wide area network anchor foreign agent 1 2 4 5 correspondent agent 3 new foreign agent new foreign network 45
Chapter 6 outline 6. 1 Introduction Wireless r 6. 2 Wireless links, characteristics m CDMA r 6. 3 IEEE 802. 11 wireless LANs (“wi-fi”) r 6. 4 Cellular Internet Access m m architecture 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 higherlayer protocols 6. 9 Summary 46
Mobile IP r RFC 3220 r has many features we’ve seen: m home agents, foreign-agent registration, care-of-addresses, encapsulation (packet-within-a-packet) r three components to standard: m indirect routing of datagrams m agent discovery m registration with home agent 47
Mobile IP: indirect routing foreign-agent-to-mobile packet sent by home agent to foreign agent: a packet within a packet dest: 79. 129. 13. 2 dest: 128. 119. 40. 186 Permanent address: 128. 119. 40. 186 dest: 128. 119. 40. 186 Care-of address: 79. 129. 13. 2 packet sent by correspondent 48
Mobile IP: agent discovery r agent advertisement: foreign/home agents advertise service by broadcasting ICMP messages (typefield = 9) H, F bits: home and/or foreign agent R bit: registration required 49
Mobile IP: registration example 50
Components of cellular network architecture recall: correspondent wired public telephone network MSC MSC MSC different cellular networks, operated by different providers 51
Handling mobility in cellular networks r home network: network of cellular provider you subscribe to (e. g. , Sprint PCS, Verizon) m home location register (HLR): database in home network containing permanent cell phone #, profile information (services, preferences, billing), information about current location (could be in another network) r visited network: network in which mobile currently resides m visitor location register (VLR): database with entry for each user currently in network m could be home network 52
GSM: indirect routing to mobile home network HLR 2 home MSC consults HLR, gets roaming number of mobile in visited network correspondent home Mobile Switching Center 1 VLR 3 Mobile Switching Center 4 Public switched telephone network call routed to home network home MSC sets up 2 nd leg of call to MSC in visited network mobile user visited network MSC in visited network completes call through base station to mobile 53
GSM: handoff with common MSC r Handoff goal: route call via new base station (without interruption) r reasons for handoff: VLR Mobile Switching Center old routing old BSS m new routing m new BSS m stronger signal to/from new BSS (continuing connectivity, less battery drain) load balance: free up channel in current BSS GSM doesn’t mandate why to perform handoff (policy), only how (mechanism) r handoff initiated by old BSS 54
GSM: handoff with common MSC VLR Mobile Switching Center 2 4 1 8 old BSS 5 7 3 6 new BSS 1. old BSS informs MSC of impending handoff, provides list of 1+ new BSSs 2. MSC sets up path (allocates resources) to new BSS 3. new BSS allocates radio channel for use by mobile 4. new BSS signals MSC, old BSS: ready 5. old BSS tells mobile: perform handoff to new BSS 6. mobile, new BSS signal to activate new channel 7. mobile signals via new BSS to MSC: handoff complete. MSC reroutes call 8 MSC-old-BSS resources released 55
GSM: handoff between MSCs r anchor MSC: first MSC visited during cal home network correspondent Home MSC anchor MSC m call remains routed through anchor MSC r new MSCs add on to end PSTN MSC (a) before handoff of MSC chain as mobile moves to new MSC r IS-41 allows optional path minimization step to shorten multi-MSC chain 56
GSM: handoff between MSCs r anchor MSC: first MSC visited during cal home network correspondent Home MSC anchor MSC m call remains routed through anchor MSC r new MSCs add on to end PSTN MSC (b) after handoff of MSC chain as mobile moves to new MSC r IS-41 allows optional path minimization step to shorten multi-MSC chain 57
Mobility: GSM versus Mobile IP GSM element Comment on GSM element Mobile IP element Home system Network to which the mobile user’s permanent phone number belongs Home network Gateway Mobile Switching Center, or “home MSC”. Home Location Register (HLR) Home MSC: point of contact to obtain routable address of mobile user. HLR: database in home system containing permanent phone number, profile information, current location of mobile user, subscription information Home agent Visited System Network other than home system where mobile user is currently residing Visited network Visited Mobile services Switching Center. Visitor Location Record (VLR) Visited MSC: responsible for setting up calls Foreign agent to/from mobile nodes in cells associated with MSC. VLR: temporary database entry in visited system, containing subscription information for each visiting mobile user Mobile Station Roaming Number (MSRN), or “roaming number” Routable address for telephone call segment between home MSC and visited MSC, visible to neither the mobile nor the correspondent. Care-ofaddress 58
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 of wireless links 59
Chapter 6 Summary Wireless r wireless links: m m m capacity, distance channel impairments CDMA r IEEE 802. 11 (“wi-fi”) m CSMA/CA reflects wireless channel characteristics r cellular access m architecture m standards (e. g. , GSM, CDMA-2000, UMTS) Mobility r principles: addressing, routing to mobile users m m m home, visited networks direct, indirect routing care-of-addresses r case studies m mobile IP m mobility in GSM r impact on higher-layer protocols 60
- Acknowledgement slides
- Acknowledgement slide template
- Acknowledgement slides
- Acknowledgement slide
- Acknowledgement slide presentation
- Acknowledgement slides
- Kindratenko
- Acknowledgement slide
- Acknowledgement slides
- What are wireless devices and the wireless revolution
- Wireless wide area networks
- Understanding wired and wireless networks
- Wireless network definition
- Habitat monitoring sensor
- Single node architecture in wsn
- Wireless sensor networks for habitat monitoring
- Local wireless networks
- Benefits of transferring data over a wired network
- Gast 802 11 wireless networks "torrent"
- Game theory in wireless and communication networks
- Wireless networks
- A small child slides down the four frictionless slides
- John pushes hector on a plastic toboggan
- Difference between virtual circuit and datagram
- Backbone networks in computer networks
- Cs 152 stanford
- Cisco cse training
- Ecs 129 uc davis
- Ron mak sjsu
- Comp102
- Ece umass
- Ba 152
- Mae 152
- Unr152
- Utd ee guided electives
- Ba 152
- Cs 152 berkeley
- Przedszkole 152 łódź
- Law society of tasmania v richardson
- Isbe ecs
- Ece 152
- Environmental control system ecs
- Ecs mid atlantic richmond va
- Ecs commissioning
- Pompe de recyclage ecs
- Ecs commissioning
- Macroob
- Ba 152
- Round 271 to the nearest hundred
- Plasa
- Lorne priemaza
- Comp103 ecs
- Html
- Forensics
- Ecs 174 uc davis
- Gfi 152
- Econ 152
- Ba 152
- Ece umass
- Mae 152
- Ecs calculator