CS118 Discussion 1A, Week 9. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

Similar documents
Link Layer and LANs. CMPS 4750/6750: Computer Networks

Wireless Network and Mobility

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

CSC 4900 Computer Networks: Link Layer (3)

CSC 401 Data and Computer Communications Networks

ECE 4450:427/527 - Computer Networks Spring 2017

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

Computer Communications DIT 420 EDA343

CSCI-1680 Wireless Chen Avin

TDTS06: Computer Networks

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

CS 455/555 Intro to Networks and Communications. Link Layer Addressing, Ethernet, and a Day in the Life of a Web Request

Last Lecture: Data Link Layer

Wireless and Mobile Networks 7-2

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

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

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

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

Module 6: Wireless Mobile Networks

Internet protocol stack

COMP211 Chapter 6/7 Link Layer

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

Multiple Access in Cellular and Systems

CMPE 257: Wireless and Mobile Networking

CSC 8560 Computer Networks: Wireless and Mobility

CSC 4900 Computer Networks: Wireless Networks

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

CMPE 257: Wireless and Mobile Networking

Lecture 14 Summary - flashback

Chapter 5 Link Layer. Down Approach. Computer Networking: A Top. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

CS 332 Computer Networks Wireless Networks

Chapter 6 The Link Layer and LANs

Lecture 9 Ethernet and other Link Layer protocols

Announcements: Assignment 4 due now Lab 4 due next Tuesday Assignment 5 posted, due next Thursday

Chapter 6 Wireless and Mobile Networks

Course on Computer Communication and Networks. Lecture 16 Synthesis, Summary/flashback and Projection (related topics continuation of study)

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 25: Wireless Networking

Mobile and Sensor Systems

Chapter 6 Wireless and Mobile Networks

Lecture 6. Data Link Layer (cont d) Data Link Layer 1-1

Chapter 6 Wireless and Mobile Networks

Chapter 6 Wireless and Mobile Networks (Wireless and Mobility)

Chapter 6 Wireless and Mobile Networks

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Chapter 5 Data Link Layer

Chapter 6 The Link Layer and LANs

No lecture on Thurs. Last homework will be out this week (not due, covers wireless) Extra office hours for next week and the week after.

Chapter 5 Wireless and Mobile Networks

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

CSCI Computer Networks Spring 2017

ECE 4450:427/527 - Computer Networks Spring 2017

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

CSCI Computer Networks Fall 2016

COMP 3331/9331: Computer Networks and Applications

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

Chapter 7. Wireless and Mobile Networks 7-1

Link Layer: Introduction. Chapter 5 Link Layer & LANS. Link layer: context. Link Layer Services

15-441: Computer Networking. Wireless Networking

Lecture 15 Wireless and Mobility

Multiple Access Links and Protocols

Midterm Review. Topics. Review: Network. Review: Network. Layers & Protocols. Review: Network WAN. Midterm Review EECS 122 EECS 122

Midterm Review EECS 122. University of California Berkeley

CS263: Wireless Communications and Sensor Networks

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

Chapter 6 The Link Layer and LANs

CSE 461: Wireless Networks

Mohammad Hossein Manshaei 1393

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

Chapter 5 Link Layer. Link Layer 5-1

Chapter 6: Link layer and LANs. Link layer, LANs: outline. Link layer: introduction. Link layer: context. Link layer services (more)

Input ports, switching fabric, output ports Switching via memory, bus, crossbar Queueing, head-of-line blocking

CS 655 System and Network Architectures and Implementation. Module 4 Naming, Mobility, Messaging

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

King Fahd University of Petroleum and Minerals College of Computer Sciences and Engineering Department of Computer Engineering

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

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

Putting it all together

Ethernet Switches Bridges on Steroids. Ethernet Switches. IEEE Wireless LAN. Ad Hoc Networks

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

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

CSC 8560 Computer Networks: Link and Physical Layers

Chapter 6 The Link Layer and LANs

Chapter 5: Link layer

Wireless and Mobile Networks

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 12

CSEN 503 Introduction to Communication Networks. Mervat AbuElkheir Hana Medhat Ayman Dayf. **Slides are attributed to J. F. Kurose

Chapter 3: Wireless and Mobile Networks

Unit 7 Media Access Control (MAC)

