Fall 2004FSU CIS 5930 Internet Protocols1 Second phase of the project Please check some networking textbooks for details on TCP and OSPF.

Slides:



Advertisements
Similar presentations
CS144 Review Session 4 April 25, 2008 Ben Nham
Advertisements

Introduction 1 Lecture 13 Transport Layer (Transmission Control Protocol) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer.
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
Transport Layer – TCP (Part2) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Transport Layer3-1 TCP. Transport Layer3-2 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 r full duplex data: m bi-directional data flow in same connection.
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.
1 Transport Layer Lecture 9 Imran Ahmed University of Management & Technology.
Transport Layer3-1 Summary of Reliable Data Transfer Checksums help us detect errors ACKs and NAKs help us deal with errors If ACK/NAK has errors sender.
TCP: Transmission Control Protocol Overview Connection set-up and termination Interactive Bulk transfer Timers Improvements.
Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth Edition,Peterson.
Introduction 1 Lecture 14 Transport Layer (Transmission Control Protocol) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
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 Layer 3-1 Outline r TCP m Congestion control m Flow control.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Transport Layer Transport Layer: TCP. Transport Layer 3-2 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 r full duplex data: m bi-directional.
Transport Layer 3-1 Transport Layer r To learn about transport layer protocols in the Internet: m TCP: connection-oriented protocol m Reliability protocol.
CPSC Tutorial: TCP 101 r The Transmission Control Protocol (TCP) is the protocol that sends your data reliably r Used for , Web, ftp, telnet,
Computer Networks Transport Layer. Topics F Introduction  F Connection Issues F TCP.
Advanced Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6961:Internet Protocols Quiz 2 Time: 60 min (strictly enforced) Points: 50 { 5 questions,
1 K. Salah Module 6.1: TCP Flow and Congestion Control Connection establishment & Termination Flow Control Congestion Control QoS.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
Figure 2-17 Relationship of layers and addresses in TCP/IP Example: web browser implementing HTTP Implemented in TCP and UDP software. HTTP uses TCP. Interface.
Copyright © 2005 Department of Computer Science CPSC 641 Winter Tutorial: TCP 101 The Transmission Control Protocol (TCP) is the protocol that sends.
Introduction 1 Lecture 14 Transport Layer (Congestion Control) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
Process-to-Process Delivery:
The Transport Layer.
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
3: Transport Layer3b-1 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 r full duplex data: m bi-directional data flow in same connection m MSS: maximum.
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.
1 Transport Protocols (continued) Relates to Lab 5. UDP and TCP.
SMUCSE 4344 transport layer. SMUCSE 4344 transport layer end-to-end protocols –transport code runs only on endpoint hosts encapsulates network communications.
Transport Layer Moving Segments. Transport Layer Protocols Provide a logical communication link between processes running on different hosts as if directly.
Chapter 12 Transmission Control Protocol (TCP)
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.
What is TCP? Connection-oriented reliable transfer Stream paradigm
TCP: Transmission Control Protocol Part II : Protocol Mechanisms Computer Network System Sirak Kaewjamnong Semester 1st, 2004.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
Transport Layer3-1 Transport Layer Our lives begin to end, the day we become silent about things that matter.
ECE 4110 – Internetwork Programming
Midterm Review Chapter 1: Introduction Chapter 2: Application Layer
Fall 2004FSU CIS 5930 Internet Protocols1 TCP – Data Exchange Reading: Section 24.4.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 3: Transport.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CIS679: TCP and Multimedia r Review of last lecture r TCP and Multimedia.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Transmission Control Protocol (TCP) TCP Flow Control and Congestion Control CS 60008: Internet Architecture and Protocols Department of CSE, IIT Kharagpur.
CSEN 404 Transport Layer II Amr El Mougy Lamia AlBadrawy.
CSEN 404 Introduction to Networks Amr El Mougy Lamia AlBadrawy.
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
Window Control Adjust transmission rate by changing Window Size
DMET 602: Networks and Media Lab
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
TCP Lecture 4.
Transport Layer CS 381 3/7/2017.
Introduction to Networks
Transmission Control Protocol (TCP)
TCP.
TCP.
Review: UDP demultiplexing TCP demultiplexing Multiplexing?
Magda El Zarki Professor, ICS UC, Irvine
Internet and Intranet Protocols and Applications
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
CS4470 Computer Networking Protocols
TCP flow and congestion control
Presentation transcript:

Fall 2004FSU CIS 5930 Internet Protocols1 Second phase of the project Please check some networking textbooks for details on TCP and OSPF

Fall 2004FSU CIS 5930 Internet Protocols2 TCP Emphasizing on the followings: –Connection management –Flow control and congestion control –Reliable transmission (packet retransmission)

Fall 2004FSU CIS 5930 Internet Protocols3 Connection management Connection establishment –Three-way handshaking SYN/ACK –Window size (buffer that you have) Connection release –FIN/ACK –Preparing to receive data before ACKed Preparing for packet loss –Timer for SYN packet –You can close your connection without receiving ACK, but after a certain amount of time

Fall 2004FSU CIS 5930 Internet Protocols4 Flow control and congestion control Three parameters: –Receiver window size (rwnd), –congestion window size (cwnd), –slow-start threshold (ssthresh) At any time –Sendingdata <= min(rwnd, cwnd)

Fall 2004FSU CIS 5930 Internet Protocols5 Slow start and congestion avoidance At beginning –cwnd = one segment –ssthresh = 64K While cwnd <= ssthresh –Double cwnd after each window round –(increasing cwnd by one (packet) every time packet ACKed) After cwnd > ssthresh –Linear increasing –Increasing cwnd by one after each window round –(cwnd += 1/cwnd)

Fall 2004FSU CIS 5930 Internet Protocols6 Reliable transmission (conceptually) a timer for each unAcked packet When timer goes off, retransmit packet At receiver side –A modified Go-back-N –Buffering out-of-order packets –Acking maximum continually received packet

Fall 2004FSU CIS 5930 Internet Protocols7 Reliable transmission How to set time-out interval? Estimating RTT RTT = alpha RTT + (1-alpha) new_sample Time-out = beta RTT

Fall 2004FSU CIS 5930 Internet Protocols8 Open Shortest Path First (OSPF) We use a simplified version OSPF has two phases –Learning phase, when an OSPF router first starts –Maintenance phase, thereafter

Fall 2004FSU CIS 5930 Internet Protocols9 Learning phase (5 steps) Learning neighbors –Neighbors are ones on the same subnet Exchanging connectivity info with neighbors Flooding learned info Computing shortest path to all routers Computing shortest path to all subnets

Fall 2004FSU CIS 5930 Internet Protocols10 OSPF message types OSPF_TYPE_HELLO –To probe other routers OSPF_TYPE_HELLOACK –To respond to hello messages OSPF_TYPE_LSA_UPDATE –To advertise updates (connectivity info)

Fall 2004FSU CIS 5930 Internet Protocols11 When an OSPF router starts It probes others After a certain amount of time (say 10 seconds), it assumes it has all topology info Computing shortest paths by applying Dijkstra algorithm –You get shortest paths to all other routers Computing shortest paths to all subnets

Fall 2004FSU CIS 5930 Internet Protocols12 Maintenance phase It probes others with a larger interval –Say 1 probe per 10 seconds If it does not hear from a neighbor for several probe intervals, it assumes the neighbor is dead –Say 3 probes, (I.e., 30 seconds) Propagating this loss of neighbor Recomputing shortest-paths

Fall 2004FSU CIS 5930 Internet Protocols13 Grading policy (100 points) 1.Emulation of packet loss: 5 points 2.TCP connection management 3.TCP congestion management 1.Slow start, congestion avoidance, TCP Tahoe or Reno 4.TCP retransmission (go back N or selective repeat) 5.FTP application

Fall 2004FSU CIS 5930 Internet Protocols14 Second phase (Cont’d) OSPF learning neighbors: 5 points OSPF exchanging connectivity OSPF flooding OSPF computing shortest path to all routers OSPF computing shortest path to all subnets Code readability: 5 points Report: 5 points

Fall 2004FSU CIS 5930 Internet Protocols15 A new command ip –ip loss –ip ospfd –ip sh route Showing the content of the routing table –ip rm route Deleting all content of the routing table

Fall 2004FSU CIS 5930 Internet Protocols16 Project—UDP and TCP To configure a local host –APPL [UDP|TCP] port_number type –Type: MSG: for short messages FTP: for file transfer

Fall 2004FSU CIS 5930 Internet Protocols17 UDP and TCP For two hosts to communicate –MSG [UDP|TCP] source_port, dst, dst_port message –FTP source_port dst dst_port file_name For file transfer –A simple file transfer protocol: Client specifies the name of the file he wants to download from the server.