Protocol(TCP/IP, HTTP) 송준화 조경민 2001/03/13. Network Computing Lab.2 Layering of TCP/IP-based protocols.

Slides:



Advertisements
Similar presentations
Transport Layer3-1 Transport Overview and UDP. Transport Layer3-2 Goals r Understand transport services m Multiplexing and Demultiplexing m Reliable data.
Advertisements

CISCO NETWORKING ACADEMY Chabot College ELEC Transport Layer (4)
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Transmission Control Protocol (TCP)
Intermediate TCP/IP TCP Operation.
Lecture 7 Transport Layer
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
UDP & TCP Where would we be without them!. UDP User Datagram Protocol.
1 CS492B Project #2 TCP Tutorial # Jin Hyun Ju.
1 TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
Winter 2008CS244a Handout #61 CS244a: An Introduction to Computer Networks Handout 6: The Transport Layer, Transmission Control Protocol (TCP), and User.
1 CS 4396 Computer Networks Lab Transmission Control Protocol (TCP) Part I.
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
BZUPAGES.COM 1 User Datagram Protocol - UDP RFC 768, Protocol 17 Provides unreliable, connectionless on top of IP Minimal overhead, high performance –No.
Transport Layer – TCP (Part1) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Chapter 7 – Transport Layer Protocols
TELE202 Lecture 14 TCP/UDP (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »TCP/UDP (1) »Source: chapter 17 ¥This Lecture »TCP/UDP (2) »Source: chapter.
TRANSPORT LAYER  Session multiplexing  Segmentation  Flow control (TCP)  Connection-oriented (TCP)  Reliability (TCP)
Copyright 1999, S.D. Personick. All Rights Reserved. Telecommunications Networking II Lecture 32 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
EEC-484/584 Computer Networks Lecture 15 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Transport Layer.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
Transport Layer TCP and UDP IS250 Spring 2010
Chapter 4 OSI Transport Layer
Gursharan Singh Tatla Transport Layer 16-May
Process-to-Process Delivery:
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
1 Chapter Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
1 Transport Layer Computer Networks. 2 Where are we?
6.1. Transport Control Protocol (TCP) It is the most widely used transport protocol in the world. Provides reliable end to end connection between two hosts.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 All.
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
CS332, Ch. 26: TCP Victor Norman Calvin College 1.
Transport Layer Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.5 Internetworking Chapter 25 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
Copyright 2002, S.D. Personick. All Rights Reserved.1 Telecommunications Networking II Topic 20 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 6 The Transport Layer.
Transport Layer3-1 Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Transport Layer COM211 Communications and Networks CDA College Theodoros Christophides
Transport Layer 3-1 Chapter 3 Outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP.
Transport Protocols.
79 Sidevõrgud IRT 4060/ IRT 0020 vooruloeng 8 / 3. nov 2004 Vooülekanne Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
01_NF_Ch04 – OSI Transport Layer ( 傳輸層 ) Source: CCNA Exploration.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
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).
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
Computer Networks 1000-Transport layer, TCP Gergely Windisch v spring.
2: Transport Layer 11 Transport Layer 1. 2: Transport Layer 12 Part 2: Transport Layer Chapter goals: r understand principles behind transport layer services:
3. END-TO-END PROTOCOLS (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 22 March
1 Chapter 24 Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
Chapter 9: Transport Layer
5. End-to-end protocols (part 1)
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
Process-to-Process Delivery:
TCP and UDP Layer 3 of the TCP/IP protocol stack. Transport layer
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
Chapter 5 Transport Layer Introduction
Introduction to Computer Networks
Lecture 21 and 22 5/29/2019.
Process-to-Process Delivery: UDP, TCP
Transport Layer 9/22/2019.
Presentation transcript:

Protocol(TCP/IP, HTTP) 송준화 조경민 2001/03/13

Network Computing Lab.2 Layering of TCP/IP-based protocols

2001/03/13Network Computing Lab.3 TCP Characteristic TCP is connection-oriented 3-way handshake is used for connection setup/teardown TCP provides a stream-of-bytes service. TCP is reliable Acknowledgements indicate delivery of data. Checksums are used to detect corrupted data. Sequence numbers detect missing, or mis-sequenced data. Corrupted data is retransmitted after a timeout. Mis-sequenced data is re-sequenced. (Window-based) Flow control prevents over-run of receiver. TCP uses congestion control to share network capacity among users.

2001/03/13Network Computing Lab.4 TCP is connection-oriented

2001/03/13Network Computing Lab.5 Connection Establishment/Close telnet address port Active open telnet> quit  equivalent to “ close ” Makes the system to send “ FIN ” for “ active close ” Time Wait State (2MSL state) On “ active close ” side MSL: maximum segment lifetime Two effects: lost ACK Port reuse

2001/03/13Network Computing Lab.6 TCP segment header 20 bytes

2001/03/13Network Computing Lab.7 (some) TCP Header Fields URG: urgent bit One end tells the other that “ urgent data ” of some form has been placed into the normal stream of data Works with 16 bit “ urgent pointer ” field ACK: PSH: RST: SYN: FIN:

2001/03/13Network Computing Lab.8 IP characteristic Connectionless mis-sequencing Unreliable may drop packets Best Effort

2001/03/13Network Computing Lab.9 IP : Internet Protocol

2001/03/13Network Computing Lab.10 The IP Datagram 20 bytes

2001/03/13Network Computing Lab.11 (some) IP Header Fields TOS: 3 bit precedence (ignored) 4 bit TOS : (minimize delay, maximize throughput, maximize reliability, minimize monetary cost) Only one bit can be “ on ” Usually call bits “ off ” ID: unique id for each datagram from a sender TTL: upper bound for # of hops

2001/03/13Network Computing Lab.12 HTTP Stateless protocol Not include the concept of a session or interaction beyond delivery of the requested document. Do not need to keep track of who the clients are or what requests were serviced in the past.

2001/03/13Network Computing Lab.13 HTTP 1.0 vs. HTTP 1.1(1) HTTP 1.0 For each additional request, a new TCP connection must be established. The system incurs again in a connection setup overhead. HTTP 1.1 Persistent connection Pipeline of requests

2001/03/13Network Computing Lab.14 HTTP 1.0 vs. HTTP 1.1(2) HTTP 1.1 Persistent connection Avoids many round trip delays Improving performance Reducing the number of packets exchanged Pipeline of requests Allows multiple requests to be sent without waiting for a response.

2001/03/13Network Computing Lab.15 HTTP interaction HTTP 1.0HTTP 1.1

2001/03/13Network Computing Lab.16 Anatomy of an HTTP transaction

2001/03/13Network Computing Lab.17 (Network) System Overview The main issue is how we can improve network system performance at each component.

2001/03/13Network Computing Lab.18 Where are the delays?(1) Browser The end user clicks on a hyperlink and requests a document. In the case of a hit, returns the requested document in the local cache. In the case of a miss mapping the server hostname to an IP address. The clients opens a TCP connection to the server. The clients sends an HTTP request to the server. The browser formats and displays the document and renders the associated images.

2001/03/13Network Computing Lab.19 Where are the delays?(2) Network The network imposes delays to deliver information from the client to server and back from the server to client.

2001/03/13Network Computing Lab.20 Where are the delays?(3) Server A request arrives from the client. The server parses the request, according to the HTTP protocol. The server executes the method requested. The server reads the contents of the file from disk or from its main memory cache and writes it to the network port. Close the connection Service time and waiting time at the various components of the server, such as processor, disk, and network

2001/03/13Network Computing Lab.21 QoS(Quality of Service)(1) Customers want to have good services available at any time. Customers do not care about site failures, traffic jams, network bandwidth, or other indicators of system activities. Besides contents and aesthetics, online users want performance and security.

2001/03/13Network Computing Lab.22 QoS(Quality of Service)(2) Users perceive Web services through performance metrics such as: Response time Availability The percentage of time a site is available during an observation period. Reliability Measuring the occurrence of failures during the processing or services. Predictability Cost

2001/03/13Network Computing Lab.23 QoS(Quality of Service)(3) Compounding the need for high reliability and availability is the dynamic nature of the Web, which internal and external customers rely on for up-to- date business, professional, and personal information.

2001/03/13Network Computing Lab.24 QoS(Quality of Service)(4) Unpredictable For example, in a large trade show company, 250,000 hits a week during normal weeks A million hits a day at the peak of its largest Fall show. Companies must measure traffic, performance, and usage patterns in order to monitor the quality of service of their Web sites. Management has to decide if additional capacity is needed to stay ahead of customer demands.