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

Similar documents
Lecture 14 Summary - flashback

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

Computer Communications DIT 420 EDA343

CSC 401 Data and Computer Communications Networks

CSC 4900 Computer Networks: Link Layer (3)

TDTS06: Computer Networks

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

Chapter 6 The Link Layer and LANs

Lecture 9 Ethernet and other Link Layer protocols

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

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

CS 204: Advanced Computer Networks

Internet protocol stack

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

CSC 8560 Computer Networks: Link and Physical Layers

Chapter 5 Data Link Layer

Link layer, LANs: outline. Chapter 5-2 Link Layer. MAC addresses (more) MAC addresses

Computer Communication EDA344, EDA343, DIT 420

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

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

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

CS 3516: Advanced Computer Networks

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

Introduction to computer networking

Chapter I: Introduction

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

Virtualization of networks

Computer Networking. Introduction. Quintin jean-noël Grenoble university

Faculty of Science and IT Course title. Pre-requisite/corequisite

Chapter 1 Introduction

end systems, access networks, links 1.3 network core

Networks Fall This exam consists of 10 problems on the following 13 pages.

Computer Networks and the Internet. CMPS 4750/6750: Computer Networks

CSC 401 Data and Computer Communications Networks

Internet Applications and the Application Layer Material from Kurose and Ross, Chapter 2: The Application Layer

Chapter 6 The Link Layer and LANs

ETSF10 Internet Protocols Transport Layer Protocols

Chapter 6 The Link Layer and LANs

ECE 4450:427/527 - Computer Networks Spring 2017

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

NETWORKING KEITH W. ROSS. Polytechnic Institute of NYU. Addison-Wesley

internet technologies and standards

Chapter 4: network layer. Network service model. Two key network-layer functions. Network layer. Input port functions. Router architecture overview

Table of Contents. Computer Networks and the Internet

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Part 1: Introduction. Goal: Review of how the Internet works Overview

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

Computer Networks. Dr. Abdel Ilah ALshbatat Dept. of Communication and Computer Engineering Faculty of Engineering Tafila Technical University

Lecture 20: Link Layer

internet technologies and standards

Application. Transport. Network. Link. Physical

Student ID: CS457: Computer Networking Date: 5/8/2007 Name:

Computer Networking Introduction

CSCI Computer Networks Spring 2017

COMP211 Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach

Data Communications and Networks Spring Syllabus and Reading Assignments

Chapter 4 Network Layer: The Data Plane

CSCI Computer Networks Fall 2016

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

CSC 401 Data and Computer Communications Networks

Topic 2a. Ch 6: The Link Layer and LANs. Computer Networking: A Top Down Approach

Student ID: CS457: Computer Networking Date: 5/8/2007 Name:

COMP211 Chapter 6/7 Link Layer

Chapter 4 Network Layer: The Data Plane

2. A collection of interconnected networks is called an internetwork. 3. Each machine is connected to a central hub with a point-to-point connection.

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...

Chapter 6 The Link Layer and LANs

Chapter 6 The Link Layer and LANs

Chapter 4. Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, sl April 2009.

PLEASE WRITE NEATLY I need to be able to read your answers! (seemingly encrypted solutions can not be decrypted!)

ETSF10 Internet Protocols Network Layer Protocols

LINK LAYER AND LANS 1

Chapter 6 The Link Layer and LANs

Chapter 6 The Link Layer and LANs

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

Web Protocols and Practice

1. The Internet 2. Principles 3. Ethernet 4. WiFi 5. Routing 6. Internetworking 7. Transport 8. Models 9. WiMAX & LTE 10. QoS 11. Physical Layer 12.

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

Lecture 16: Network Layer Overview, Internet Protocol

Computer Communication Networks

Chapter 6 The Link Layer and LANs

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

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

ECE 544 Computer Networks II Mid-Term Exam March 29, 2002 Profs. D. Raychaudhuri & M. Ott

TDTS06: computer Networks

Chapter 4 Network Layer: The Data Plane

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

ECE 257A. Communication Networks

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Chapter 5: Link layer

ECS 152A Computer Networks Instructor: Liu. Name: Student ID #: Final Exam: March 17, 2005

