Computer Communications DIT 420 EDA343

Similar documents
Lecture 14 Summary - flashback

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

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

TDTS06: Computer Networks

CSC 4900 Computer Networks: Link Layer (3)

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

CSC 401 Data and Computer Communications Networks

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

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. Down Approach. Computer Networking: A Top. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Internet protocol stack

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

Lecture 9 Ethernet and other Link Layer protocols

CS 204: Advanced Computer Networks

CSC 8560 Computer Networks: Link and Physical Layers

Chapter 5 Data Link Layer

Chapter 6 The Link Layer and LANs

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과.

CS 43: Computer Networks The Link Layer. Kevin Webb Swarthmore College November 28, 2017

CSC 4900 Computer Networks: The Link Layer

COMP211 Chapter 6/7 Link Layer

Chapter 6 The Link Layer and LANs

Table of Contents. Computer Networks and the Internet

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

Chapter 5 Link Layer. Link Layer 5-1

Computer Communication EDA344, EDA343, DIT 420

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

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

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

CSCI Computer Networks Fall 2016

Computer Communication Networks Link

Introduction to computer networking

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

Chapter 6 The Link Layer and LANs

ECE 4450:427/527 - Computer Networks Spring 2017

CSCI Computer Networks Spring 2017

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

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

CSC 401 Data and Computer Communications Networks

CS/ECE 438: Communication Networks Fall Link Layer

CSC 401 Data and Computer Communications Networks

Chapter 6 The Link Layer and LANs

Chapter 6 The Link Layer and LANs

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

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

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

Chapter 5: Link layer

Chapter 5 Link Layer and LANs

The Link Layer and LANs. Chapter 6: Link layer and LANs

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

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

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

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

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

1-1. Switching Networks (Fall 2010) EE 586 Communication and. October 25, Lecture 24

Chapter I: Introduction

cs144 Midterm Review Fall 2010

Just enough TCP/IP. Protocol Overview. Connection Types in TCP/IP. Control Mechanisms. Borrowed from my ITS475/575 class the ITL

CS 3516: Advanced Computer Networks

Architettura di Reti

Chapter 5: Link layer

Chapter 6 The Link Layer and LANs

Chapter 5 Link Layer and LANs

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

Chapter 6 The Link Layer and LANs

CSC 401 Data and Computer Communications Networks

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

Midterm Exam II CMPSCI 453: Computer Networks Fall 2010 Prof. Jim Kurose

Lecture 20: Link Layer

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

Chapter 4: Network Layer

Sirindhorn International Institute of Technology Thammasat University

ETSF10 Internet Protocols Transport Layer Protocols

Chapter 5 Link Layer and LANs

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

Chapter 5 Link Layer and LANs. Chapter 5: The Data Link Layer. Link Layer

LINK LAYER AND LANS 1

CS 421: COMPUTER NETWORKS FALL FINAL January 10, minutes

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

Chapter 5 Link Layer. Networking: A Top. Computer. Down Approach 蒋力计算机科学与工程系上海交通大学. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Computer Networks. 19 December This exam consists of 6 questions with subquestions. Every subquestion counts for 10 points.

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

Chapter 4 Network Layer: The Data Plane

CS164 Final Exam Winter 2013

Data Communications and Networks Spring Syllabus and Reading Assignments

CS101 Lecture 6: Internetworking: Internet Protocol, IP Addresses, Routing, DNS. John Magee 8 July Some images courtesy Wikimedia Commons

CS 455/555 Intro to Networks and Communications. Link Layer

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

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

Computer Networks (Unit wise Questions)

Chapter 1 Introduction

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

Fundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin,

Computer Networking Introduction

COMP 361 Computer Communications Networks. Fall Semester Final Examination: Solution key

ETSF10 Internet Protocols Network Layer Protocols

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

Lecture 16: Network Layer Overview, Internet Protocol

Transcription:

Computer Communications DIT 420 EDA343 Summary Computer Communication 1

Important for the exam When/where:Friday Dec 21, 14.00-18.00, H 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-50, 51-60 (out of 60) = G, VG (GU) To think during last, summary-study Overview; critical eye; explain: why is this so? / How does it work? Computer Communication 2

Flashback Computer Communication 3

Principles, Organisation Network Problems (in the order faced in the 1st intro): producer-consumer problems, flow and error control, manage to shared (broadcast) transmission media, routing, congestion, connecting transparently different works, serving different types of traffic, performance, mobility security Layering : principle, why Computer Communication 4

Highlights types of delay; performance reliable data transfer (flow, error control) datagram vs VC end-to-end communication, congestion control routing, also with mobility multiple protocols (wired, wireless) LANs and related technologies work security issues TCP/IP protocol stack (also applications), evolution (p2p applications, overlays, NAT, streaming apps) Computer Communication 5

Types of delay; performance Computer Communication 6

Types of delay; performance Propagation, transmission, queueing, processing Throughput (effective bandwidth) Utilization (efficiency) Packet-switching: impact of store&forward TCP s slow start Sliding windows performance 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 Computer Communication 7

Reliable data transfer Computer Communication 8

Reliable data transfer Guaranteed, in-order, correct delivery: Flow control: stop&wait sliding windows sequence numbers window sizes dynamic windows (TCP) performance Error detection: checksums, CRC (*) Error control: go-back-n, selective repeat, FEC methods Computer Communication 9

