TCP/UDP 指導教授:吳坤熹 演講者:黃驛翔 Class : IP Telephony. Outline Introduction Linking to Application Layer Packetization and Reassembly –Protocol Data Units –TCP.

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
Advertisements

CISCO NETWORKING ACADEMY Chabot College ELEC Transport Layer (4)
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Intermediate TCP/IP TCP Operation.
Chapter 7: Transport Layer
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking Assist. Prof.
Lecture 7 Transport Layer
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Transport Layer.
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
Chapter 7 – Transport Layer Protocols
S305 – Network Infrastructure Chapter 5 Network and Transport Layers Part 2.
CCNA 1 v3.1 Module 11 Review.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Transport Layer.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
CS 356 Systems Security Spring Dr. Indrajit Ray
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.
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
Chapter 9.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
思科网络技术学院理事会. 1 OSI Transport Layer Network Fundamentals – Chapter 4.
13/09/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Transport layer and Application Layer Slide 1.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
1 Chapter Overview TCP/IP DoD model. 2 Network Layer Protocols Responsible for end-to-end communications on an internetwork Contrast with data-link layer.
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
TCP/IP: Basics1 User Datagram Protocol (UDP) Another protocol at transport layer is UDP. It is Connectionless protocol i.e. no need to establish & terminate.
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
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.
Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 04_a Transport Protocols - UDP Instructor: Dr. Li-Chuan Chen Date: 09/22/2003 Based in part upon slides.
University of the Western Cape Chapter 12: The Transport Layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
TCP/IP Transport and Application (Topic 6)
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 11 User Datagram Protocol (UDP)
11 TRANSPORT LAYER PROTOCOLS Chapter 6 TCP and UDP SPX and NCP.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Transport Layer COM211 Communications and Networks CDA College Theodoros Christophides
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
01_NF_Ch04 – OSI Transport Layer ( 傳輸層 ) Source: CCNA Exploration.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
Introduction Chapter 1. TCP/IP Reference Model Why Another Model? Although the OSI reference model is universally recognized, the historical and technical.
Process-to-Process Delivery:
Application Layer Functionality and Protocols Abdul Hadi Alaidi
Chapter 7: Transport Layer
UDP Socket Programming
Chapter 5 Network and Transport Layers
The Transport Layer Implementation Services Functions Protocols
Chapter 5 Network and Transport Layers
Network Fundamentals – Chapter 4
Process-to-Process Delivery:
CPEG514 Advanced Computer Networkst
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Transport Layer 9/22/2019.
Presentation transcript:

TCP/UDP 指導教授:吳坤熹 演講者:黃驛翔 Class : IP Telephony

Outline Introduction Linking to Application Layer Packetization and Reassembly –Protocol Data Units –TCP Header –UDP Header Establishing connection (virtual) –TCP technique –UDP technique

Outline (Con.) Service Primitives TCP vs. UDP References

Introduction Transport layer –Responsible for end-to-end delivery of messages –Responsible for segmentation and reassembly Two Protocols : –TCP (Transmission Control Protocol) –UDP (User Datagram Protocol)

Introduction Transport Layer Functions –Linking to Application Layer –Packetization and Reassembly –Establishing connection (virtual) Connect oriented Connectionless Quality of Service (QoS)

Linking to Application Layer TCP may serve several Application at the same time User identified by port number or service access point (SAP)

Packetization and Reassembly

Protocol Data Units (PDU) At each layer, protocols are used to communicate Control information is added to user data at each layer (PDU = Control + Data) Transport layer may fragment user data Each fragment has a transport header added –Destination SAP (port) –Sequence number –Error detection code

TCP Header

UDP Header

Establishing connection ─ TCP Connection-oriented –Establishment –Maintenance –Termination Reliability –Data confirm –Error correction Flow control

Connection-oriented - Establishment 3-Way Handshaking

Connection-oriented – Termination  Seq:X, ACK: Y. ACK..FIN  Seq:Y, ACK: X+1, ACK  Seq:Y, ACK: X+1, ACK..FIN  Seq:X+1, ACK: Y+1, ACK

Reliable – Data confirm

Reliable – Error correction

Flow control S liding Window

The usage of TCP ProtocolPort #Application UDP53DNS UDP67BOOTP server UDP68BOOTP client UDP520RIP TCP20FTP data TCP21FTP Control TCP23Telnet TCP25SMTP TCP80HTTP TCP119NNTP

Establishing connection ─ UDP Connection-less No acks (Unconfirmed Service) –high rate of transmission –But unreliable No flow control

Connection-less Sending packets individually without a virtual circuit Each packet is sent independently It will be routed separately, following different routes and arriving at different time

The consideration of using UDP Reduce the requirement of computer resources The checking scheme has provided completely by the application program When using the Multicast or Broadcast to transfer The transmission of Real-time packets

The usage of UDP Trivial File Transfer Protocol , TFTP Simple Network Management Protocol , SNMP Dynamic Host Configuration Protocol , DHCP Domain Name System , DNS Routing Information Protocol , RIP Real-Time Transport Protocol , RTP

Service Primitives Primitives specify function to be performed for the transport layer Four Primitive types Confirmed service : TCP Nonconfirmed service : UDP

Primitive Types REQUEST A primitive issued by a service user to invoke some service and to pass the parameters needed to specify fully the requested service INDICATION A primitive issued by a service provider either to: indicate that a procedure has been invoked by the peer service user on the connection and to provide the associated parameters, or notify the service user of a provider-initiated action RESPONSE A primitive issued by a service user to acknowledge or complete some procedure previously invoked by an indication to that user CONFIRM A primitive issued by a service provider to acknowledge or complete some procedure previously invoked by a request by the service user

Timing Sequence for Service Primitives

TCP vs. UDP TCP UDP connection-oriented connectionless confirmed service unconfirmed service (request, indication, (request, indication) response, confirm) high overhead low overhead (header 20 octets) (header 8 octets) flow control no flow control

References J. FitzGerald and A. Dennis, “Business Data Communications and Networking”, (9 th Ed. 2007), John Wiley & Sons Inc., U.S.A. J. F. Hurose and K. W. Ross, “computer Networking”, (4 th Ed. 2006), Peason Addison-Wesley Inc., U.S.A. 吳坤熹 教授, ”The PowerPoint of IP Telephony class”, 2008 陳彥錚 副教授, ” The PowerPoint of Computer Networking class, Ch2,Ch6”, 2008 William Stallings, Computer Networking with Internet Protocols and Technology, Prentice Hall, 2008