Outline. CS5984 Mobile Computing. IEEE 802 Architecture 1/7. IEEE 802 Architecture 2/7. IEEE 802 Architecture 3/7. Dr. Ayman Abdel-Hamid, CS5984

Lecture 5 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

CS 3516: Advanced Computer Networks

CSC 401 Data and Computer Communications Networks

Medium Access Control

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 18

Wireless Protocols. Training materials for wireless trainers

CSC 4900 Computer Networks: Mobility

CS/ECE 438: Communication Networks Fall Link Layer

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

Computer Communication Networks Link

Transcription:

CS118 Discussion 1A, Week 9 Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m. 1

Outline Wireless: 802.11 Mobile IP Cellular Networks: LTE Sample final 2

Wireless and Mobile Network Wireless access: WIFI CSMA/CA VS. CSMA/CD RTS/CTS mechanism Mobility: MobileIP Home network, visited network Permanent address VS. care-of-address Indirect (triangle) routing VS. direct routing Wireless and mobility are not necessarily correlated Wireless without mobility? Mobility without wireless? 3

Wireless network Infrastructure mode vs. ad-hoc mode Problems: multiple access hidden terminal signal attenuation 4

802.11: CSMA/CA 802.11 sender: channel sensing If sense channel idle for DIFS period then transmit entire frame Else if sense channel busy then start random backoff timer timer counts down while channel idle transmit when timer expires if no ACK, increase random backoff interval, repeat 802.11 receiver if frame received OK then return ACK after SIFS 5

802.11: CSMA/CA Allow sender to reserve channel: avoid collisions of long data frames sender first transmits a small request-to-send (RTS) packet to AP using CSMA RTSs may still collide with each other (but they re short) AP broadcasts clear-to-send (CTS) in response to RTS CTS heard by all nodes within AP's range sender transmits its data frame other stations defer transmissions 6

802.11: CSMA/CA 7

802.11: mobility, security Mobility: within same subnet (under the same switch) Security: Wired Equivalent Privacy (WEP) weak-n-flawed, not usable 802.1X Access Control Wireless Protected Access (WPA), WPA2 8

Mobile IP Home network, visited network Permanent address vs. care-of-address When a mobile moves to a new location: Obtain a new care-of address Informing its home agent of its new IP address Indirect routing vs. direct routing Indirect routing: A correspondent sends data to a mobile's home address, the home-agent forward data to the mobile's care-of address Direct routing: correspondent obtains mobile's care-of address, sends packet to mobile directly 9

Mobile IP: Vocabulary (I) 10

Mobile IP: Vocabulary (II) 11

Mobile IP: Indirect Routing (I) 12

Mobile IP: Indirect Routing (II) 13

Mobile IP: Direct Routing Good: Eliminate triangle routing problem Bad: Correspondent must be aware of mobility support what if mobile moves from network to network? 14

Mobile IP: Indirect Routing Summary Correspondent sends data to the mobile s home agent Source = CD; destination = P (mobile's permanent address) Home agent tunnels data to mobile Outer IP header: Source = P; destination = CA Inner IP header: source = CD; destination = P Mobile tunnels data to correspondent Outer header: Source = CA; destination = CD Inner header: source = P; destination = CD Supports mobile movement transparently No change to transport protocols Cost: triangle routing 15

Cellular Network: Basic Components 16

Cellular Network and Mobility Home network: network of cellular provider you subscribe to (e.g., Sprint PCS, Verizon) 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) Visited network: network in which mobile currently resides visitor location register (VLR): database with entry for each user currently in network could be home network 17

Mobility: Cellular v.s. MobileIP 18

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

A day in the life connecting to the Internet UDP IP Eth Phy connecting laptop needs to get its own IP address, addr of first-hop router, addr of server: use UDP IP Eth Phy router (runs ) request encapsulated in UDP, encapsulated in IP, encapsulated in 802.3 Ethernet (ip.src = 0.0.0.0; ip.dst = 255.255.255.255) Ethernet frame broadcast (dest: FFFFFFFFFFFF) on LAN, received at router running server Ethernet demuxed to IP demuxed, UDP demuxed to!20

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

A day in the life ARP (before, before HTTP) ARP query ARP UDP IP Eth Phy ARP reply ARP Eth Phy before sending HTTP request, need IP address of www.google.com: query created, encapsulated in UDP, encapsulated in IP, encapsulated in Eth. To send frame to router, need MAC address of router interface: ARP router (runs ) 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 query!22

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

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

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