cs/ee 143 Communication Networks

Computer Networks. Instructor: Niklas Carlsson

INTRODUCTION, SERVICES. Data-link layer has responsibility of transferring datagram from one node to physically adjacent node over a link

Final Exam for ECE374 05/03/12 Solution!!

Chapter 6. Link Layer and LANs 6-1. Computer Networking: A Top Down Approach 7th edition Jim Kurose, Keith Ross Pearson/Addison Wesley April 2016

Transcription:

Course on Computer Communication and Networks Lecture 16 Synthesis, Summary/flashback and Projection (related topics continuation of study) EDA344/DIT 420, CTH/GU Based on the book Computer Networking: A Top Down Approach, Jim Kurose, Keith Ross, Addison-Wesley. Marina Papatriantafilou Summary flashback and projection 1

Important for the exam When/where: wednesday March 15, 14.00-18.00, SB-building You may have with you: English-X dictionary no calculators, PDAs, etc (if/where numbers matter, do rounding) Grading 30-40, 41-50, 51-60 (out of 60)= 3, 4, 5 (CTH) 30-44, 45-60 (out of 60) = G, VG (GU) To think during summary-study Have overview, critical eye; explain; ask yourselves: why is this so? / how does it work (or not work)? Marina Papatriantafilou Summary flashback and projection 2

Synthesis: a day in the life of a web request Putting lots-of-what-we-learned together: synthesis! goal: identify, review protocols (at all layers) involved in seemingly simple scenario: requesting www page scenario: student attaches laptop to campus work, requests/receives www.google.com Marina Papatriantafilou Summary flashback and projection 5-3

A day in the life. : scenario browser Comcast work 68.80.0.0/13 DNS server school work 68.80.2.0/24 web page web server 64.233.169.105 Google s work 64.233.160.0/19 Marina Papatriantafilou Summary flashback and projection 5-4

A day in the life connecting to the Inter DHCP DHCP DHCP DHCP DHCP UDP IP Eth Phy DHCP connecting laptop needs to get its own IP address: use DHCP DHCP DHCP DHCP DHCP DHCP UDP IP Eth Phy router (runs DHCP) DHCP request encapsulated in UDP, encapsulated in IP, encapsulated in Ether Ether frame broadcast (dest: FFFFFFFFFFFF) on LAN, received at router running DHCP server Ether demux ed to IP demux ed to UDP demux ed to DHCP Marina Papatriantafilou Summary flashback and projection 5-5

A day in the life connecting to the Inter DHCP DHCP DHCP DHCP DHCP UDP IP Eth Phy DHCP server formulates DHCP ACK containing client s IP address (and also IP address of first-hop router for client, name & IP address of DNS server) DHCP DHCP DHCP DHCP DHCP DHCP UDP IP Eth Phy router (runs DHCP) frame forwarded (switch learning) through LAN, demultiplexing at client DHCP client receives DHCP ACK reply Client now has IP address, knows name & addr of DNS server, IP address of its first-hop router Marina Papatriantafilou Summary flashback and projection 5-6

A day in the life ARP (before DNS, before HTTP) DNS DNS DNS ARP query DNS UDP IP Eth Phy ARP ARP reply ARP Eth Phy before sending HTTP request, need IP address of www.google.com: DNS DNS query created, encapsulated in UDP, encapsulated in IP, encasulated 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 Marina Papatriantafilou Summary flashback and projection 5-7

A day in the life using DNS DNS DNS DNS DNS DNS DNS UDP IP Eth Phy DNS DNS DNS DNS DNS UDP IP Eth Phy Comcast work 68.80.0.0/13 DNS server IP datagram containing DNS query forwarded via LAN switch from client to 1 st hop router IP datagram forwarded from campus work to destination (DNS-server) work, routed (tables created by RIP, OSPF and BGP routing protocols) to DNS server demux ed to DNS server DNS server replies to client with IP address of www.google.com Marina Papatriantafilou Summary flashback and projection 8

