CSE 4/589 Midterm Review. Hengtong Zhang SUNY Buffalo 10/30/2018

Similar documents
NT1210 Introduction to Networking. Unit 10

ENEE 457: Computer Systems Security 11/07/16. Lecture 18 Computer Networking Basics

Chapter 3 outline. 3.5 connection-oriented transport: TCP segment structure reliable data transfer flow control connection management

TCP reliable data transfer. Chapter 3 outline. TCP sender events: TCP sender (simplified) TCP: retransmission scenarios. TCP: retransmission scenarios

CSC 401 Data and Computer Communications Networks

Computer Networking Introduction

10 minutes survey (anonymous)

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

Lecture 12: Transport Layer TCP again

Chapter 3- parte B outline

CS 4390 Computer Networks. Pointers to Corresponding Section of Textbook

Chapter 3 Transport Layer

Chapter 3 Transport Layer

Chapter 3 Transport Layer

TCP (Part 2) Session 10 INST 346 Technologies, Infrastructure and Architecture

Chapter III: Transport Layer

Chapter 1 Introduction

CSC 401 Data and Computer Communications Networks

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

TCP: Overview RFCs: 793,1122,1323, 2018, 2581

Chapter 3 Transport Layer

Chapter III: Transport Layer

rdt3.0: channels with errors and loss

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture

Pipelined protocols: overview

CSC358 Week 5. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved

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

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

Transport Layer. CMPS 4750/6750: Computer Networks

internet technologies and standards

Chapter 3 outline. Chapter 3: Transport Layer. Transport vs. network layer. Transport services and protocols. Internet transport-layer protocols

Data Communications and Networks Spring Syllabus and Reading Assignments

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

Chapter 3: Transport Layer

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control

Chapter 3: Transport Layer

internet technologies and standards

Chapter 3 Transport Layer

COMP211 Chapter 3 Transport Layer

Computer Networks. (Intensive Learning Experience) July 03, 2018

Experiential Learning Workshop on Transport & IP Routing

Chapter 3: Transport Layer

Chapter 3: Transport Layer

Architettura di Reti

Experiential Learning Workshop on Basics of Transport/Network Layer

Transport Layer. Chapter 3. Computer Networking: A Top Down Approach

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

Course on Computer Communication and Networks. Lecture 5 Chapter 3; Transport Layer, Part B

Transport layer. UDP: User Datagram Protocol [RFC 768] Review principles: Instantiation in the Internet UDP TCP

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

Transport layer. Review principles: Instantiation in the Internet UDP TCP. Reliable data transfer Flow control Congestion control

EC441 Fall 2018 Introduction to Computer Networking Chapter 3: Transport Layer

Chapter 3 Transport Layer

Chapter 3 Transport Layer

Chapter 3 Transport Layer

Chapter 3 Transport Layer

Chapter 3 Transport Layer

CS/ECE 438: Communication Networks Fall Transport Layer

NWEN 243. Networked Applications. Layer 4 TCP and UDP

Chapter 3 Transport Layer

Chapter 3: Transport Layer

Chapter 3 Transport Layer

Discussions. Chapter 3. Ch03 Transport Layer. Outline. Transport services and protocols. Transport vs. network layer. Message, Segment, Datagram

Application. Transport. Network. Link. Physical

Chapter 3 Transport Layer

Chapter 3: Transport Layer

Introduction to Networking. Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved.

Chapter 3 Transport Layer

TCP/IP Networking. Part 4: Network and Transport Layer Protocols

CS 3516: Advanced Computer Networks

TCP segment structure

Chapter 3 Transport Layer

Chapter 3 Transport Layer

internet technologies and standards

Student ID: CS457: Computer Networking Date: 3/20/2007 Name:

Internetworking With TCP/IP

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

Suprakash Datta. Office: CSEB 3043 Phone: ext Course page:

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

Chapter 3 Transport Layer

Table of Contents. Computer Networks and the Internet

L1/L2 NETWORK PROTOCOL TESTING

Midterm Review. EECS 489 Computer Networks Z. Morley Mao Monday Feb 19, 2007

Different Layers Lecture 20

cs144 Midterm Review Fall 2010

Connections. Topics. Focus. Presentation Session. Application. Data Link. Transport. Physical. Network

Transport Layer (TCP/UDP)

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

CPSC 441 COMPUTER COMMUNICATIONS MIDTERM EXAM

HW3 and Quiz. P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) TCP), 20 mins

