Wireless Networks Reading: Section 2.8 COS 461: Computer Networks Spring 2012 1.

Slides:



Advertisements
Similar presentations
Nick Feamster CS 4251 Computer Networking II Spring 2008
Advertisements

Comp 361, Spring 20056:Basic Wireless 1 Chapter 6: Basic Wireless (last updated 02/05/05) r A quick intro to CDMA r Basic
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks A note on the use of these ppt slides: We’re making these slides freely available.
Overview r Ethernet r Hubs, bridges, and switches r Wireless links and LANs.
1 Wireless and Mobile Networks Reading: Sections 2.8 and COS 461: Computer Networks Spring 2008 (MW 1:30-2:50 in COS 105) Jennifer Rexford Teaching.
Wireless and Mobile Networks Reading: Sections 2.8 and COS 461: Computer Networks Spring 2009 (MW 1:30-2:50 in COS 105) Mike Freedman Teaching Assistants:
Wireless and Mobile Networks Reading: Sections 2.8 and COS 461: Computer Networks Spring 2010 (MW 3:00-4:20 in COS 105) Mike Freedman
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
Wireless Networks Reading: Section 2.8 COS 461: Computer Networks Spring 2011 Mike Freedman
6: Wireless and Mobile Networks6-1 Chapter 6: Wireless and Mobile Networks Background: r # wireless (mobile) phone subscribers now exceeds # wired phone.
1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may be stationary (non- mobile) or.
6: Wireless and Mobile Networks6-1 Data Communication and Networks Lecture 5 Wireless Networks October 5, 2006.
6: Wireless and Mobile Networks Wireless LANs.
6/2/05CS118/Spring051 Chapter 6: Wireless and Mobile Networks r Cover the following sections only:  6.3: wireless LANs  6.5: mobility management:
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
8/7/20151 Mobile Computing COE 446 Wireless Multiple Access Tarek Sheltami KFUPM CCSE COE hthttp://faculty.kfupm.edu.sa/coe/tarek/coe446.htm Principles.
1 Wireless and Mobile Networks EECS 489 Computer Networks Z. Morley Mao Monday March 12, 2007 Acknowledgement:
Wireless Networks COS 461: Computer Networks Spring 2013 Mike Freedman 1.
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on.
Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Wireless,
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Wireless,
6-1 Chapter 6 outline Introduction Wireless r Wireless links, characteristics r IEEE wireless LANs (“wi-fi”) Mobility r Principles: addressing and.
Computer networks 6: Wireless and Mobile Networks.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
Wireless Networks CSE 3461: Introduction to Computer Networking Reading: §§6.1–6.3, Kurose and Ross 1.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
Wireless, Mobile Networks 6-1 Ch. 6: Wireless and Mobile Networks Background:  # wireless (mobile) phone subscribers now exceeds # wired phone subscribers.
CS 372 – introduction to computer networks* Announcements: r Final exam on Friday  The materials after chapters 1,2  Emphasis on the material covered.
Adapted from: Computer Networking, Kurose/Ross 1DT066 Distributed Information Systems Chapter 6 Wireless, WiFi and mobility.
Advance Computer Networks Lecture#11 Instructor: Engr. Muhammad Mateen Yaqoob.
ECE 4450:427/527 - Computer Networks Spring 2015
Lecture 1 Wireless Networks CPE 401/601 Computer Network Systems slides are modified from Jim Kurose & Keith Ross All material copyright J.F.
Wi-Fi Wireless LANs Dr. Adil Yousif. What is a Wireless LAN  A wireless local area network(LAN) is a flexible data communications system implemented.
CS640: Introduction to Computer Networks Aditya Akella Lecture 22 - Wireless Networking.
Overview of Wireless LANs Use wireless transmission medium Issues of high prices, low data rates, occupational safety concerns, & licensing requirements.
Wireless Medium Access. Multi-transmitter Interference Problem  Similar to multi-path or noise  Two transmitting stations will constructively/destructively.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
Wireless Access avoid collisions: 2 + nodes transmitting at same time CSMA - sense before transmitting –don’t collide with ongoing transmission by other.
Recitation 8 Wireless Networks. Virtual carrier sensing First exchange control frames before transmitting data – Sender issues “Request to Send” (RTS),
K. Salah 1 Chapter 15 Wireless LANs. K. Salah 2 Figure 15.1 BSSs IEEE Specification for Wireless LAN: IEEE , which covers the physical and data.
Wireless and Mobility The term wireless is normally used to refer to any type of electrical or electronic operation which is accomplished without the use.
Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Wireless,
Wireless Networks Mike Freedman COS 461: Computer Networks 1.
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
Lecture # 13 Computer Communication & Networks. Today’s Menu ↗Last Lecture Review ↗Wireless LANs ↗Introduction ↗Flavors of Wireless LANs ↗CSMA/CA Wireless.
Final Exam Wednesday 3/18/2015 Tech LR PM 1.
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
Wireless, Mobile Networks 6-1 Ch. 6: Wireless and Mobile Networks Background:  # wireless (mobile) phone subscribers now exceeds # wired phone subscribers.
Recitation 8 Wireless Networks.
WIRELESS COMMUNICATION Husnain Sherazi Lecture 1.
6: Wireless and Mobile Networks6-1 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA r 6.3 IEEE wireless.
Universität Karlsruhe Institut für Telematik ECE 591
EEC-484/584 Computer Networks Lecture 14 Wenbing Zhao
1 Chapter 4 MAC Layer – Wireless LAN Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida.
Wireless LAN Requirements (1) Same as any LAN – High capacity, short distances, full connectivity, broadcast capability Throughput: – efficient use wireless.
Spring 2006 CPE :Wireless and Mobile Networks I 1 Special Topics in Computer Engineering Wireless and Mobile Networks: I Some of these Slides are.
CS 1652 Wireless and Mobile Networks Jack Lange University of Pittsburgh 1.
6-1 Last time □ Ethernet ♦ frame structure ♦ CSMA/CD algorithm □ Hubs ♦ physical-layer repeaters ♦ make one large collision domain □ Switches ♦ link-layer.
Outline What is Wireless LAN Wireless Transmission Types
Chapter 6 Wireless and Mobile Networks
Wireless LANs Wireless proliferating rapidly.
CS 457 – Lecture 7 Wireless Networks
컴퓨터 네트워크 Chapter 4 컴퓨터 네트워크.
Elements of a wireless network
EEC-484/584 Computer Networks
Elements of a wireless network
Wireless LANs CS 352, Lecture 16
Elements of a wireless network
Presentation transcript:

Wireless Networks Reading: Section 2.8 COS 461: Computer Networks Spring

Widespread Deployment Worldwide cellular subscribers – 1993: 34 million – 2005: more than 2 billion – 2009: more than 4 billion > landline subscribers Wireless local area networks – Wireless adapters built into laptops, tablets, & phones – More than 220,000 known WiFi locations in 134 countries – Probably many, many more (e.g., home networks, corporate networks, …) 2

Wireless Links 3

Wireless Properties Interference / bit errors – More sources of corruption compared to wired Multipath propagation – Signal does not travel in a straight line Broadcast medium – All traffic to everyone Power trade-offs – Important for power constrained devices 4

Wireless Links: High Bit Error Rate Decreasing signal strength – Disperses as it travels greater distance – Attenuates as it passes through matter 5

Wireless Links: High Bit Error Rate Interference from other sources – Radio sources in same frequency band – E.g., 2.4 GHz wireless phone interferes with b wireless LAN – Electromagnetic noise (e.g., microwave oven) 6

Wireless Links: High Bit Error Rate Multi-path propagation – Electromagnetic waves reflect off objects – Taking many paths of different lengths – Causing blurring of signal at the receiver 7 receiver transmitter

Dealing With Bit Errors Wireless vs. wired links – Wired: most loss is due to congestion – Wireless: higher, time-varying bit-error rate Dealing with high bit-error rates – Sender could increase transmission power Requires more energy (bad for battery-powered hosts) Creates more interference with other senders – Stronger error detection and recovery More powerful error detection/correction codes Link-layer retransmission of corrupted frames 8

Wireless Links: Broadcast Limitations Wired broadcast links – E.g., Ethernet bridging, in wired LANs – All nodes receive transmissions from all other nodes Wireless broadcast: hidden terminal problem 9 A B C A and B hear each other B and C hear each other But, A and C do not So, A and C are unaware of their interference at B A and B hear each other B and C hear each other But, A and C do not So, A and C are unaware of their interference at B