A day in the life TCP connection carrying HTTP HTTP SYNACK SYNACK SYNACK HTTP TCP IP Eth Phy SYNACK SYNACK SYNACK TCP IP Eth Phy 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 web server responds with TCP SYNACK web server 64.233.169.105 TCP connection established! Marina Papatriantafilou Summary flashback and projection 5-9

A day in the life HTTP request/reply HTTP HTTP HTTP HTTP HTTP HTTP TCP IP Eth Phy web page finally (!!!) displayed HTTP HTTP HTTP HTTP HTTP TCP IP Eth Phy HTTP request sent into TCP socket IP datagram containing HTTP request routed to www.google.com web server responds with HTTP reply (containing web page) web server 64.233.169.105 IP datgram containing HTTP reply routed back to client Marina Papatriantafilou Summary flashback and projection 5-10

Principles, Organisation Network Problems Mobility, performance, security,, serving different types of traffic, connecting transparently different works, routing, congestion control, to shared (broadcast) transmission medium producer-consumer problems, flow and error control Layering : principle, why Marina Papatriantafilou Summary flashback and projection 11

Highlights work security issues Softwaredefined works TCP/IP, LAN protocol stack multiple protocols (wired, wireless) routing, also with mobility delays performance reliable data transfer datagram vs VC congestion control Marina Papatriantafilou Summary flashback and projection 12

Types of delay; performance Propagation, transmission, queueing, processing Throughput (effective bandwidth), Utilization -- efficiency Packet-switching: impact of store&forward, pipelines, space-time diagrams Sliding windows performance Relation between delays-losses initiate TCP connection request object RTT first window = S/R second window = 2S/R third window = 4S/R fourth window = 8S/R object delivered complete transmission A transmission propagation time at client time at server B nodal processing queuing Marina Papatriantafilou Summary flashback and projection 13

Reliable data transfer Guaranteed, in-order, correct delivery: stop&wait sliding windows sequence numbers window sizes dynamic windows (TCP) performance flow control Error detection: checksums Error control: go-back-n, selective repeat, FEC methods Marina Papatriantafilou Summary flashback and projection 14

Datagram vs VC endto-end comm. Congestion Control RT traffic/streaming Marina Papatriantafilou Summary flashback and projection 15

Datagram vs VC end-to-end communication Conceptual differences Decisions, comparison Marina Papatriantafilou Summary flashback and projection 16

Congestion control (CC) why, how congestion occurs CC in TCP and performance; implied weaknesses CC in other ways, e.g. VC-based works Real-time (RT)-traffic resource reservation: traffic shaping and policing rate-based Marina Papatriantafilou Summary flashback and projection 17

RT/streaming traffic Inter context Application-level solutions (playout delay, forward-errorcontrol, caching-cdn) Intserv, Diffserv, traffic engineering, SDN Conceptual needs: packet/flow marking Admission control Traffic shaping & policing Packet scheduling Marina Papatriantafilou Summary flashback and projection 18

Highlights work security issues Softwaredefined works TCP/IP, LAN protocol stack multiple protocols (wired, wireless) routing, also with mobility delays performance reliable data transfer datagram vs VC congestion control Marina Papatriantafilou Summary flashback and projection 19

Routing, also with mobility Routing algorithms, protocols Forwarding in routers 5 Resource, policy issues Data plane and control plane in SDN Addressing mobility, tunneling A 1 2 B D 2 3 1 3 C E 1 5 2 F Mobile Switching Center Mobile Switching Center Public telephone work, and Inter Marina Papatriantafilou Summary flashback and projection 20

Medium : multiple methods Strategies: (functionality, appropriateness) Contention-based (random ), wired/wireless: Aloha, CSMA(CD/CA) Collision-free: Channel partitioning: TDMA, FDMA, CDMA Taking turns: e.g. tokens, reservation-based A B C A s signal strength C s signal strength space Marina Papatriantafilou Summary flashback and projection 21

Highlights work security issues Softwaredefined works TCP/IP, LAN protocol stack multiple protocols (wired, wireless) routing, also with mobility delays performance reliable data transfer datagram vs VC congestion control Marina Papatriantafilou Summary flashback and projection 22

TCP/IP protocol stack, applications, evolution Instantiation of work- solutions (Routing, Congestion Control, Flow & error control, applications, link layer technologies) Advantages, limitations, updates New types of applications and how they function given the existing state of Inter Marina Papatriantafilou Summary flashback and projection 23

