Synthesis A day in the life of a web request

Slides:



Advertisements
Similar presentations
Everything.
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,
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.
A Complete End-to-End View. Laptop Wifi AP BERKELEY DHCP Server/ Gateway Router DNS Server ( ) AT&T GOOGLE.
Review of Important Networking Concepts
Everything. MACIP End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: MACIP MACInterfaceMACInterface.
CS 5565 Network Architecture and Protocols Godmar Back Lecture 25.
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.
DHCP: Dynamic Host Configuration Protocol
Chapter 5 Link Layer and LANs
Marina Papatriantafilou – Summary - flashback Based on the book Computer Networking: A Top Down Approach, Jim Kurose, Keith Ross, Addison-Wesley. Course.
ECE 4450:427/527 - Computer Networks Spring 2015 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 6.2: IP Dr. Nghi Tran (ECE-University.
4: Network Layer4a-1 IP addresses: how to get one? Hosts (host portion): r hard-coded by system admin in a file r DHCP: Dynamic Host Configuration Protocol:
Computer Communication1 Computer Communications DIT 420 EDA343 Summary.
Computer Networks CSE 434 Fall 2009 Sandeep K. S. Gupta Arizona State University Research Experience.
Data Link Layer5-1 Review of MAC protocols channel partitioning, by time, frequency or code – Time Division, Frequency Division random access (dynamic),
Introduction 1-1 Lecture 14 Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CS3516: These slides.
Our Last Class!!  summary  what does the future look like?
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.
Transport Layer 3-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012  CPSC.
1 Chapter 4: Network Layer r 4.4 IP: Internet Protocol m Datagram format m IPv4 addressing m ICMP m IPv6 r 4.5 Routing algorithms m Hierarchical routing.
Internet Ethernet Token Ring Video High Speed Router Host A: Client browser: REQUEST:http//mango.ee.nogradesu.edu/c461.
Introduction 1-1 Chapter 1: Computer networks and the Internet 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network.
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
Link layer, LANs: outline
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:
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.
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
5: DataLink Layer5-1 Virtualization of networks Virtualization of resources: powerful abstraction in systems engineering: r computing examples: virtual.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
Chapter 7 Application Layer 1 Some of the slides in this chapter are courtesy of Profs. Kurose/Ross and others.
End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: interne t interface DNS server IP:
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.
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.
Introduction to Networks
20. Switched Local Area Networks
Review of MAC protocols
Virtualization of networks
Chapter 4: Network Layer
A Typical Connection Scenario
CS 280: Summary: A day in the life of a web request
Course Review 2015 Computer networks 赵振刚
Network Data Plane Part 3
Network Architecture Introductory material
Lecture 9 Ethernet and other Link Layer protocols
Lecture 11: Link Layer Slides derived from those available on the site of the book “Computer Networking”, by Kurose and Ross, PEARSON.
Link layer, LANs: outline
CSE 461: Review Chunjong Park.
Review of Important Networking Concepts
Introduction to Networks
ECE 4450:427/527 - Computer Networks Spring 2017
Chapter 6 The Data Link layer
TCP/IP Networking An Example
Wide Area Networks and Internet CT1403
Course on Computer Communication and Networks Lecture 16 Synthesis, Summary/flashback and Projection (related topics – continuation of study) EDA344/DIT.
TCP/IP Networking An Example
Communication Networks NETW 501
When you connect with DHCP, you are assigned a
DHCP and NAT.
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.
Chapter 6 The Link Layer and LANs
Chapter 5 Data Link Layer
Course on Computer Communication and Networks Lecture 16 Synthesis, Summary/flashback and Projection (related topics – continuation of study) EDA344/DIT.
Wireless link layer: Cellular Networks; Mobility
Chapter 5: Link Layer 5.1 Introduction and services
Presentation transcript:

Synthesis A day in the life of a web request Our journey down the protocol stack is complete! application, transport, network, link Let's put it all together 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 DHCP DHCP DHCP UDP IP Eth Phy DHCP DHCP request encapsulated in UDP, encapsulated in IP, encapsulated in 802.1 Ethernet router (runs DHCP) Ethernet frame broadcast (dest: FFFFFFFFFFFF) on LAN, received at router running DHCP server Ethernet demux'ed to IP demux'ed to UDP demux'ed 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 DHCP UDP IP Eth Phy DHCP DHCP encapsulation at DHCP server, frame forwarded (switch learning) through LAN, demultiplexing at client router (runs DHCP) DHCP DHCP client receives DHCP ACK reply 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) UDP IP Eth Phy DNS Before sending HTTP request, need IP address of www.google.com: DNS ARP ARP query DNS query created, encapsulated in UDP, encapsulated in IP, encapsulated in Eth. In order 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 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 Datagram demux'ed 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 SYNACK SYN SYN To send HTTP request, client first opens TCP socket to web server TCP SYN segment (step 1 in 3-way handshake) inter-domain routed to web server TCP IP Eth Phy 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 TCP IP Eth Phy Web page finally (!!!) displayed HTTP 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 datgram containing HTTP reply routed back to client 64.233.169.105