Datagram vs VC end-to-end comm. Congestion Control RT traffic Computer Communication 10

Datagram vs VC end-to-end communication Conceptual differences Decisions, comparison, why ATM Network/ MPLS(*) Ether LANs Computer Communication 11

Congestion control (CC) why, how congestion occurs CC in TCP and performance; implied weaknesses CC in other ways, e.g. VC-based works RT-traffic resource reservation: traffic shaping and policing rate-based initiate TCP connection request object RTT object delivered time at client time a serve Computer Communication 12

RT/streaming traffic Conceptual needs: packet/flow marking Admission control Traffic shaping & policing Packet scheduling (switches) Inter context Application-level solutions (FEC, playout delay, caching-cdn) Intserv, Diffserv Computer Communication 13

Routing, also with mobility Computer Communication 14

Routing, also with mobility Routing algorithms Forwarding Resource, policy issues Addressing mobility, tunneling 2 A 1 5 B 2 D 3 1 3 C E 1 5 2 F Complementary video links - IP addresses and subs http://www.youtube.com/watch?v=ztjikjgyuze &list=ple9f3f05c381ed8e8&feature=plcp - How does BGP choose its routes http://www.youtube.com/watch?v=rge0qt9wz4u &feature=plcp Mobile Switching Center Mobile Switching Center Computer Communication 15 Public telephone work, and Inter

Multiple algorithms Computer Communication 16

Medium : multiple methods Strategies: (functionality, appropriateness) Contention-based (random ), wired/wireless: Aloha, CSMA(CD/CA) (collision-delay trade-off) Collision-free: Channel partitioning: TDMA, FDMA, CDMA Taking turns: token-passing, reservation-based A B C A s signal strength C s signal strength Computer Communication 17 space

LANs & related technologies Computer Communication 18

LANs & related link technologies Protocol Examples: wired, wireless Ether, 802.11 (+ 802.16 wimax), GSM: Functionality, performance under low/high load Connecting devices; functionalities and differences (Hubs, switches) Algorithms for switch- routing : learning& forwarding of packets ARP switch Computer Communication 19

BTW: A little backpatching Computer Communication 20

Error Detection EDC= Error Detection and Correction bits (redundancy) D = Data protected by error checking, may include header fields Error detection not 100% reliable! protocol may miss some errors, but this should happen only rarely larger EDC field yields better detection and correction 5: DataLink Layer 5-21

Inter checksums TCP (UDP) s checksum: segment contents = sequence of 16-bit integers checksum: addition (1 s complement sum) of segment contents sender puts checksum value into UDP (TCP) checksum field Cyclic redundancy check (CRC) more powerful error-detection coding data bits, D = binary number consider r+1 bit pattern (generator), G goal: compute r CRC bits, R, such that <D,R> exactly divisible by G (modulo 2) receiver knows G, divides <D,R> by G. If non-zero remainder: error detected! can detect errors on less than r+1 bits International standards for G (CRC polynomials) 5: DataLink Layer 5-22

Recall we want: D. 2 r XOR R = ng equivalently: if we divide D. 2 r by G, want remainder R CRC Example r = 3 D R. 2 r = remainder[ ] G 5: DataLink Layer 5-23

Security issues Computer Communication 24

Security issues C, I, A and methods to achieve them Instantiation in Inter: RSA, email PGP, authentication Firewalls and packet filtering Alice channel data, control messages Bob data secure sender s secure receiver data Trudy Computer Communication 25

TCP/IP protocol stack (also applications), evolution Computer Communication 26

TCP/IP protocol stack (also applications), evolution Instantiation of worksolutions (Routing, Congestion Control, Flow & error control, applications, link layer technologies) Limitations, advantages, updates Application-layer working (P2P applications, overlays, CDNs, multimedia/streaming application protocols) application transport work link physical Computer Communication 27

Items we discussed in less detail But exist in the slides you received Good to read (remember: reading is from the book! The slides cannot replavce the book reading) for own benefit; but need not consider for the exam next week CRC s Intserv, Diffserv, RSVP MPLS Computer Communication 28

Synthesis: a day in the life of a web request putting-it-all-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 5-29

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

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 5: DataLink Layer 5-31

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 firsthop 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 5: DataLink Layer 5-32

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 5-33

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 5: DataLink Layer 34

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 web server 64.233.169.105 to send HTTP request, client first opens TCP socket to web server TCP SYN segment (step 1 in 3-way handshake) interdomain routed to web server web server responds with TCP SYNACK TCP connection established! 5-35

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 web server 64.233.169.105 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) IP datgram containing HTTP reply routed back to client 5-36

Synthesis cont. 5-37

Inter structure: work of works Question: given millions of ISPs, how to connect them together?

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.

Inter structure: work of works Option: connect each ISP to a global transit ISP? Customer and provider ISPs have economic agreement. global ISP

Inter structure: work of works But if one global ISP is viable business, there will be competitors. ISP A ISP B ISP C

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)

Inter structure: work of works and regional works may arise to connect s to ISPS ISP A IXP ISP B ISP C regional

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., Level 3, Sprint, AT&T, NTT), 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 Introduction 1-45

Thank you & good luck in the exam!! When/where:Friday Dec 21, 14.00-18.00, H 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-50, 51-60 (out of 60) = G, VG (GU) To think during last, summary-study Overview; critical eye; explain: why is this so? / How does it work? Computer Communication 46