LANs & related link technologies Protocol Examples: wired, wireless Ether, 802.xy, GSM: Functionality, performance under low/high load Connecting devices; functionalities and differences (Hubs, switches) Algorithms for switch- routing : learning& forwarding of packets ARP switch Marina Papatriantafilou Summary flashback and projection 24

Highlights work security issues Softwaredefined works TCP/IP, LAN protocol stack multiple protocols (wired, wireless) routing, also with mobility delays performance reliable data transfer datagram vs VC congestion control Marina Papatriantafilou Summary flashback and projection 25

Security issues C, I, A and methods to achieve them The language of cryptography Message integrity, signatures Instantiation in Inter: SSL, IPsec Firewalls Alice channel data, control messages Bob data secure sender s secure receiver data Trudy Marina Papatriantafilou Summary flashback and projection 26

Overlays, CDN, SDN P2P/streaming applications-infrastructure (application-layer working) traffic engineering, tunneling Software-defined works: separation of control and execution planes; virtualization of work layer functionality : eg. routing table updates implemented elsewhere (not in particular routers) (related to data centers, 5G; Inter of Things) complement the working infrastructure Marina Papatriantafilou Summary flashback and projection 27

Main questions asked by you: 1. How can we have reliable data transfer on top of UDP Implementation at app-layer 2. Difference between addressing in transport layer and in work layer? (e.g. TCP headers add source and destination IP addresses but these addresses are also added in the work layer: Is it redundant?) Some redundancy yes, TCP uses it for demux 3. special IP address(mask) 192.168.0.0/16 Local, behind NAT; was standard global address in earlier, classful IPaddressing; preserved for historical & engineering reasons 4. Working with time-space diagrams See next slide 5. Discuss exercise on slide 12 of 12.lectureNWcoreAndMediaSDN Discussed in class Marina Papatriantafilou Summary flashback and projection 28

4: eg What is a full-utilization window? first packet bit transmitted, t = 0 last bit transmitted, t = L / R sender receiver RTT ACK arrives, send next packet, t = RTT + L / R first packet bit arrives last packet bit arrives, send ACK last bit of 2 nd packet arrives, send ACK last bit of 3 rd packet arrives, send ACK E.g. for 100% utilization, calculate how many packets can fill in RTT + L / R, ie (RTT + L / R)/ (L / R) Marina Papatriantafilou Summary flashback and projection 3b-29

5: Policing: the effect of buckets input output pure leaky bucket, 2MBps output token bucket 250KB, 2MBps output token bucket 500KB, 2MBps output token bucket 750KB, 2MBps output token bucket 500KB, 2MBps, feeding 10MBps leaky bucket Marina Papatriantafilou Summary flashback and projection Multimedia+ATM;QoS, 30

Synthesis cont. 1. Reflections, prespectives 2. Networking constantly evolving Marina Papatriantafilou Summary flashback and projection 5-31

The Inter: virtualizing works 1974: multiple unconnected s ARPA data-over-cable works packet satellite work (Aloha) packet radio work differing in: addressing conventions packet formats error recovery routing ARPA satellite "A Protocol for Packet Network Intercommunication", V. Cerf, R. Kahn, IEEE Transactions on Communications, May, 1974, pp. 637-648. Marina Papatriantafilou Summary flashback and projection 5-32

The Inter: virtualizing works Interwork layer (IP): addressing: interwork appears as single, uniform entity, despite underlying local work heterogeneity work of works Gateway: embed interwork packets in local packet format route (at interwork level) to next gateway gateway ARPA satellite Marina Papatriantafilou Summary flashback and projection 5-33

Marina Papatriantafilou Summary flashback and projection Inter structure: work of works Question: given millions of ISPs, how to connect them together?

Marina Papatriantafilou Summary flashback and projection Inter structure: work of works Option: connect each ISP to every other ISP? connecting each ISP to each other directly doesn t scale: O(N 2 ) connections.

Marina Papatriantafilou Summary flashback and projection Inter structure: work of works Option: connect each ISP to a global transit (imaginary) ISP? Customer and provider ISPs have economic agreement. global ISP