Wireless Links: Broadcast Limitations Wired broadcast links – E.g., Ethernet bridging, in wired LANs – All nodes receive transmissions from all other nodes Wireless broadcast: fading over distance 10 A B C A’s signal strength space C’s signal strength A and B hear each other B and C hear each other But, A and C do not So, A and C are unaware of their interference at B A and B hear each other B and C hear each other But, A and C do not So, A and C are unaware of their interference at B

Example Wireless Link Technologies Data networks – (Bluetooth): 2.1 Mbps – 10 m – b (WiFi): 5-11 Mbps – 100 m – a and g (WiFi): 54 Mbps – 100 m – n (WiFi): 200 Mbps – 100 m – (WiMax): 70 Mbps – 10 km Cellular networks, outdoors – 2G: 56 Kbps – 3G: 384 Kbps – 3G enhanced (“4G”): 4 Mbps – LTE 11

Wireless Network: Wireless Link 12 network infrastructure Wireless link Typically used to connect mobile(s) to base station Also used as backbone link Multiple access protocol coordinates link access Wireless link Typically used to connect mobile(s) to base station Also used as backbone link Multiple access protocol coordinates link access

Wireless Network: Wireless Hosts 13 network infrastructure Wireless host Laptop, smartphone Run applications May be stationary (non- mobile) or mobile Wireless host Laptop, smartphone Run applications May be stationary (non- mobile) or mobile

Wireless Network: Base Station 14 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, access points 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, access points

Wireless Network: Infrastructure 15 network infrastructure Network infrastructure Larger network with which a wireless host wants to communicate Typically a wired network Provides traditional network services May not always exist Network infrastructure Larger network with which a wireless host wants to communicate Typically a wired network Provides traditional network services May not always exist

Infrastructure Mode (APs) 16 network infrastructure Infrastructure mode Base station connects mobiles into wired network Network provides services (addressing, routing, DNS) Handoff: mobile changes base station providing connection to wired network Infrastructure mode Base station connects mobiles into wired network Network provides services (addressing, routing, DNS) Handoff: mobile changes base station providing connection to wired network

Channels and Association Multiple channels at different frequencies – Network administrator chooses frequency for AP – Interference if channel is same as neighboring AP 17 Beacon frames from APs Associate request from host Association response from AP Beacon frames from APs Associate request from host Association response from AP

Channels and Association Multiple channels at different frequencies – Network administrator chooses frequency for AP – Interference if channel is same as neighboring AP Access points send periodic beacon frames – Containing AP’s name (SSID) and MAC address – Host scans channels, listening for beacon frames – Host selects an access point to associate with 18 Beacon frames from APs Associate request from host Association response from AP Beacon frames from APs Associate request from host Association response from AP

Mobility Within the Same Subnet H1 remains in same IP subnet – IP address of the host can remain same – Ongoing data transfers can continue uninterrupted H1 recognizes the need to change – H1 detects a weakening signal – Starts scanning for stronger one Changes APs with same SSID – H1 disassociates from one – And associates with other Switch learns new location – Self-learning mechanism 19 hub or switch AP 2 AP 1 H1 BBS 2 BBS 1 router

WiFi: Wireless LANs 20

LAN Architecture 21 Access Point (AP) –Base station that communicates with the wireless hosts Basic Service Set (BSS) –Coverage of one AP –AP acts as the master –Identified by an “network name” known as an SSID Access Point (AP) –Base station that communicates with the wireless hosts Basic Service Set (BSS) –Coverage of one AP –AP acts as the master –Identified by an “network name” known as an SSID BSS 1 BSS 2 Internet hub, switch or router AP SSID: Service Set Identifier

CSMA: Carrier Sense, Multiple Access Multiple access: channel is shared medium – Station: wireless host or access point – Multiple stations may want to transmit at same time Carrier sense: sense channel before sending – Station doesn’t send when channel is busy – To prevent collisions with ongoing transfers – But, detecting ongoing transfers isn’t always possible 22 A B C A B C A’s signal strength space C’s signal strength

CA: Collision Avoidance, Not Detection Collision detection in wired Ethernet – Station listens while transmitting – Detects collision with other transmission – Aborts transmission and tries sending again Problem #1: cannot detect all collisions – Hidden terminal problem – Fading 23

