TCP and FTP Internet Engineering. 1 Protocol of transport layer Reliability ( guarantee packet arrives to destination ) –Retransmission control Use for.

Slides:



Advertisements
Similar presentations
BZUPAGES.COM 1 User Datagram Protocol - UDP RFC 768, Protocol 17 Provides unreliable, connectionless on top of IP Minimal overhead, high performance –No.
Advertisements

Copyright 1999, S.D. Personick. All Rights Reserved. Telecommunications Networking II Lecture 32 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
CCNA 1 v3.1 Module 11 Review.
Protocols and the TCP/IP Suite Chapter 4 (Stallings Book)
Networking Theory (part 2). Internet Architecture The Internet is a worldwide collection of smaller networks that share a common suite of communication.
The Transport Layer Chapter 6. The Transport Service Services Provided to the Upper Layers Transport Service Primitives Berkeley Sockets An Example of.
Network Architectures Week 3 Part 2. Comparing The Internet & OSI.
Introduction to Management Information Systems Chapter 5 Data Communications and Internet Technology HTM 304 Fall 07.
EE 4272Spring, 2003 Protocols & Architecture A Protocol Architecture is the layered structure of hardware & software that supports the exchange of data.
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
1 Link Layer & Network Layer Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek, Hari Balakrishnan, and Sam Madden Prof. Dina Katabi.
Error Checking continued. Network Layers in Action Each layer in the OSI Model will add header information that pertains to that specific protocol. On.
Process-to-Process Delivery:
The Transport Layer.
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
Lesson 24. Protocols and the OSI Model. Objectives At the end of this Presentation, you will be able to:
Syllabus outcomes Describes and applies problem-solving processes when creating solutions Designs, produces and evaluates appropriate solutions.
 TCP/IP is the communication protocol for the Internet  TCP/IP defines how electronic devices should be connected to the Internet, and how data should.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
1 ELEN602 Lecture 2 Review of Last Lecture Layering.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
CCNA1 v3 Module 11 v3 CCNA 1 Module 11 JEOPARDY S Dow.
Mukesh N. Tekwani Elphinstone College Mumbai
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
1 LAN Protocols (Week 3, Wednesday 9/10/2003) © Abdou Illia, Fall 2003.
ECEN “Internet Protocols and Modeling” Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Grading (Tentative):
Transport Layer Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
TCP/IP Transport and Application (Topic 6)
Copyright 2002, S.D. Personick. All Rights Reserved.1 Telecommunications Networking II Topic 20 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
UDP and CBR Internet Engineering. 1 Contents Delivery Encode –Music or movie is converted to data (compress) CBR (Constant Bit Rate) –Constant bit assignment.
The Internet The internet is simply a worldwide computer network that uses standardised communication protocols to transmit and exchange data.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
1 Networking Chapter Distributed Capabilities Communications architectures –Software that supports a group of networked computers Network operating.
1 End-user Protocols, Services and QoS. 2 Layering: logical communication application transport network link physical application transport network link.
©Brooks/Cole, 2003 Model and protocol  A model is the specification set by a standards organization as a guideline for designing networks.  A protocol.
INDEX oWoWhat is TCP/IP protocol suite ? oDoDifferent layers. oEoEncapsulation. oPoProtocol Interface.
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
Net 221D:Computer Networks Fundamentals
TCP/IP. The idea behind TCP/IP is exactly the same we explained about the OSI reference model: when transmitting data, programs talk to the Application.
Transmission Control Protocol (TCP) Internet Protocol (IP)
Transport Protocols.
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
Midterm Review Chapter 1: Introduction Chapter 2: Application Layer
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
1 Version 3.1 Module 10 Intermediate TCP/IP (Layer 4)
1 Computer Communication & Networks Lecture 23 & 24 Transport Layer: UDP and TCP Waleed Ejaz
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Communication Networks NETW 501 Tutorial 2
Component 1 Network Protocols.
The Transport Layer Implementation Services Functions Protocols
Window Control Adjust transmission rate by changing Window Size
Ch 16 Protocols and Layering
v3 JEOPARDY CCNA 1 Module 11 CCNA1 v3 Module 11 Galo Valencia
Process-to-Process Delivery, TCP and UDP protocols
Understand the OSI Model Part 2
Networking for Home and Small Businesses – Chapter 6
Networking for Home and Small Businesses – Chapter 6
Topic 5: Communication and the Internet
ECEN “Internet Protocols and Modeling”
Process-to-Process Delivery:
Networking Theory (part 2)
Protocols 2 Key Revision Points.
Networking for Home and Small Businesses – Chapter 6
CS4470 Computer Networking Protocols
Process-to-Process Delivery: UDP, TCP
The TCP/IP Model.
Networking Theory (part 2)
Presentation transcript:

