CS 372 – introduction to computer networks* Announcements: r Final exam on Friday  The materials after chapters 1,2  Emphasis on the material covered.

Slides:



Advertisements
Similar presentations
Wireless Networks Reading: Section 2.8 COS 461: Computer Networks Spring
Advertisements

Wireless, Mobile Networks – Mobility. Wireless, Mobile Networks6-2 Mobility: Vocabulary home network: permanent “home” of mobile (e.g., /24)
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.
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 and Mobility 6: Wireless and Mobile Networks.
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.
CPSC 441: Wireless1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 hours.
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 Wireless Networks m Wi-Fi (Wireless LAN) Example Problems m RTS/CTS.
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 and Mobile Networks EECS 489 Computer Networks Z. Morley Mao Wednesday March 14, 2007 Acknowledgement:
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.
OVERVIEW Lecture 2 Wireless Networks Lecture 2: Wireless Networks 1.
Chapter 6 Wireless and Mobile Networks Link Layer5-1 Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Chapter6_1.
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.
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.
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.
Chapter 6: Wireless and Mobile Networks Background: r # wireless (mobile) phone subscribers now exceeds # wired phone subscribers! r computer nets: laptops,
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.
ECE/CS 372 – introduction to computer networks Lecture 14 1 Chapter 6, slide Announcements: r Assign 4 is due this Thursday r Lab 4 is due next Tuesday.
6: Wireless and Mobile Networks 6-1 Chapter 6 Wireless and Mobile Networks A note on the use of these ppt slides: We’re making these slides freely available.
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.
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.
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.
Network Layer4-1 Today Collect homework New homework: Ch4 #16,19,21-24,26,27,29,31 (half graded, as usual) Due Wednesday Oct 15 in class Final programming.
OVERVIEW Lecture 3 Wireless Networks (2). Lecture 3: Wireless Networks 2 CDMA: two-sender interference.
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.
EEC-484/584 Computer Networks Lecture 14 Wenbing Zhao
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
1 Chapter 4 MAC Layer – Wireless LAN Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida.
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: 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.
6-1 Chapter 6 Wireless and Mobile Networks All material copyright J.F Kurose and K.W. Ross, All Rights Reserved.
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.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
6-1 Last time □ Ethernet ♦ frame structure ♦ CSMA/CD algorithm □ Hubs ♦ physical-layer repeaters ♦ make one large collision domain □ Switches ♦ link-layer.
Chapter 6 Wireless and Mobile Networks
CS 457 – Lecture 7 Wireless Networks
컴퓨터 네트워크 Chapter 4 컴퓨터 네트워크.
Elements of a wireless network
EEC-484/584 Computer Networks
Chapter 6 Wireless and Mobile Networks
EEC-484/584 Computer Networks
Wireless LANs CS 352, Lecture 16
Presentation transcript:

CS 372 – introduction to computer networks* Announcements: r Final exam on Friday  The materials after chapters 1,2  Emphasis on the material covered after Midterm  50 minutes exam in this class r Verify your grades Acknowledgement: slides drawn heavily from Kurose & Ross * Based in part on slides by Bechir Hamdaoui and Paul D. Paulson.

Chapter 6 outline  Introduction  Wireless links, characteristics  CDMA r IEEE wireless LANs (“wi-fi”) r Mobility Chapter 6, slide 2

Wireless and Mobile Networks Background: r computer nets: laptops, palmtops, PDAs, Internet-enabled phone  promise anytime-anywhere mobile Internet access r two important (but different) challenges  wireless: communication over wireless link  mobility: handling the mobile user who changes point of attachment to network Chapter 6, slide 3

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  wireless does not always mean mobility Chapter 6, slide 4

Elements of a wireless network 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”  e.g., cell towers, access points Chapter 6, slide 5

Elements of a wireless network network infrastructure wireless link r typically used to connect mobile(s) to base station r may also be used as backbone link r link access coordinated by multiple access protocol r various data rates, transmission distance, etc. Chapter 6, slide 6

Elements of a wireless network network infrastructure infrastructure mode r base station connects mobiles into wired network r handoff: mobile changes base station providing connection into wired network Chapter 6, slide 7

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 r e.g. ZigBee Chapter 6, slide 8

9 Wireless network taxonomy Infrastructure Infrastructure-less Single Hop Multiple hops 1. hosts connect to base station 2. base station connects to larger Internet E.g.: WiFi/Cellular 1. no base station 2. no connection to larger Internet E.g.: Bluetooth 1. hosts may have to relay via multiple nodes (multi-hop) 2. connects to larger Internet E.g.: mesh network 1. no base station 2. no connection to larger Internet 3. may have to relay via others to reach a given node E.g.: MANET large Internet WiFi Network Mesh Network large Internet Bluetooth Network Mobile Ad-Hoc Network (MANET)

Wireless Link Characteristics Differences from 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 well  multipath propagation: radio signal reflects off objects, arriving at destination at slightly different times …. make communication across wireless link (even a point to point) much more “difficult” Chapter 6, slide 10

Chapter 6, slide 11 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 attenuation: r B, A hear each other r B, C hear each other r A, C can not hear each other interfering at B