CA: Collision Avoidance, Not Detection Collision detection in wired Ethernet – Station listens while transmitting – Detects collision with other transmission – Aborts transmission and tries sending again Problem #1: cannot detect all collisions – Hidden terminal problem – Fading Problem #2: listening while sending – Strength of received signal is much smaller – Expensive to build hardware that detects collisions So, does collision avoidance, not detection 24

Hidden Terminal Problem A and C can’t see each other, both send to B Occurs b/c relies on physical carrier sensing, which is susceptible to hidden terminal problem 25 CBA

Virtual carrier sensing First exchange control frames before transmitting data – Sender issues “Request to Send” (RTS), incl. length of data – Receiver responds with “Clear to Send” (CTS) If sender sees CTS, transmits data (of specified length) If other node sees CTS, will idle for specified period If other node sees RTS but not CTS, free to send 26

Hidden Terminal Problem A and C can’t see each other, both send to B RTS/CTS can help – Both A and C would send RTS that B would see first – B only responds with one CTS (say, echo’ing A’s RTS) – C detects that CTS doesn’t match and won’t send 27 CBA

Exposed Terminal Problem B sending to A, C wants to send to D As C receives B’s packets, carrier sense would prevent it from sending to D, even though wouldn’t interfere RTS/CTS can help – C hears RTS from B, but not CTS from A – C knows it’s transmission will not interfere with A – C is safe to transmit to D 28 CBAD

Impact on Higher-Layer Protocols Wireless and mobility change path properties – Wireless: higher packet loss, not from congestion – Mobility: transient disruptions, and changes in RTT Logically, impact should be minimal … – Best-effort service model remains unchanged – TCP and UDP can (and do) run over wireless, mobile But, performance definitely is affected – TCP treats packet loss as a sign of congestion – TCP tries to estimate the RTT to drive retransmissions – TCP does not perform well under out-of-order packets Internet not designed with these issues in mind 29

Bluetooth: “personal-area-networks” 30

Bluetooth piconets Up to 7 “slave” devices and 225 “parked” devices Operates on unlicensed wireless spectrum – How to prevent interference? 31

PHY: Spread Spectrum – Frequency Hopping Nodes rapidly jump between frequencies Sender and receiver coordinated in jumps – How coordinate? Pseudorandom number generator, with shared input known to sender/receiver If randomly collide with other transmitted, only for short period before jump again Bluetooth – 79 frequencies, on each frequency for 625 microseconds – Each channel also uses TDMA, with each frame taking 1/3/5 consecutive slots. – Only master can start in odd slot, slave only in response 32

33 Ad hoc mode No base stations Nodes can only transmit to other nodes within link coverage Nodes self-organize and route among themselves Can create multi-hop wireless networks, instead of a wired backend Ad hoc mode No base stations Nodes can only transmit to other nodes within link coverage Nodes self-organize and route among themselves Can create multi-hop wireless networks, instead of a wired backend Ad-Hoc Networks

Infrastructure vs. Ad Hoc Infrastructure mode – Wireless hosts are associated with a base station – Traditional services provided by the connected network – E.g., address assignment, routing, and DNS resolution Ad hoc networks – Wireless hosts have no infrastructure to connect to – Hosts themselves must provide network services Similar in spirit to the difference between – Client-server communication – Peer-to-peer communication 34

Delay Tolerant Networking Nodes can both route and store – Next hop is available, forward – Otherwise, store packets Useful for data collection with no time limit – e.g., sensors in the field Analogous to – Hold onto packets until another hop can take it from you – Eventually reach its destination 35

The Upside to Interference Some systems leverage interference If packets collide once, likely will again – Can use both collisions to construct original packets – Reduce effective error rate significantly If two hosts send to each other through an AP, and they collide, AP can broadcast collision to both – Both know what they sent, can “subtract” that from collision to get the other – Improves throughput of system! 36

Conclusions Wireless – Already a major way people connect to the Internet – Gradually becoming more than just an access network Mobility (not discussed) – Today’s users tolerate disruptions as they move – … and applications try to hide the effects – Tomorrow’s users expect seamless mobility Challenges the design of network protocols – Wireless breaks the abstraction of a link, and the assumption that packet loss implies congestion – Mobility breaks association of address and location – Higher-layer protocols don’t perform as well 37