@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.

Slides:



Advertisements
Similar presentations
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,
Advertisements

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.
TA: Xifan Zheng Welcome to CPSC 441!
IP and Networking Basics Scalable Infrastructure Workshop AfNOG 2011.
Networking Based on the powerpoint presentation of Computer Networking: A Top Down Approach Featuring the Internet, Third Edition, J.F. Kurose and K.W.
EEC-484/584 Computer Networks Lecture 3 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
1: Introduction1 Protocol “Layers” Networks are complex! r many “pieces”: m hosts m routers m links of various media m applications m protocols m hardware,
EEC-484/584 Computer Networks Lecture 3 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
EEC-484/584 Computer Networks Lecture 3 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Introduction 1-1 Chapter 1 Introduction slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks.
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
CP476 Internet ComputingCh.1 # 1 Lecture 2. A Brief Introduction to the Internet The objective is to understand The history of Internet What the Internet.
Computer Networking Introduction, Part II.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 0 TCP/IP Overview.
Introduction 1-1 Chapter 1 Introduction Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
Computer Communication1 Computer Communications DIT 420 EDA343 Summary.
CS 381 Introduction to computer networks Chapter 1 - Lecture 4 2/10/2015.
1: Introduction1 Internet History r 1961: Kleinrock - queueing theory shows effectiveness of packet- switching r 1964: Baran - packet- switching in military.
Course info1 1 st Semester 2007 MI305 Computer Networks  Instructor: Jen-Liang Cheng   Office: H501-1( 福田樓 )  Lectures:
1 Protocol “Layers” Networks are complex! r many “pieces”: m hosts m routers m links of various media m applications m protocols m hardware, software Question:
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.
CS 381 Introduction to computer networks Lecture 2 1/29/2015.
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.
CPSC 411 Tutorial TA: Fang Wang. Fang Wang 9:00am-5:00pm, Mon-Fri.
Prof. Younghee Lee 1 1 Computer Networks u Lecture 1: Introduction Prof. Younghee Lee u Some part of this teaching materials are prepared referencing the.
TCP/IP 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.
CS 3830 Day 6 Introduction 1-1. Announcements  Program 2 posted this afternoon (due date will be week of 9/24) Introduction 1-2.
OSI Model Data Communications. 7 layer “research” model ApplicationPresentationSessionTransportNetworkLinkPhysical.
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
Lecture 1: Overview of Internet Architecture Communication Networks ELEN E6761 Instructor: Javad Ghaderi Lecture Slides adapted from “Computer Networking:
Welcome to CS 340 Introduction to Computer Networking.
Internet History CS 4244: Internet Programming Dr. Eli Tilevich.
1: Introduction1 Introduction 3. 1: Introduction2 Delay in packet-switched networks packets experience delay on end-to-end path r four sources of delay.
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:
1: Introduction1 Protocol “Layers” Networks are complex! r many “pieces”: m hosts m routers m links of various media m applications m protocols m hardware,
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.
Welcome to CS 340 Introduction to Computer Networking.
5: DataLink Layer5-1 Virtualization of networks Virtualization of resources: powerful abstraction in systems engineering: r computing examples: virtual.
Lecture 1: Facts of network technologies developments
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:
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
CSI 450 Review. Introduction What’s the Internet: “nuts and bolts” view millions of connected computing devices: hosts = end systems running network apps.
IP and Networking Basics
Virtualization of networks
A Typical Connection Scenario
EEC-484/584 Computer Networks
CS 280: Summary: A day in the life of a web request
An Aleksandar,   Accounts have been created for any students in EECS 340 who did not already have one.  Physical access to the labs has.
Course Review 2015 Computer networks 赵振刚
OSI Protocol Stack Given the post man exemple.
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
Chapter 6 The Data Link layer
EEC-484/584 Computer Networks
EEC-484/584 Computer 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.
EEC-484/584 Computer Networks
Synthesis A day in the life of a web request
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
Computer Networking.
Presentation transcript:

@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 original slides that accompany the book “Computer Networking, A Top-Down Approach” All material copyright J.F Kurose and K.W. Ross, All Rights Reserved CS 283Computer Networks Spring 2011 Instructor: Yuan Xue

@Yuan Xue Synthesis: a day in the life of a web request 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

@Yuan Xue A day in the life: scenario Comcast network /13 Google’s network / web server DNS server school network /24 browser web page

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

@Yuan Xue A day in the life… connecting to the Internet 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) DHCP UDP IP Eth Phy DHCP UDP IP Eth Phy DHCP  encapsulation at DHCP server, frame forwarded (via switch) through LAN, demultiplexing at client Client now has IP address, knows name & addr of DNS server, IP address of its first-hop router  DHCP client receives DHCP ACK reply

@Yuan Xue A day in the life… ARP (before DNS, before HTTP) before sending HTTP request, need IP address of DNS DNS UDP IP Eth Phy DNS  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  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 ARP query Eth Phy ARP ARP reply

@Yuan Xue A day in the life… using DNS DNS UDP IP Eth Phy DNS  IP datagram containing DNS 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 DNS server  demuxed to DNS server  DNS server replies to client with IP address of Comcast network /13 DNS server DNS UDP IP Eth Phy DNS

