Block 3: Lecture 1! Part 3: Lecture 1! Wireless networks!

Similar documents
Wireless and Mobile Networks 7-2

Topic 2b Wireless MAC. Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Last time?! MPLS! Label distribution protocols! Multi Protocol Label Switching! Layer 2.5 protocol! LDP! RSVP!

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross

CSC 4900 Computer Networks: Wireless Networks

Mohammad Hossein Manshaei 1393

Chapter 6 Wireless and Mobile Networks

CS 332 Computer Networks Wireless Networks

COMP 3331/9331: Computer Networks and Applications

Last Lecture: Data Link Layer

Shared Access Networks Wireless. 1/27/14 CS mywireless 1

Data Communication & Networks G Session 5 - Main Theme Wireless Networks. Dr. Jean-Claude Franchitti

COMP 3331/9331: Computer Networks and Applications

Multiple Access in Cellular and Systems

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross ( 6th ed.); , Kurose and Ross (7th ed.

CPSC 826 Internetworking. Wireless and Mobile Networks. Wireless Networks Wireless Hosts

Chapter 6 Wireless and Mobile Networks. Chapter 6 outline. Chapter 6: Wireless and Mobile Networks. Elements of a wireless network.

Mobile and Sensor Systems

6.9 Summary. 11/20/2013 Wireless and Mobile Networks (SSL) 6-1. Characteristics of selected wireless link standards a, g point-to-point

Home Area Networks. Outline

Module 6: Wireless Mobile Networks

M06:Wireless and Mobile Networks. Corinna Schmitt

CSCI-1680 Wireless Chen Avin

ECE 4450:427/527 - Computer Networks Spring 2017

Chapter 6 Wireless and Mobile Networks. Chapter 6 outline. Chapter 6: Wireless and Mobile Networks. Elements of a wireless network

Chapter 6 Wireless and Mobile Networks

Wireless and Mobile Networks

Chapter 6 Wireless and Mobile Networks

Elements of a wireless network. Elements of a wireless network. Characteristics of selected wireless link standards. Elements of a wireless network

Elements of a wireless network. Elements of a wireless network. Some wireless link standards. Elements of a wireless network

Last time?! Block 3: Lecture 1! Wireless networks! Ingredients 2: Antennas! Ingredients 1: Mobile Phones, PDAs & Co.! 20/05/14. Part 3: lecture 3!

Link Layer. 5.1 Introduction and services 5.2 Error detection and correction 5.3Multiple access protocols 5.4 Link-Layer Addressing 5.

Lecture 15 Wireless and Mobility

Chapter 7. Wireless and Mobile Networks 7-1

Chapter 3: Wireless and Mobile Networks

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach. Andrei Gurtov

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Mobile devices for wireless

CSC 8560 Computer Networks: Wireless and Mobility

Wireless and WiFi. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Chapter 6 Wireless and Mobile Networks

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Computer Networks. Wireless and Mobile Networks. László Böszörményi Computer Networks Mobile - 1

CSC 401 Data and Computer Communications Networks

Data Communications. Data Link Layer Protocols Wireless LANs

Medium Access Control

Mohammad Hossein Manshaei 1393

Chapter 6 Wireless and Mobile Networks

Multiple Access Links and Protocols

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Wireless and Mobile Networks

Chapter 6 Wireless and Mobile Networks (Wireless and Mobility)

Wireless Internet Routing. Review of Wireless Networking (with Routing in Mind)

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

Chapter 6 Wireless and Mobile Networks

Multiple Access Links and Protocols

IEEE WLANs (WiFi) Part II/III System Overview and MAC Layer

MULTIPLE ACCESS PROTOCOLS 2. 1

Chapter 5 Wireless and Mobile Networks

Wireless Protocols. Training materials for wireless trainers

Chapter 6 Wireless and Mobile Networks

(Wireless) Internet Routing. Review of Wireless Networking (with Routing in Mind)

CSC 498R: Internet of Things 2

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Chapter 6 Wireless and Mobile Networks

Wireless and Mobile Networks

Lecture 23 Overview. Last Lecture. This Lecture. Next Lecture ADSL, ATM. Wireless Technologies (1) Source: chapters 6.2, 15

Chapter 6 Wireless and Mobile Networks. Chapter 6 outline. Chapter 6: Wireless and Mobile Networks. Elements of a wireless network

3/20/2012. Data Communications & Networks. Session 5 Main Theme. 2 Wireless and Mobile Networks. Dr. Jean-Claude Franchitti

Wireless Networks. Wireless Links. Mike Freedman hap:// Interference / bit errors

MSIT 413: Wireless Technologies Week 8

Already finished all layers in the stack, why a separate chapter for wireless and mobile networks?

Wireless LANs. ITS 413 Internet Technologies and Applications

Lecture Objectives. Lecture 1 Wireless Environment and Wireless LANs. Agenda (1) Agenda (2) Wireless Spectrum (1)

Lecture 6. Reminder: Homework 2, Programming Project 2 due on Thursday. Questions? Tuesday, September 13 CS 475 Networks - Lecture 6 1

Mobile & Wireless Networking. Lecture 7: Wireless LAN

Wireless Security Background

Extending or Interconnecting LANS. Physical LAN segment. Virtual LAN. Forwarding Algorithm 11/9/15. segments. VLAN2, Port3. VLAN1, Port1.

Overview : Computer Networking. Spectrum Use Comments. Spectrum Allocation in US Link layer challenges and WiFi WiFi

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Internet Structure. network edge:

Wireless Communication and Networking CMPT 371

Communication Networks: Wireless and Mobile Communication Networks. Prof. Amir Herzberg BIU, Dept. of CS

Computer Communication III

Aloha and slotted aloha

Chapter 6 Wireless and Mobile Networks

Computer Networks. Wireless LANs

Outline / Wireless Networks and Applications Lecture 9: Wireless LANs Aloha and 802 Wireless. Regular Ethernet CSMA/CD

Lecture 16: QoS and "

Ethernet. Lecture 6. Outline. Ethernet - Physical Properties. Ethernet - Physical Properties. Ethernet

Announcements / Wireless Networks and Applications Lecture 9: Wireless LANs Wireless. Regular Ethernet CSMA/CD.

Guide to Wireless Communications, Third Edition. Objectives

Chapter 5 Link Layer and LANs

4.3 IEEE Physical Layer IEEE IEEE b IEEE a IEEE g IEEE n IEEE 802.

Mohamed Khedr.

04/11/2011. Wireless LANs. CSE 3213 Fall November Overview

3.1. Introduction to WLAN IEEE

WiFi Networks: IEEE b Wireless LANs. Carey Williamson Department of Computer Science University of Calgary Winter 2018

Wireless Communication Session 4 Wi-Fi IEEE standard

Transcription:

Block 3: Lecture 1 Part 3: Lecture 1 Wireless networks

Part 3 Wireless and mobile networks: 1. Wireless technologies 2. Mobility 3. Fiber day on Friday May 22nd

Long time ago... Marconi invented the wireless telegraph in 1896.

Nowadays Wireless LANs Cellular communication Pros? Cons?

Optical transmission range

Optical Spectrum UV Visible IR 125 GHz/nm λ Light 850 nm Ultraviolet (UV) 980 nm 1310 nm Visible Infrared (IR) Communication wavelengths 850, 1310, 1550 nm 1480 nm 1550 nm 1625 nm Low-loss wavelengths Specialty wavelengths 980, 1480, 1625 nm

Radio range

Basic of transmission Antenna radiates em wave Antenna pick up em wave A radio antenna and a tuner, ie a resonator tuned on a particular frequency or frequency band Directional antennas Omnidirectional antennas

Wave propagation Reflection Polarization Diffraction Absorption Refraction Attenuation: Reduces power level with distance Dispersion and Nonlinearities: Erodes clarity with distance and speed

Wireless links

Noise Unwanted signal Man made Naturally occurring White noise Signal to noise ratio (SNR)

Interference Signals generated by communications devices operating at roughly the same frequencies may interfere with one another Signal to interference and noise ratio (SINR) is another metric used in assessment of channel quality

Fading Strength of the signal decreases with distance between transmitter and receiver: path loss Slow fading (shadowing) is caused by large obstructions between transmitter and receiver Fast fading is caused by scatterers in the vicinity of the transmitter

Wireless spectrum

Wireless Spectrum (1) Broadcast TV VHF: 54 to 88 MHz, 174 to 216 MHz UHF: 470 to 806 MHz 30 MHz 300 MHz 3 GHz 30 GHz FM Radio 88 to 108 MHz Digital TV 54 to 88 MHz, 174 to 216 MHz, 470 to 806 MHz

Wireless Spectrum (2) 3G Broadband Wireless 746-794 MHz, 1.7-1.85 GHz, 2.5-2.7 GHz 30 MHz 300 MHz 3 GHz 30 GHz Cellular Phone 800-900 MHz Personal Communication Service (PCS) 1.85-1.99 GHz

Wireless Spectrum (3) Wireless LAN (IEEE 802.11b/g) 2.4 GHz Wireless LAN (IEEE 802.11a) 5 GHz 30 MHz 300 MHz 3 GHz 30 GHz Bluetooth 2.45 GHz Local Multipoint Distribution Services (LMDS) 27.5-31.3 GHz

Characteristics of wireless link standards 200 802.11n Data rate (Mbps) 54 5-11 4 1.384 802.15 802.11a,g 802.11b 802.11a,g point-to-point 802.16 (WiMAX) UMTS/WCDMA-HSPDA, CDMA2000-1xEVDO UMTS/WCDMA, CDMA2000 3G data 3G cellular enhanced.056 IS-95, CDMA, GSM 2G Indoor 10-30m Outdoor 50-200m Mid-range outdoor 200m 4 Km Long-range outdoor 5Km 20 Km

Wireless networks

Wireless networks Three types related to range of radio coverage: Wireless personal area network (WPAN) Range of ~10meters. Master device communicates with (up to) 7slave devices. Wireless LANs (WLANs) Range of 100meters. All stations communicate via an access point (AP). Cellular radio networks Large coverage, i.e. entire countries. Network is divided in smaller areas (cell) using different frequency subbands.

Technology space Complexity/power/cost 802.11a CC1000 802.15.4 Zigbee Bluetooth 38.4 Kbps 802.11b 250 Kbps 720 Kbps 11Mbps 802.11g 54Mbps Data rate

Elements of a wireless network network infrastructure

Wireless hosts network infrastructure laptop, smartphone run applications may be stationary (nonmobile) or mobile wireless does not always mean mobility

Base stations network infrastructure 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

BSS Basic Service Set (BSS): wireless hosts that can communicate to each other access point (AP): base station The BSS has an identification (ID) called the BSSID, which is: the MAC address of the access point servicing the infrastructure BSS. It is generated in an IBSS AP BSS 1

Ad hoc mode (IBSS) Also called Indendepent BSS. no base stations nodes can only transmit to other nodes within link coverage nodes organize themselves into a network: route among themselves

Infrastructure mode network infrastructure base station connects mobiles into wired network handoff: mobile changes base station providing connection into wired network

Bluetooth

Bluetooth characteristics Operates in the 2.4 GHz range, using FHSS Short range Up to 10 m Around 700 kbps No need for infra-structure (ad hoc) Low power consumption

Piconets

802.15: pan less than 10 m diameter replacement for cables (mouse, keyboard, headphones) ad hoc: no infrastructure master/slaves: slaves request permission to send (to master) master grants requests 802.15: evolved from Bluetooth specification 2.4-2.5 GHz radio band up to 721 kbps S M S P S P M P S P Master device Slave device radius of coverage P Parked device (inactive)

Test time

WiFi

Wireless LANs When used? As extension/complementary to the wired LAN, for cost effectiveness. Cross building interconnects Nomadic access

IEEE 802.11 Wireless LAN 802.11b 2.4-5 GHz unlicensed spectrum up to 11 Mbps 802.11a 5-6 GHz range up to 54 Mbps 802.11g 2.4-5 GHz range up to 54 Mbps 802.11n: multiple antennae 2.4-5 GHz range up to 600 Mbps

802.11 channels In the 2.4 GHz range: 14 channels spaced 5 MHz apart. Protocols requires 25 MHz of channel separation to function. The AP admin chooses frequency for AP Interference possible: channel can be same as that chosen by neighboring AP

Channel selection: 1,6,11 in the Us 1,5,9,13 in the rest of the world

Association A wireless host must associate with an AP. This establishes the identity and the address of host The host: scans channels, listening for beacon frames containing AP s name (SSID) and MAC address selects AP to associate with may perform authentication will typically run DHCP to get IP address in AP s subnet

Scanning Passive scanning 1. Beacon frames sent from APs (10beacons/sec); 2. Host listens on each channel periodically 3. Association Request frame sent: H1 to selected AP 4. Association Response frame sent: H1 to selected AP Active scanning 1. Probe Request frame broadcast from H1 2. Probes response frame sent from APs 3. Association Request frame sent 4. Association Response frame sent BBS 1 BBS 2 BBS 1 BBS 2 AP 1 1 2 1 3 AP 2 AP 1 2 1 2 3 4 AP 2 H1 H1

Pause

Media access

Motivation Can we apply media access methods from fixed networks? Example CSMA/CD Carrier Sense Multiple Access with Collision Detection send as soon as the medium is free, listen into the medium if a collision occurs (original method in IEEE 802.3) Problems in wireless networks signal strength decreases proportional to the square of the distance the sender would apply CS and CD, but the collisions happen at the receiver it might be the case that a sender cannot hear the collision, i.e., CD does not work furthermore, CS might not work if, e.g., a terminal is hidden

Contention for the Medium packets C A B If A and B simultaneously transmit to C over the same channel, how can C correctly decode received information? Need for medium access control mechanisms

Motivation - hidden and exposed terminals Hidden terminals A sends to B, C cannot receive A C wants to send to B, C senses a free medium (CS fails) collision at B, A cannot receive the collision (CD fails) A is hidden for C Exposed terminals A B C B sends to A, C wants to send to another terminal (not A or B) C has to wait, CS signals a medium in use but A is outside the radio range of C, therefore waiting is not necessary C is exposed to B

Motivation - near and far terminals Terminals A and B send, C receives signal strength decreases proportional to the square of the distance the signal of terminal B therefore drowns out A s signal C cannot receive A A B C

Collision avoidance

Multiple access CSMA/CA Carrier sense multiple access / Collision avoidance (Different from the CSMA/CD - collision detection - used in shared Ethernet media) Two main ideas: 1. Sense/listen before transmitting 2. don t collide with ongoing transmission by other node A C Hidden terminal problem B

DCF

Distributed Coordinated Function Supported by all wireless stations. Basic Time Parameters sender receiver Slot Time: basic unit of backoff algorithm = Time required for station to sense end of frame, start transmitting, and beginning of frame to propagate to others SIFS: Short Inter-Frame Space DIFS data = Time required for station to sense end of frame and start transmitting DIFS: DCF Inter-Frame Space = Time to wait before starting backoff interval ("contending ) = SIFS + 2 slot times ACK SIFS

Back-off If medium is free for DIFS transmit else back off: Wait for medium to be free for DIFS Choose a random r in [0,CW] where CW contention window While r > 0: sense medium for one slot time if medium free throughout slot r := r 1 transmit frame r=6 DIFS Busy DIFS Frame 6 5 4 3 2 1

A backoff illustration

Avoiding collisions idea: allow sender to reserve channel rather than random access of data frames: avoid collisions of long data frames sender first transmits small request-to-send (RTS) packets to BS using CSMA RTSs may still collide with each other (but they re short) BS broadcasts clear-to-send CTS in response to RTS CTS heard by all nodes sender transmits data frame other stations defer transmissions avoid data frame collisions completely using small reservation packets

Collision Avoidance: RTS-CTS exchange A AP B RTS(A) RTS(A) reservation collision RTS(B) CTS(A) CTS(A) DATA (A) defer time ACK(A) ACK(A)

sender receiver ACK idle RxBusy time-out NAK; RTS wait for ACK packet ready to send; RTS wait for the right to send CTS; data time-out; RTS data; ACK time-out data; NAK idle wait for data RTS; CTS ACK: positive acknowledgement NAK: negative acknowledgement RTS; RxBusy RxBusy: receiver busy

DCF scheme

802.11 frames

802.11 frame: addressing frame control 2 2 6 6 6 2 6 0-2312 4 duration address 1 address 2 address 3 seq control address 4 payload CRC Address 1,2,3 and 4: different meaning depending on use case: #a frame sent from/to Aps or end stations General rule of thumb: #address 1 receiver #address 2 sender #address 3 for filtering by the receiver

802.11 address fields

Addressing within subnet H2 H1 H2 MAC addr AP MAC addr H1 MAC addr address 1 address 2 address 3 AP MAC addr H1 MAC addr H2 MAC addr 802.11 frame address 1 address 2 address 3 802.11 frame

H1 R1 router Internet AP 802.3 frame AP MAC addr H1 MAC addr R1 MAC addr address 1 address 2 address 3 R1 MAC addr H1 MAC addr dest. address source address 802.11 frame

Mobility within same subnet H1 remains in same IP subnet: IP address can remain same switch: which AP is associated with H1? self-learning switch will see frame from H1 and remember which switch port can be used to reach H1 BBS 1 H1 BBS 2

Frame control duration of reserved transmission time (RTS/CTS) frame control 2 2 6 6 6 2 6 0-2312 4 duration address 1 address 2 address 3 seq control address 4 payload CRC Protocol version 2 2 4 1 1 1 1 1 1 Type Subtype To AP From AP More frag 1 1 Power Retry mgt More data WEP Rsvd frame type (RTS, CTS, ACK, data) Type of encryption used

Mobile traffic

Some facts (I) 1. Global mobile data traffic grew 81 percent in 2013. From 820 petabytes/month in Dec 2012 to 1.5 exabytes/month in Dec. 2013 2. Mobile traffic in 2013 was 18 times the traffic of the whole Internet in 2000 In 2000 traffic in the Internet was 1 exabyte 3. Over half a billion (526 million) mobile devices and connections were added in 2013 The total number of mobile devices is now 7 billions

Some facts (II) 4. In 2013 3% of the mobile connections are 4G. They generate 30% of the mobile traffic. 5. Mobile video traffic exceeds 50 percent of the total traffic. It is expected that in 2018 video will represent 2/3 of the mobile traffic. 6. 45 percent of total mobile data traffic was offloaded onto the fixed network through Wi-Fi or femtocell in 2013

Cellular networks

cell Cellular networks architectures 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 MSC connects cells to wired tel. net. manages call setup Mobile Switching Center Public telephone network Mobile Switching Center wired network

2G (voice) Base station system (BSS) BTS BSC MSC G Gateway MSC Public telephone network Base transceiver station (BTS) Base station controller (BSC) Mobile Switching Center (MSC) Mobile subscribers

3G (voice + data) radio network controller MSC G Gateway MSC Public telephone network Key insight: new cellular data network operates in parallel (except at edge) with existing cellular voice network " voice network unchanged in core " data network operates in parallel SGSN G GGSN Public Internet Serving GPRS Support Node (SGSN) Gateway GPRS Support Node (GGSN)

3G architecture radio network controller MSC G Gateway MSC Public telephone network SGSN G GGSN Public Internet radio interface (WCDMA, HSPA) radio access network Universal Terrestrial Radio Access Network (UTRAN) core network General Packet Radio Service (GPRS) Core Network public Internet

LTE

Long Term Evolution Initiated in 2004 by NTT DoCoMo, focus on enhancing the Universal Terrestrial Radio Access (UTRA) and optimizing 3GPP s radio access architecture LTE is not 4G sometimes called 3.9G Simplified network architecture: flat IP-based network replacing the GPRS core, optimized for the IP-Multimedia Subsystem (IMS), no more circuit switching Much higher data throughput supported by multiple antennas Much higher flexibility in terms of spectrum, bandwidth, data rates Much lower RTT good for interactive traffic and gaming

LTE advanced Worldwide functionality & roaming Interworking with other radio access systems Enhanced peak data rates to support advanced services and applications (100 Mbit/s for high and 1 Gbit/s for low mobility) Relay Nodes to increase coverage 100 MHz bandwidth (5x LTE with 20 MHz)

All IP core The EPC - Evolved Packet Core Allows for subscriber tracking, mobility management, and session management in the network.

EPC architecture

SGW/PDNGW The gateways (Serving GW and PDN GW) deal with the user plane. They transport the IP data traffic between the User Equipment (UE) and the external networks. SGW: point of interconnect between the radio side and the EPC PDNGW: point of interconnect between the EPC and the external IP networks

Home reading For the test on May 19 read: Mobile IP By : Perkins In: IEEE Communications Magazine 50th Anniversary Commemorative Issue/May 2002 Read up to section Routing and tunneling (page 73) - this section excluded

Literature Few slides were adapted from: Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009 Chapter 10 - Cellular Wireless Networks Chapter 13. Wireless LAN Technology. Chapter 14. IEEE 802.11 Wireless LAN Standard. Chapter 15. Bluetooth. Chapter 6 - Wireless and mobile networks Chapter 4 - Telecommunication systems