Arhitecturi și Protocoale de Comunicații (APC) Protocoale de nivel Transport

Network and Security: Introduction

Computer Network Programming. The Transport Layer. Dr. Sam Hsu Computer Science & Engineering Florida Atlantic University

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

TCP/IP THE TCP/IP ARCHITECTURE

Different Layers Lecture 21

Network Technology 1 5th - Transport Protocol. Mario Lombardo -

TCP /IP Fundamentals Mr. Cantu

CSC 4900 Computer Networks: Network Layer

TSIN02 - Internetworking

Transcription:

CSE 4/589 Midterm Review Hengtong Zhang SUNY Buffalo 10/30/2018

Chapter 1 overview: what s the Internet? what s a protocol? network edge; hosts, access net, physical media network core: packet/circuit switching, Internet structure performance: loss, delay, throughput security protocol layers, service models history Remember Calculation Remember

Chapter 2 principles of network applications transport-layer service models client-server paradigm peer-to-peer paradigm content distribution networks 2.2 Web and HTTP FTP electronic mail SMTP, POP3, IMAP DNS socket programming with UDP and TCP

Chapter 3 transport layer services (logical communications): transportation layer vs network layer Remember multiplexing, demultiplexing reliable data transfer flow control Understand in depth congestion control connection management transport layer protocols: UDP: connectionless transport TCP: connection-oriented reliable transport TCP congestion control

Chapter 3 Reliable data transfer protocols: How do we polish the protocols step-by-step (rdt 1.0-3.0)? What s the problem of each protocol? Pipelined protocols (GBN, SR) and analysis. What do you learn from PA2?

Chapter 3 Connection management: TCP connections, start and close. Start Close client state server state client state server state LISTEN SYNSENT ESTAB choose init seq num, x send TCP SYN msg received SYNACK(x) indicates server is live; send ACK for SYNACK; this segment may contain client-to-server data SYNbit=1, Seq=x SYNbit=1, Seq=y ACKbit=1; ACKnum=x+1 ACKbit=1, ACKnum=y+1 choose init seq num, y send TCP SYNACK msg, acking SYN received ACK(y) indicates client is live LISTEN SYN RCVD ESTAB ESTAB FIN_WAIT_1 FIN_WAIT_2 TIMED_WAIT clientsocket.close() can no longer send but can receive data wait for server close timed wait for 2*max segment lifetime FINbit=1, seq=x ACKbit=1; ACKnum=x+1 FINbit=1, seq=y ACKbit=1; ACKnum=y+1 can still send data can no longer send data ESTAB CLOSE_WAIT LAST_ACK CLOSED CLOSED

Chapter 3 Congestions and congestion control Why do congestions happen? What s the intuitions behind congestion control methods? How does TCP handle congestions? TCP Tahoe TCP Reno TCP throughput Is TCP fair?

Chapter 4 Overview of Network layer data plane control plane What s inside a router IP: Internet Protocol datagram format fragmentation IPv4 addressing network address translation IPv6 Understand Remember Understand Remember

Chapter 4 network-layer functions: forwarding: move packets from router s input to appropriate router output routing: determine route taken by packets from source to destination routing algorithms analogy: taking a trip forwarding: process of getting through single interchange routing: process of planning trip from source to destination

Chapter 4 Data plane local, per-router function determines how datagram arriving on router input port is forwarded to router output port forwarding function values in arriving packet header 0111 3 1 2 Control plane network-wide logic determines how datagram is routed among routers along end-end path from source host to destination host two control-plane approaches: traditional routing algorithms: implemented in routers software-defined networking (SDN): implemented in (remote) servers

Chapter 4 Calculation questions: Forwarding table related calculation questions. Please refer to homework 3.

Destination-based forwarding forwarding table Destination Address Range 11001000 00010111 00010000 00000000 through 11001000 00010111 00010111 11111111 11001000 00010111 00011000 00000000 through 11001000 00010111 00011000 11111111 11001000 00010111 00011001 00000000 through 11001000 00010111 00011111 11111111 otherwise Link Interface 0 1 2 3 Q: but what happens if ranges don t divide up so nicely? Network Layer: Data Plane 4-12

Chapter 5 Routing protocols link state (Dijkstra's Algorithm) distance vector (Distance vector Algorithm) limitations and problems Routing in action intra-as routing in the Internet: OSPF routing among the ISPs: BGP The SDN control plane ICMP: The Internet Control Message Protocol Network management and SNMP Understand Remember Remember