Wireless link layer: Cellular Networks; Mobility

Slides:



Advertisements
Similar presentations
Cellular and Mobile Wireless Networks
Advertisements

5: DataLink Layer5-1 Chapter 5 Link Layer and LANs A note on the use of these ppt slides: Were making these slides freely available to all (faculty, students,
6: Wireless and Mobile Networks6-1 Chapter outline Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling.
1 Wireless and Mobile Networks Part 2 November 25, 2008 Department of Electrical and Computer Engineering University of Western Ontario ECE 436a Networking:
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Wireless and Mobile Networks EECS 489 Computer Networks Z. Morley Mao Monday March 19, 2007 Acknowledgement:
Wireless, Mobile Networks – Mobility. Wireless, Mobile Networks6-2 Mobility: Vocabulary home network: permanent “home” of mobile (e.g., /24)
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.
Cellular and Mobile Wireless Networks Computer Networks.
Cellular and Mobile Wireless Networks (part 2) Advanced Computer Networks.
What we will cover… Home Networking: Network Address Translation (NAT) Mobile Routing.
20 - Mobility 6: Wireless and Mobile Networks.
ICMP: Internet Control Message Protocol used by hosts, routers, gateways to communication network-level information –error reporting: unreachable host,
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.
Network Layer4-1 Router Architecture Overview Two key router functions: r run routing algorithms/protocol (RIP, OSPF, BGP) r switching datagrams from incoming.
6/2/05CS118/Spring051 Chapter 6: Wireless and Mobile Networks r Cover the following sections only:  6.3: wireless LANs  6.5: mobility management:
Cellular and Mobile Wireless Networks (part 2) Advanced Computer Networks D12.
12-1 Last time □ BGP policy □ Broadcast / multicast routing ♦ Spanning trees Source-based, group-shared, center-based ♦ Reverse path forwarding, pruning.
Lecture 8 Modeling & Simulation of Communication Networks.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Link Layer data center.
Chapter 5 Link Layer and LANs
Lecture 4 Mobility Overview.
6-1 Chapter 6 outline Introduction Wireless r Wireless links, characteristics r IEEE wireless LANs (“wi-fi”) Mobility r Principles: addressing and.
Adapted from: Computer Networking, Kurose/Ross 1DT066 Distributed Information Systems Chapter 6 Wireless, WiFi and mobility.
Mobile IP Overview and Discussion. 2 Spectrum of Mobility – from network perspective no mobility high mobility mobile user, using same access point mobile.
Wireless, Mobile Networks6-1 Chapter 6 outline 6.1 Introduction Wireless 6.2 Wireless links, characteristics  CDMA 6.3 IEEE wireless LANs (“Wi-Fi”)
Mobile IP Most of the slides borrowed from Prof. Sridhar Iyer
A day in the life: scenario
Link Layer 5-1 Link layer, LAN s: outline 5.1 introduction, services 5.2 error detection, correction 5.3 multiple access protocols 5.4 LANs  addressing,
1 John Magee 11 July 2013 CS 101 Lecture 11: How do you “visit” a web page, revisted Slides adapted from Kurose and Ross, Computer Networking 5/e Source.
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.
Lecture 8 Mobility CPE 401/601 Computer Network Systems slides are modified from Jim Kurose & Keith Ross All material copyright J.F Kurose and.
CELLULAR DATA NETWORKS Mr. Husnain Sherazi Lecture 5.
Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Wireless,
5: Link Layer Part Link Layer r 5.1 Introduction and services r 5.2 Error detection and correction r 5.3Multiple access protocols r 5.4 Link-Layer.
Link Layer5-1 Synthesis: a day in the life of a web request  journey down protocol stack complete!  application, transport, network, link  putting-it-all-together:
CSCI 3335: C OMPUTER N ETWORKS A DAY IN THE LIFE OF A WEB REQUEST Vamsi Paruchuri University of Central Arkansas
Cellular and Mobile Wireless Networks Internet of Things Fall 2015.
Location management. Mobile Switching Center Public telephone network, and Internet Mobile Switching Center Components of cellular network architecture.
Link Layer5-1 Synthesis: a “day” in the life of a web request  journey down protocol stack!  application, transport, network, link  putting-it-all-together:
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.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Accommodating mobility with direct routing
5: DataLink Layer5-1 Virtualization of networks Virtualization of resources: powerful abstraction in systems engineering: r computing examples: virtual.
Mobility CPE 401/601 Computer Network Systems slides are modified from Jim Kurose & Keith Ross All material copyright J.F Kurose and K.W. Ross,
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
Chapter 7 Application Layer 1 Some of the slides in this chapter are courtesy of Profs. Kurose/Ross and others.
6: Wireless and Mobile Networks 6-1 Chapter 6 Mobile IP A note on the use of these ppt slides: We’re making these slides freely available to all (faculty,
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.
Prof. Younghee Lee 1 1 Computer Networks u Lecture 11: Mobility Prof. Younghee Lee * Some part of this teaching materials are prepared referencing the.
22. Managing Mobility in Wireless Networks
Virtualization of networks
Chapter 6 Wireless and Mobile Networks
DMET 602: Networks and Media Lab
CPE 401/601 Computer Network Systems
A Typical Connection Scenario
CS 280: Summary: A day in the life of a web request
Course Review 2015 Computer networks 赵振刚
Session 17 INST 346 Technologies, Infrastructure and Architecture
Chapter 6 The Data Link layer
Cellular and Mobile Wireless Networks
DMET 602: Networks and Media Lab
Course on Computer Communication and Networks Lecture 16 Synthesis, Summary/flashback and Projection (related topics – continuation of study) EDA344/DIT.
Chapter 6 Wireless and Mobile Networks
Chapters 1~5 Overview Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley Prof. Hong Liu for ECE369 Adapted from.
Cellular and Mobile Wireless Networks
Synthesis A day in the life of a web request
Presentation transcript:

Wireless link layer: Cellular Networks; Mobility CS 352, Lecture 17 http://www.cs.rutgers.edu/~sn624/352-S19 Srinivas Narayana (heavily adapted from slides by the textbook authors)

Review: The wireless link layer Wireless medium is very different from wired Signal attenuation (“fading”) much more important to handle Hidden terminal problem Consequences of differences: Link-layer ACKs Transmission delays to control contention: SIFS, DIFS Link reservation (RTS/CTS) Medium access control Frequency division multiple access (AP channels in WiFi) Random access (CSMA/CA for transmitting to/from WiFi AP) Code division multiple access (simultaneous transmission in cellular networks)

Cellular networks: Overview 2G, 3G, 4G, 5G

Components of cellular network architecture connects cells to wired tel. 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 Mobile Switching Center Public telephone network Mobile Switching Center wired network

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

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

3G (voice+data) network architecture MSC G Public telephone network radio network controller Gateway MSC G Public Internet SGSN 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 GGSN Serving GPRS Support Node (SGSN) Gateway GPRS Support Node (GGSN)

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

3G 4G-LTE 3G versus 4G LTE network architecture MSC G radio network Public telephone network radio network controller 3G Gateway MSC G Public Internet SGSN GGSN HSS 4G-LTE MME G G Public Internet S-GW P-GW radio access network Universal Terrestrial Radio Access Network (UTRAN) Evolved Packet Core (EPC)

4G: differences from 3G all IP core: IP packets tunneled (through core IP network) from base station to gateway no separation between voice and data – all traffic carried over IP core to gateway MME HSS Mobility Management Entity (MME) control Home Subscriber Server(HSS) (like HLR+VLR) Serving Gateway (S-GW) Packet data network Gateway (P-GW) UE (user element) eNodeB (base station) G G Public Internet data S-GW P-GW radio access network Universal Terrestrial Radio Access Network (UTRAN) Evolved Packet Core (EPC)

5G: the next generation Goal: higher data rates, lower delays Enabled by better transmission technology (you don’t need to know what these terms mean:) Multiple input multiple output antennas New radio frequency bands Beamforming To support novel applications IoTs, edge networking, SDN, NFV, …

Mobility How do hosts move and still retain network connectivity?

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

Questions: IP addresses and routing An IP address refers to the point of attachment of a host to a network So, when a host moves, should its IP address change? What is the impact on the higher layers of the protocol stack? How will remote hosts reach (route to) the mobile host? New connections? Ongoing connections?

How do you contact a mobile friend: Consider friend frequently changing addresses, how do you find her? I wonder where Alice moved to? search all phone books? call her parents? expect her to let you know where he/she is? Facebook!

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

Mobility: more vocabulary visited network: network in which mobile currently resides (e.g., 79.129.13/24) permanent address: remains constant (e.g., 128.119.40.186) care-of-address: address in visited network. (e.g., 79,129.13.2) wide area network foreign agent: entity in visited network that performs mobility functions on behalf of mobile. correspondent: wants to communicate with mobile

Mobility: approaches 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 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

Mobility: approaches 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 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: registration visited network home network 1 mobile contacts foreign agent on entering visited network 2 foreign agent contacts home agent home: “this mobile is resident in my network” wide area network end result: foreign agent knows about mobile home agent knows location of mobile

Mobility via indirect routing foreign agent receives packets, forwards to mobile home agent intercepts packets, forwards to foreign agent visited network home network 3 4 1 2 wide area network correspondent addresses packets using home address of mobile mobile replies directly to correspondent

Mobile IP: indirect routing dest: 128.119.40.186 foreign-agent-to-mobile packet dest: 79.129.13.2 dest: 128.119.40.186 packet sent by home agent to foreign agent: a packet within a packet Permanent address: 128.119.40.186 Care-of address: 79.129.13.2 dest: 128.119.40.186 packet sent by correspondent Wireless and Mobile Networks

Indirect Routing: comments mobile uses two addresses: permanent address: used by correspondent (hence mobile location is transparent to correspondent) care-of-address: used by home agent to forward datagrams to mobile foreign agent functions may be done by mobile itself triangle routing: correspondent-home-network- mobile inefficient when correspondent, mobile are in same network

Indirect routing: moving between networks suppose mobile user moves to another network registers with new foreign agent new foreign agent registers with home agent home agent update care-of-address for mobile packets continue to be forwarded to mobile (but with new care-of-address) mobility, changing foreign networks transparent: on going connections can be maintained!

Mobility via direct routing foreign agent receives packets, forwards to mobile correspondent forwards to foreign agent visited network 1 2 3 4 home network mobile replies directly to correspondent correspondent requests, receives foreign address of mobile

Mobility via direct routing: comments overcome triangle routing problem non-transparent to correspondent: correspondent must get care-of-address from home agent what if mobile changes visited network? 1 2 3 4

Accommodating mobility with direct routing anchor foreign agent: FA in first visited network data always routed first to anchor FA when mobile moves: new FA arranges to have data forwarded from old FA (chaining) foreign net visited at session start anchor foreign agent wide area network 2 1 4 3 5 new foreign network correspondent agent new foreign agent correspondent

Real implementations of mobility (1) Mobile IP: an extension to the IP protocol for mobility RFC 3344 Uses indirect routing + packet encapsulation Registration protocol for home agent when mobile visits a different net Agent discovery to let home agent know about foreign agent

Real implementations of mobility (2) Cellular network handoff Can change base station associated with your phone due to better signal strength, load shedding, and yes, mobility :) Handoff between base stations uses indirect routing Lots of resources set up to ensure calls don’t get dropped Corresponding overheads Handoff between multiple Mobile Switching Stations (MSCs) “Anchor MSC” from the first visited MSC Chain of MSCs forwards packets

Impact of mobility on higher-layer protocols

Wireless, mobility: impact on higher layer protocols logically, impact should be minimal … best effort service model remains unchanged TCP and UDP can (and do) run over wireless, mobile … 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 delay impairments for real-time traffic limited bandwidth of wireless links

Synthesis of protocols

Synthesis: a day in the life of a web request Our journey down protocol stack complete! application, transport, network, link putting-it-all-together: synthesis! goal: identify, review, understand protocols (at all layers) involved in seemingly simple scenario: requesting www page scenario: student attaches laptop to campus network, requests/receives www.google.com

A day in the life: scenario browser DNS server Comcast network 68.80.0.0/13 school network 68.80.2.0/24 web page web server Google’s network 64.233.160.0/19 64.233.169.105

A day in the life… connecting to the Internet DHCP UDP IP Eth Phy DHCP DHCP connecting laptop needs to get its own IP address, addr of first- hop router, addr of DNS server: use DHCP router (runs DHCP) DHCP DHCP request encapsulated in UDP, encapsulated in IP, encapsulated in 802.3 Ethernet DHCP DHCP UDP IP Eth Phy DHCP Ethernet frame broadcast (dest: FFFFFFFFFFFF) on LAN, received at router running DHCP server Ethernet demuxed to IP demuxed, UDP demuxed to DHCP

A day in the life… connecting to the Internet DHCP DHCP UDP IP Eth Phy DHCP server formulates DHCP ACK containing client’s IP address, IP address of first-hop router for client, name & IP address of DNS server router (runs DHCP) encapsulation at DHCP server, frame forwarded (switch learning) through LAN, demultiplexing at client DHCP UDP IP Eth Phy DHCP DHCP DHCP client receives DHCP ACK reply DHCP Client now has IP address, knows name & addr of DNS server, IP address of its first-hop router

A day in the life… ARP (before DNS, before HTTP) before sending HTTP request, need IP address of www.google.com: DNS DNS UDP IP Eth Phy DNS router (runs DHCP) ARP ARP query DNS query created, encapsulated in UDP, encapsulated in IP, encapsulated in Eth. To send frame to router, need MAC address of router interface: ARP Eth Phy ARP ARP reply ARP query broadcast, received by router, which replies with ARP reply giving MAC address of router interface client now knows MAC address of first hop router, so can now send frame containing DNS query

A day in the life… using DNS UDP IP Eth Phy DNS DNS server DNS UDP IP Eth Phy DNS router (runs DHCP) DNS DNS DNS DNS Comcast network 68.80.0.0/13 IP datagram forwarded from campus network into Comcast network, routed (tables created by RIP, OSPF, IS-IS and/or BGP routing protocols) to DNS server IP datagram containing DNS query forwarded via LAN switch from client to 1st hop router demuxed to DNS server DNS server replies to client with IP address of www.google.com

A day in the life…TCP connection carrying HTTP IP Eth Phy router (runs DHCP) SYN SYNACK SYN to send HTTP request, client first opens TCP socket to web server TCP IP Eth Phy TCP SYN segment (step 1 in 3-way handshake) inter-domain routed to web server SYNACK SYN SYNACK web server responds with TCP SYNACK (step 2 in 3-way handshake) web server 64.233.169.105 TCP connection established!

A day in the life… HTTP request/reply web page finally (!!!) displayed HTTP HTTP HTTP TCP IP Eth Phy router (runs DHCP) HTTP HTTP HTTP request sent into TCP socket IP datagram containing HTTP request routed to www.google.com HTTP TCP IP Eth Phy HTTP HTTP web server responds with HTTP reply (containing web page) web server IP datagram containing HTTP reply routed back to client 64.233.169.105