IEEE : multiple access r avoid collisions: 2 + nodes transmitting at same time r : CSMA - sense before transmitting  don’t collide with ongoing transmission by other node r : no collision detection!  difficult to sense collisions when transmitting due to weak received signals (fading)  can’t sense all collisions in any case: hidden terminal, fading  goal: avoid collisions: CSMA/CA (Collision Avoidance) A B C A B C A’s signal strength space C’s signal strength Two scenarios where collision cannot be detected Chapter 6, slide 12

Wireless traffic control r Wireless uses collision avoidance (CA) rather than collision detection (CD)  Transmitting computer sends very short "reservation" message to receiver  Destination responds with short message reserving slot for sender r Response from destination is broadcast so all potential senders are notified of the reservation Chapter 6, slide 13

Avoiding collisions 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 base station using CSMA  RTSs may still collide with each other (but they’re short) r Base station broadcasts clear-to-send CTS in response to RTS r CTS heard by all nodes  sender transmits data frame  other stations defer transmissions Avoid data frame collisions completely using small reservation packets Chapter 6, slide 14

Wireless CSMA/CA r Any station may receive simultaneous requests  Results in collision at receiver  Both requests are lost  Neither sender gets a reservation  Both senders use random backoff and retry r Any station may receive closely spaced requests  Selects one  Sends message to selected sender  Sender that is not selected uses backoff/retry Chapter 6, slide 15

Collision Avoidance: RTS-CTS exchange AP A B time RTS(A) RTS(B) RTS(A) CTS(A) DATA (A) ACK(A) reservation collision defer Chapter 6, slide 16

IEEE Wireless LAN r b  GHz  Rate: up to 11 Mbps r a  5-6 GHz range  up to 54 Mbps r g  GHz range  up to 54 Mbps r n: multiple antennae  GHz range  up to 200 Mbps r all use CSMA/CA for multiple access r all have base-station and ad-hoc network versions Chapter 6, slide 17

LAN architecture r wireless host communicates 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 BSS 1 BSS 2 Internet hub, switch or router AP Chapter 6, slide 18

Chapter 6, slide : Channels, association r b/g LAN: 2.4GHz-2.485GHz spectrum divided into 11 channels at different frequencies  AP admin chooses frequency/channel for AP  interference possible: same channel can be chosen by two neighboring APs r host/laptop: must associate with an AP  scans channels, listening for beacon frames containing AP’s name (SSID) and MAC address  selects AP to associate with  may perform authentication  typically runs DHCP to get IP address in AP’s subnet

802.11: passive/active scanning AP 2 AP 1 H1 BBS 2 BBS Active Scanning: (1) Probe Request frame broadcast from H1 (2) Probes response frame sent from APs (3) Association Request frame sent: H1 to selected AP (4) Association Response frame sent: H1 to selected AP AP 2 AP 1 H1 BBS 2 BBS Passive Scanning: (1) beacon frames sent from APs (2) association Request frame sent: H1 to selected AP (3) association Response frame sent: H1 to selected AP Chapter 6, slide 20

ZigBee r wireless (ad-hoc) mesh networking standard  mesh networking provides high reliability and larger range. r based on the IEEE standard for wireless personal area networks  low cost allows the technology to be widely deployed in wireless control and monitoring applications  low power-usage allows longer life with smaller batteries Chapter 6, slide 21

What is mobility? r spectrum of mobility, from the network perspective: no mobility high mobility mobile wireless user, using same access point mobile user, passing through multiple access points while maintaining ongoing connections ( like cell phone) mobile user, connecting/ disconnecting from network using DHCP. Chapter 6, slide 22

hub or switch AP 2 AP 1 H1 BBS 2 BBS : 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 Chapter 6, slide 23

24 Mobility terminology home network: permanent “home” of mobile (e.g., /24) Permanent address: address in home network, can always be used to reach mobile e.g., home agent: entity that will perform mobility functions on behalf of mobile, when mobile is remote wide area network correspondent correspondent: wants to communicate with mobile

25 Mobility terminology Care-of-address: address in visited network. (e.g., 79, ) wide area network visited (or foreign) network: network in which mobile currently resides (e.g., /24) Permanent address: remains constant (e.g., ) foreign agent: entity in visited network that performs mobility functions on behalf of mobile.

26 Mobile Addressing r search all phone books? r call her parents? r expect 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?

27 Routing approaches r Let routing handle it: routers advertise permanent address of mobile-nodes-in-residence via usual routing table exchange.  routing tables indicate where each mobile located  no changes to end-systems

28 Routing approaches r Let routing handle it: routers advertise permanent address of mobile-nodes-in-residence via usual routing table exchange.  routing tables indicate where each mobile located  no changes to end-systems r Let end-systems handle it:  indirect routing: communication from correspondent to mobile goes through home agent, then forwarded to remote  direct routing: correspondent gets foreign address of mobile, sends directly to mobile not scalable to millions of mobiles

Mobility via Indirect Routing wide area network home network visited network 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 Chapter 6, slide 29

Mobility via Direct Routing wide area network home network visited network 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 Chapter 6, slide 30

Wireless, mobility: impact on higher layer protocols r logically, impact should be minimal …  best effort service model remains unchanged  TCP and UDP currently run over wireless, mobile r … but performance-wise:  packet loss/delay due to bit-errors (discarded packets, delays for link-layer retransmissions), and handoff  TCP interprets loss as congestion, will decrease congestion window un-necessarily  limited bandwidth of wireless links r Many unsolved problems  Research areas ! Chapter 6, slide 31