Marina Papatriantafilou Summary flashback and projection Inter structure: work of works But if one global ISP is viable business, there will be competitors. ISP A ISP B ISP C

Marina Papatriantafilou Summary flashback and projection Inter structure: work of works But if one global ISP is viable business, there will be competitors. which must be interconnected Inter exchange point (ca 300 in the world; ISP A multiple ISPs peering/switching; 3 rd company) IXP ISP B ISP C peering link (no payment to each-other)

Marina Papatriantafilou Summary flashback and projection Inter structure: work of works and regional works may arise to connect s to ISPS ISP A IXP ISP B ISP C regional

Marina Papatriantafilou Summary flashback and projection Inter structure: work of works and content provider works (e.g., Google, Microsoft, Akamai ) may run their own work, to bring services, content close to end users ISP A ISP B Content provider work IXP regional ISP B

Inter structure: work of works Tier 1 ISP Tier 1 ISP Google IXP Regional ISP IXP Regional ISP IXP ISP ISP ISP ISP ISP ISP ISP ISP at center: small # of well-connected large works tier-1 commercial ISPs (e.g., AT&T, NTT, TeliaSonera, DeutcheTelecom), national & international coverage A new form of content provider work (e.g, Google): private work that connects it data centers to Inter, often bypassing tier-1, regional ISPs Marina Papatriantafilou Summary flashback and projection Introduction 1-41

Synthesis cont. 1. Reflections, prespectives 2. Networking constantly evolving Marina Papatriantafilou Summary flashback and projection 5-42

Data center works 10 s to 100 s of thousands of hosts, often closely coupled, in close proximity: e-business (e.g. Amazon) content-servers (e.g., YouTube, Akamai, Apple, Microsoft) search engines, data mining (e.g., Google) challenges: multiple applications, each serving massive numbers of clients managing/balancing load, working, data bottlenecks Inside a 40-ft Microsoft container, Chicago data center Marina Papatriantafilou Summary flashback and projection 5-43

Data center works(sdn-relevance) Inter load balancer: application-layer routing receives external client requests directs workload within data center returns results to external client (hiding data cente internals from client) Distributed systems & works working together Load balancer B Access router Border router Load balancer Tier-1 switches A C Tier-2 switches TOR switches Server racks 1 2 3 4 5 6 7 8 Marina Papatriantafilou Summary flashback and projection 5-44

Data center works (SDN-relevance) rich interconnection among switches, racks: increased throughput between racks (multiple routing paths possible) increased reliability via redundancy Distributed systems & works working together Tier-1 switches Tier-2 switches TOR switches Server racks 1 2 3 4 5 6 7 8 Marina Papatriantafilou Summary flashback and projection

guest lecture (joint with Adv. Distributed Systems course) will be rescheduled outside the Study Period Niklas Gustavsson, engineering team leader at Spotify, Gothenburg Marina Papatriantafilou Summary flashback and projection 5-46

Marina Papatriantafilou Summary flashback and projection More examples: a story in progress + possible followup course... Overlays useful here, too:

New power grids: be adaptive! Bidirectional power and information flow Micro-producers or prosumers, can share resources Distributed energy resources Communication + resource-administration (distributed system) layer: IoT Marina Papatriantafilou Summary flashback and projection 48

Marina Papatriantafilou Summary flashback and projection El-works as distributed cyber-physical systems Overlay work El- link and/or communication link Computing+ communicating device Cyber system Physical system Course (DAT300, LP1): ICT Support Cyberphysical Systems Connecting Distributed Systems, Networks, Data processing and Security in CPS

Recall, important for the exam: Thank you When/where: wednesday March 15, 14.00-18.00, SB You may have with you: English-X dictionary no calculators, PDAs, etc (if/where numbers matter, do rounding) To think during last, summary-study Overview; critical eye; explain; ask yourselves: why is this so? / How does it work? Good luck with all your efforts!!! If you hear a voice within you say you cannot paint, then by all means paint, and that voice will be silenced. Vincent Van Gogh Marina Papatriantafilou Summary flashback and projection 50