TCP and FTP Internet Engineering

1 Protocol of transport layer Reliability ( guarantee packet arrives to destination ) –Retransmission control Use for File ・ Mail ・ Web Transfer Application layer FTP, CBR HTTP, SMTP Transport layer TCPUDP Network layer IP Physic, data-link layer Ethernet TCP (Transport Control Protocol) FTP (File Transfer Protocol) POP (Post Office Protocol) SMTP (Simple Mail Transfer Protocol) IMAP (Internet Message Access Protocol) HTTP (Hyper Text Transfer Protocol) FTP POP SMTP IMAP HTTP

Internet Engineering 2 Hierarchy Architecture senderreceiver data TCP header IP header Ethernet Frame header IP header TCP header addition analysis Communication medium ( LAN cable ・ Optical cable ・ wireless ) Send outrevceiv Application layer Transport layer Network layer Physic, data-link layer

Internet Engineering 3 TCP Packet, TCP Header DataIP Header Ethernet Header TCP Header

Internet Engineering 4 TCP Header Sequence number –Indicate the position of sent data –Increased by the number of bytes whenever data sent ( ※ In ns-2, it is increased 1 when a data is sent ) Acknowledge (ACK) number –Sequence number of data should be received next This means that the receiver received all packets whose sequence numbers are less than the ACK If the sequence number of next data equals the replied ACK number, normal communication is done ( ※ In ns-2, the ACK number is the maximum sequence number of data received cumulatively. It means that, if the sequence number of sent data equals ACK number, the communication has no fault)

Internet Engineering 5 Reliability Insurance by ACK Data Packet Sender Receiver 1 2 Next is 2 Next is 3 3 Next is 4 Sequence number ACK Number ACK It is inefficient to acknowledge individually each segment received.  Send a number of segments at once ?

Internet Engineering 6 Implement Window Control No waiting ACK for sent segment but send a number of segment Data packet Sender Receiver Next is Sequence number ACK number ACK Window ※ Window size : size of segments can be sent without waiting for ACK

Internet Engineering 7 Improvement speed by Window Control Adjust transmission rate by changing window size Data Packet Sender Receiver 1 23 Sequence number ACK number ACK Sender Receiver Sequence number ACK Data Packet Window Size = 1 segment Window Size = 4 segments Next is 2 34 ACK number Next is

Internet Engineering 8 Data Packet Maximum Window Size Window Size = 4 segments Sender Receiver Sequence Number ACK number ACK Window Maximum Window Size Buffer Size of Receiver (rwnd: Receiver’s Window) Next is

Internet Engineering 9 Retransmission Control (Time Out) Sender Receiver Packet loss period RTO ( Retransmission Time Out) 1 1 Next is 2 2 If the ACK for a packet isn’t responded within RTO, that packet is considered loss  Retransmission

Internet Engineering 10 Retransmission Control (duplicate ACK) 送信側 受信側 1 7 If receive three same ACKs then corresponding packet is considered loss  retransmission Three duplicate ACKs If receive third duplicate ACKs  Retransmission Next is

Internet Engineering 11 Experiment FTP/TCP (Bottleneck link) Bandwidth: Bw 40Mbps FTP TCP Agent NetworkRouter Download TCPSink Agent Network