@Yuan Xue A day in the life… TCP connection carrying HTTP HTTP TCP IP Eth Phy HTTP  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 connection established! web server SYN TCP IP Eth Phy SYN SYNACK  web server responds with TCP SYNACK (step 2 in 3- way handshake)

@Yuan Xue A day in the life… HTTP request/reply HTTP TCP IP Eth Phy HTTP  HTTP request sent into TCP socket  IP datagram containing HTTP request routed to  IP datagram containing HTTP reply routed back to client web server HTTP TCP IP Eth Phy  web server responds with HTTP reply (containing web page) HTTP  web page finally (!!!) displayed

@Yuan Xue Summary – what we’ve learnt How to use the Internet How Internet is designed -- journey down the protocol stack Why Internet is designed so (is it good?) -- design principle Build network application using socket programming Use existing tools/softwares (nslookup, ifconfig, tracert, Wireshark, etc) Application Transport Network Data Link Phy Congestion contr. Routing Algorithm Media access contr. Reliable data delivery

@Yuan Xue Internet History – Looking back  1961: Kleinrock - queueing theory shows effectiveness of packet-switching  1964: Baran - packet- switching in military nets  1969: first ARPAnet node operational  1972:  ARPAnet public demonstration  ARPAnet has 15 nodes : Early packet-switching principles

@Yuan Xue Internet History  1970: ALOHAnet satellite network in Hawaii  1974: Cerf and Kahn - architecture for interconnecting networks  1976: Ethernet at Xerox PARC  late70’s: proprietary architectures: DECnet, SNA, XNA  late 70’s: switching fixed length packets (ATM precursor)  1979: ARPAnet has 200 nodes Cerf and Kahn’s internetworking principles:  minimalism, autonomy - no internal changes required to interconnect networks  best effort service model  stateless routers  decentralized control define today’s Internet architecture : Internetworking, new and proprietary nets

@Yuan Xue Internet History  1983: deployment of TCP/IP  1982: smtp protocol defined  1983: DNS defined for name-to-IP-address translation  1985: ftp protocol defined  1988: TCP congestion control  new national networks: Csnet, BITnet, NSFnet, Minitel  100,000 hosts connected to confederation of networks : new protocols, a proliferation of networks

@Yuan Xue Internet History  early 1990’s: ARPAnet decommissioned  1991: NSF lifts restrictions on commercial use of NSFnet (decommissioned, 1995)  early 1990s: Web  hypertext [Bush 1945, Nelson 1960’s]  HTML, HTTP: Berners-Lee  1994: Mosaic, later Netscape  late 1990’s: commercialization of the Web late 1990’s – 2000’s:  more killer apps: instant messaging, P2P file sharing  network security to forefront  est. 50 million host, 100 million+ users  backbone links running at Gbps 1990, 2000’s: commercialization, the Web, new apps

@Yuan Xue Internet – Today and Moving forward 2010:  ~750 million hosts (IPv4 address running out)  Web becomes the new network application platform: YouTube, facebook, twitter  Web 2.0, social network  Wireless and mobile network, smart phone  Cloud computing  Cyber-physical systems  Sensors  Internet of things

@Yuan Xue Remember Akamai?

@Yuan Xue Internet Design What succeeds? HTTP, TCP/IP, Ethernet What fails? “Rich Seifert Top Ten List of Stupid Networking Ideas'‘ 1. ATM 2. IPv6 6. Jumbo frames 7. ISO Protocol Suite IP multicast FDDI IntServ

@Yuan Xue Internet protocol stack  application: supporting network applications  FTP, SMTP, HTTP  transport: process-process data transfer  TCP, UDP  network: routing of datagrams from source to destination  IP, routing protocols  link: data transfer between neighboring network elements  Ethernet, (WiFi), PPP  physical: bits “on the wire” application transport network link physical

@Yuan Xue ISO/OSI reference model  presentation: allow applications to interpret meaning of data, e.g., encryption, compression, machine- specific conventions  session: synchronization, checkpointing, recovery of data exchange  Internet stack “missing” these layers!  these services, if needed, must be implemented in application  needed? application presentation session transport network link physical

@Yuan Xue Some Thoughts on Internet Design Packet switching (sharing/multiplexing) The end-to-end principle “whenever possible, protocol operations should be defined to occur at the end-points of a communications system, or as close as possible to the resource being controlled.” one of the central design principles of the Internet E.g., IP multicast  application-layer multicast; reliability at TCP and wireless network. Network design (core) needs to be simple; push the complexity to the end host (edge). Simple IP, complex application layer

@Yuan Xue Some Thoughts on Internet Design One idea to scalability  hierarchical design No state and soft state is better than hard state HTTP Randomness can simplify management CSMA Being adaptive to handle dynamics TCP Ethernet/WiFi What drives the Internet development? Killer application Economical/management consideration Sometimes, principle and theory

@Yuan Xue Move forward – from what we’ve learnt How to use the Internet How Internet is designed -- journey down the protocol stack Why Internet is designed so -- design principle Jobs everywhere.. Manage network -Troubleshooting Develop network app Develop web app Develop smartphone app ISP Cisco,huawei etc Networking research

@Yuan Xue Move forward Network Security  next semester Network Management Wireless and Mobile Network Sensor network Emerging Application and System Peer-to-peer systems Content-distribution network Cloud Quality of Service