Exam Review Networking CS 3470, Section 1 Sarah Diesburg.

Slides:



Advertisements
Similar presentations
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
Advertisements

Transmission Control Protocol (TCP)
Guide to TCP/IP, Third Edition
Fundamentals of Computer Networks ECE 478/578 Lecture #20: Transmission Control Protocol Instructor: Loukas Lazos Dept of Electrical and Computer Engineering.
3-1 TCP Protocol r point-to-point: m one sender, one receiver r reliable, in-order byte steam: m no “message boundaries” r pipelined: m TCP congestion.
Transport Layer1 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 r reliable, in-order byte steam: m no “message boundaries” r pipelined: m TCP congestion.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
Chapter 3 Transport Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 12.
Transport Layer 3-1 outline r TCP m segment structure m reliable data transfer m flow control m congestion control.
Transport Layer 3-1 Fast Retransmit r time-out period often relatively long: m long delay before resending lost packet r detect lost segments via duplicate.
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
CSEE W4140 Networking Laboratory Lecture 7: TCP flow control and congestion control Jong Yul Kim
Week 9 TCP9-1 Week 9 TCP 3 outline r 3.5 Connection-oriented transport: TCP m segment structure m reliable data transfer m flow control m connection management.
1 Lecture 9: TCP and Congestion Control Slides adapted from: Congestion slides for Computer Networks: A Systems Approach (Peterson and Davis) Chapter 3.
CSEE W4140 Networking Laboratory Lecture 7: TCP congestion control Jong Yul Kim
The Transport Layer Chapter 6. The Transport Service Services Provided to the Upper Layers Transport Service Primitives Berkeley Sockets An Example of.
Data Communication and Networks
Transport Layer Congestion control. Transport Layer 3-2 Approaches towards congestion control End-to-end congestion control: r no explicit feedback.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
Introduction 1 Lecture 14 Transport Layer (Congestion Control) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
The Transport Layer.
3: Transport Layer3b-1 Principles of Congestion Control Congestion: r informally: “too many sources sending too much data too fast for network to handle”
Transport Layer 4 2: Transport Layer 4.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
Transport Layer3-1 Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4 Principles.
Principles of Congestion Control Congestion: informally: “too many sources sending too much data too fast for network to handle” different from flow control!
TCOM 509 – Internet Protocols (TCP/IP) Lecture 04_b Transport Protocols - TCP Instructor: Dr. Li-Chuan Chen Date: 09/22/2003 Based in part upon slides.
17-1 Last time □ UDP socket programming ♦ DatagramSocket, DatagramPacket □ TCP ♦ Sequence numbers, ACKs ♦ RTT, DevRTT, timeout calculations ♦ Reliable.
TCP CS 168 Discussion Week 6 Many thanks to past EE 122 GSIs.
ECE453 – Introduction to Computer Networks Lecture 14 – Transport Layer (I)
1 Introduction to Computer Networks University of ilam Dr. Mozafar Bag-Mohammadi Transport Layer.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
1 TCP: Reliable Transport Service. 2 Transmission Control Protocol (TCP) Major transport protocol used in Internet Heavily used Completely reliable transfer.
CSE679: Computer Network Review r Review of the uncounted quiz r Computer network review.
1 Transport Layer Lecture 10 Imran Ahmed University of Management & Technology.
By N.Gopinath AP/CSE Unit: III Introduction to Transport layer.
CS470 Computer Networking Protocols
ECE 4110 – Internetwork Programming
Transport Protocols.
NUS.SOC.CS2105 Ooi Wei Tsang Application Transport Network Link Physical you are still here.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
Transport Layer3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
Peer-to-Peer Networks 13 Internet – The Underlay Network
CIS679: TCP and Multimedia r Review of last lecture r TCP and Multimedia.
Transport Layer session 1 TELE3118: Network Technologies Week 11: Transport Layer TCP Some slides have been taken from: r Computer Networking:
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
1 TCP ProtocolsLayer name DNSApplication TCP, UDPTransport IPInternet (Network ) WiFi, Ethernet Link (Physical)
@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.
Networking CS 3470, Section 1 Sarah Diesburg
Chapter 3 outline 3.1 Transport-layer services
Approaches towards congestion control
Chapter 6 TCP Congestion Control
Introduction to Networks
Networking CS 3470, Section 1 Sarah Diesburg
COMP 431 Internet Services & Protocols
Chapter 3 outline 3.1 Transport-layer services
TCP.
Computer Networks Bhushan Trivedi, Director, MCA Programme, at the GLS Institute of Computer Technology, Ahmadabad.
Internet and Intranet Protocols and Applications
Networking CS 3470, Section 1 Sarah Diesburg
Chapter 6 TCP Congestion Control
Networking CS 3470, Section 1 Sarah Diesburg
Networking CS 3470, Section 1 Sarah Diesburg
TCP Overview.
CS4470 Computer Networking Protocols
Introduction to Computer Networks
Chapter 3 outline 3.1 Transport-layer services
Presentation transcript:

Exam Review Networking CS 3470, Section 1 Sarah Diesburg

Coverage Total: 80 raw points  Based on lectures, assignments, and projects  Based on your ability to apply various principles learned in the class Multiple choice, short answer, and problem solving questions Percentage of points earned will be multiplied to percentage of 250 points as stated on syllabus

Coverage Two parts  Chapters 5-6 (last third of class) Roughly 2/3 of test  Cumulative (over first 2/3 of class, exams 1-2) Roughly 1/3 of test

Review Chapters 5-6

Transport Layer Definitions  Transport layer What is the primary function? Why is it necessary (say on top of IP)?  Packet Encapsulation Layer headers are added or taken away  Multiplexing/demultiplexing

Transport Layer Definitions  TCP socket Identified by 4-tuple (IP src, IP dest, port src, port dest)  UDP socket Identified by 2-tuple (IP dst, IP port)  Pseudoheader  Flow control  Congestion control

Transport Layer  Segments Packets exchanged between TCP peers  TCP flags SYN, ACK, FIN, RST

Transport Layer Short answer / problem solving  UDP advantages over TCP  TCP advantages over UDP  Checksum with 1’s compliment  Two-Army problem

DNS Definitions  What is DNS?  Host aliasing Multiple names for one server  MX records  Load balancing Many IP addresses associated with a hostname  Canonical name

DNS Short answers / problem solving  Role of a root DNS server  Role of a top-level domain (TLD) server  Be able to create and identify iterative and recursive DNS queries  Role of DHCP and DNS

TCP Control Flow Definitions  Sequence number field (often called SequenceNum)  Passive open  Active open  Maximum Segment Lifetime (TCP)

TCP Control Flow Short answers / problem solving  TCP 3-way handshake  Goals of TCP sliding window  AdvertisedWindow/EffectiveWindow (see next slide)  TCP tear down sequence

Sliding Window Revisited Be able to look at a sliding window diagram and show me the AdvertisedWindow (on receiver) and EffectiveWindow (on sender) SenderReceiver

TCP Transmission Control Definitions  Silly window syndrome  Fast retransmit (3 duplicate ACKs)  Nagle’s Algorithm Generally, what does it do? (No need to memorize algorithm.)  Adaptive Retransmission Generally, what does it do? (No need to memorize algorithm.)

TCP Transmission Control Short answer / problem solving  3 ways TCP triggers a transmission MSS Explicit send Timer  TCP cumulative ACKs

Queuing Disciplines Definitions  Flow  FIFO queuing  FIFO priority queuing  Tail drop  Fair queuing

Queuing Disciplines Short answers / problem solving  How do queuing disciplines relate to congestion control?  What is F i in fair queuing?  Be prepared to answer queuing problems as seen in homework 10, question 3

TCP Congestion Control Definitions  Congestion window (or CongWin)  TCP loss event Why do we care about losses? Timeout or 3 duplicate ACKs  Additive Increase/Multiplicative Decrease (AIMD)  Slow Start  Fast Recovery

TCP Congestion Control Short answers / problem solving  Explain how AIMD and slow start work  Explain how fast recovery works  Explain how TCP is fair Is all traffic fair?  Homework 10, questions 1-2

Summary: TCP Congestion Control  When CongWin is below Threshold, sender in slow-start phase, window grows exponentially.  When CongWin is above Threshold, sender is in congestion-avoidance phase, window grows linearly.  When a triple duplicate ACK occurs, Threshold set to CongWin/2 and CongWin set to Threshold.  When timeout occurs, Threshold set to CongWin/2 and CongWin is set to 1 MSS.

Congestion Avoidance Definitions  DECbit  RED gateways

Programming Project Be familiar with valid and invalid TCP transitions What does a pipe (“|”) and redirection (“>” or “<“) do?

Review Putting it all together

Wireshark  I may paste a screenshot of a Wireshark trace and ask you a few questions about it  Review project 5 to prepare

Putting it all together Definitions  Review definitions and general concepts from previous reviews and old tests

Putting it all together The following problem-solving questions may show up on the final from previous tests:  Calculate the total time required to transfer a file (recall the definition of latency)  NRZ, Manchester, and NRZI encodings  SMTP protocol  2-Dimensional Parity

Putting it all together  Drawing windows in the sliding window protocol  ISO/OSI vs Internet Model  Determining next hop for a CIDR network  Dijkstra's algorithm  TCP simple talk control flow  Host vs network order  Spanning tree