SIDE (IRT 3930) Põhipunktid. Loeng 11 Transpordiprotokollid Teema - infotransport. Teenuse (lingi) demultipleks. Infotransport kliendilt serverini

Similar documents
SIDE (IRT 3930) Infotransport Teema - sõnumid. Avo Ots. telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.

Andmeside IRT 0030 loeng sept. 2008

SIDE (IRT 3930) Põhipunktid. Loeng 12/2007 Meediavoo ülekanne Teema infotransport. Teenusetase (SLA) Hierarchical QoS. Telefoni vs datagrammi teenus

CS519: Computer Networks. Lecture 5, Part 1: Mar 3, 2004 Transport: UDP/TCP demux and flow control / sequencing

Interconnecting Networks with TCP/IP

The Transmission Control Protocol (TCP)

6. The Transport Layer and protocols

CSEN 503 Introduction to Communication Networks. Mervat AbuElkheir Hana Medhat Ayman Dayf. ** Slides are attributed to J. F.

TCP/IP THE TCP/IP ARCHITECTURE

TSIN02 - Internetworking

Transport layer Internet layer

CSCE 463/612 Networks and Distributed Processing Spring 2018

Transport Over IP. CSCI 690 Michael Hutt New York Institute of Technology

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

TSIN02 - Internetworking

TSIN02 - Internetworking

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

TSIN02 - Internetworking

Unix Network Programming

ECE 650 Systems Programming & Engineering. Spring 2018

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

QUIZ: Longest Matching Prefix

CS4700/CS5700 Fundamentals of Computer Networks

cs144 Midterm Review Fall 2010

Review of Important Networking Concepts

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link.

NT1210 Introduction to Networking. Unit 10

TCP/IP Networking. Part 4: Network and Transport Layer Protocols

Internetworking: philosophy, addressing, forwarding, resolution, fragmentation

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Transport Layer. Application / Transport Interface. Transport Layer Services. Transport Layer Connections

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

TRANSMISSION CONTROL PROTOCOL. ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016

Different Layers Lecture 20

CSCD 330 Network Programming

Application. Transport. Network. Link. Physical

Computer Communication Networks Midterm Review

Transport Protocols Reading: Sections 2.5, 5.1, and 5.2. Goals for Todayʼs Lecture. Role of Transport Layer

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

Transport Layer Protocols. Internet Transport Layer. Agenda. TCP Fundamentals

CS457 Transport Protocols. CS 457 Fall 2014

Transport Protocols Reading: Sections 2.5, 5.1, and 5.2

CS 4390 Computer Networks. Transport Services and Protocols

SIDE (IRT 3930) Kanal. Põhipunktid. Loeng 5/2007 Sidekanalite moodustumine Teema - kanalid. Vahekihid. Keerukus. Punkt-punkt ühendus.

Transport Layer. <protocol, local-addr,local-port,foreign-addr,foreign-port> ϒ Client uses ephemeral ports /10 Joseph Cordina 2005

Different Layers Lecture 21

Computer Networking Concept

Just enough TCP/IP. Protocol Overview. Connection Types in TCP/IP. Control Mechanisms. Borrowed from my ITS475/575 class the ITL

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

ICMP. Outline ICMP. ICMP oicmp is provided within IP which generates error. Internet Control Message Protocol. Ping Traceroute

CS 716: Introduction to communication networks th class; 7 th Oct Instructor: Sridhar Iyer IIT Bombay

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

9th Slide Set Computer Networks

CMPE 80N: Introduction to Networking and the Internet

TCP /IP Fundamentals Mr. Cantu

Chapter 6 Transport Layer

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

Transport: How Applications Communicate

Development of reliable protocol Sliding window protocols. C = channel capacity in bps I = interrupt/service time + propagation delay

CSC 401 Data and Computer Communications Networks

CS 455/555 Intro to Networks and Communications. Link Layer Addressing, Ethernet, and a Day in the Life of a Web Request

OSI and TCP/IP Models

Agenda L2 versus L3 Switching IP Protocol, IP Addressing IP Forwarding ARP and ICMP IP Routing First Hop Redundancy

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

EE 610 Part 2: Encapsulation and network utilities

CS419: Computer Networks. Lecture 10, Part 2: Apr 11, 2005 Transport: TCP mechanics (RFCs: 793, 1122, 1323, 2018, 2581)

Chapter 6. (Week 12) The Transport Layer (CONTINUATION) ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP

Operating Systems and. Computer Networks. Introduction to Computer Networks. Operating Systems and

ch02 True/False Indicate whether the statement is true or false.

Chapter 2 Network Models 2.1

Transport Layer. The transport layer is responsible for the delivery of a message from one process to another. RSManiaol

Network and Security: Introduction

Computer Network Programming. The Transport Layer. Dr. Sam Hsu Computer Science & Engineering Florida Atlantic University

Transport layer. UDP: User Datagram Protocol [RFC 768] Review principles: Instantiation in the Internet UDP TCP

Transport layer. Review principles: Instantiation in the Internet UDP TCP. Reliable data transfer Flow control Congestion control

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 18

The Transport Layer Multiplexing, Error Detection, & UDP

11. Transpordikiht. Side IRT3930 Ivo Müürsepp

Internet and Intranet Protocols and Applications

CS 356: Computer Network Architectures. Lecture 17: End-to-end Protocols and Lab 3 Chapter 5.1, 5.2. Xiaowei Yang

Design Considerations : Computer Networking. Outline. Challenge 1: Address Formats. Challenge. How to determine split of functionality

Lecture 3 Protocol Stacks and Layering

Suprakash Datta. Office: CSEB 3043 Phone: ext Course page:

ECE4110 Internetwork Programming. Introduction and Overview

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

TCP: Transmission Control Protocol RFC 793,1122,1223. Prof. Lin Weiguo Copyleft 2009~2017, School of Computing, CUC

Kommunikatsiooniteenuste arendus

Single Network: applications, client and server hosts, switches, access links, trunk links, frames, path. Review of TCP/IP Internetworking

ICS 351: Networking Protocols

Lecture 20 Overview. Last Lecture. This Lecture. Next Lecture. Transport Control Protocol (1) Transport Control Protocol (2) Source: chapters 23, 24

CSCD 330 Network Programming

network security s642 computer security adam everspaugh

Link Layer and Ethernet

The Transport Layer. Part 1

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

The Transport Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax.

Link Layer and Ethernet

Transcription:

SIDE (IRT 3930) Loeng 11 Transpordiprotokollid Teema - infotransport Klient- mudel Teenuste jaotus Infotransport klient- seoses Töökindel infoülekanne võrgukihi kaudu ja transpordiprotokollid Põhipunktid Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst. Infotransport avo.ots@ttu.ee 301 Infotransport 302 Infotransport kliendilt ini Client Application level / Server Application level / ICMP Teenuse (lingi) demultipleks Application Transport Network Application Application Application Application IGMP ARP RARP Link Driver incoming frame Infotransport 303 Infotransport 304 Demultiplexing Details 1024-5000 FTP telnet 21 23 src port dest port header 17 ICMP 1 6 IGMP 2 hdr dest header protocol type cksum addr ARP Others x0806 RARP x8035 Novell x0800 AppleTalk echo 7 discard 9 data source addr dest source addr addr frame type data CRC ( frame types in hex, others in decimal) Infotransport 305 data Rakendusteenuste tarve Rakendusteenused Application Services (e-mail, WWW, Telnet, FTP,...) Edastusohje protokoll Kasutajadatagrammi protokoll Reliable Stream Transport () Unreliable Transport Service () Ühenduseta paketi edastuse teenus (interneti protokoll) Connectionless Packet Delivery Service () Infotransport 306 1

4 RFC 793, RFC 768 Infotransport Pordid aadress identifitseerib hosti Hostiga on seotud mitmeid rakendusi Port (16-bitiline identifikaator) määratleb rakenduse Application WWW E-mail Telnet Port 80 25 23 - Transmission Control Protocol - User gram Protocol HTTP - Hypertext Transfer Protocol Infotransport 307 192.18.22.13 Infotransport 308 Erinevad vaated Baidi transport / vahendusel / tagab baidivoo ülekande Rakendus Rakendus byte stream / Mõningad baidid edastamiseks, mis nende sisu ei tea... byte stream / Kohaletoimetatud rakenduse tarbeks Rakendusprotokollid määratlevad voo sisu Infotransport 309 Infotransport 310 Transpordiprotokollid Protokollid Parim võimalik (Best-effort) sama tüüpi teenus, mida kasutab User gram Protocol () Kontrollsumma Best-effort Transmission Control Protocol () Kontrollsumma Töökindel baidivoo kohaletoimetamine Voo ja ummistuste haldus Kasutaja A e-mail klient / driver/kaart Kommunikatsioonikeskkond SMTP / IEEE 802.3 standard Kasutaja B e-mail / driver/kaart Infotransport 311 (elektrilised) signaalid Infotransport 312 2

App. Transport Network Port 1 protokoll Port 2 Port 1 Port 2 Eristus pordi numbri järgi Eristus protokolli järgi Ühenduse ID: Source: (address, port) ja Destination: (address, port) Active open: application requests OS to connect to an (host, port) Passive open: application contacts OS & indicates will accept incoming connection, OS assigns port and listens Infotransport 313 Sokkel (socket) Määratletakse protokolli, aadresside ja pordi järgi Rakendus võib olla seotud mitme sokliga Sokli kaudu võib pääseda mitme rakenduseni Rakendused soklid Soklid soklid seotuna pordid 1 2... 65535 portidega 1 2... 65535 pordid Rakendused Viited Infotransport 314 Transpordiprotokoll Hi there Hey there, I am ready for data Sending Handshaking Reliable data transfer Flow Control Congestion Control Encapsulation gram Segment Päis Päis 20 Bytes 20 Bytes Connection-oriented I got it. Ready for more! Ühendusorienteeritud Baidivoog Veakindel, kordusteta infoülekanne Infotransport 315 Infotransport 316 päis (RFC 793) 8 8 8 8 SP DP Järjenumber (Seq No) Kinnitus (Ack. No). CRC Window Urgent... Infotransport 317 infovahetuse kulg Connection Request Request and Payload + header + header + header + Payload ühenduse loomine + header Andmeülekanne A N D M E Ü L E K A N N E Termination Request + header Request + header ühenduse Termination Request + header katkestamine Connection Terminated + header Infotransport 318 3

Kient- mudel Päring saadetakse teadaolevasse porti klient Vastus saadetakse kliendi porti klient Infotransport 319 Järjenumber Baidivoos on igal baidil järjenumber (Sequence Number) 32-bitine loendur Alustatakse uuesti (Wraps around) Algväärtus valitakse alustamisel jagab baidivoo pakettideks ehk segmentideks Paketi pikkus on piiratud MTU Maximum Segment Size Välditakse edasist paketi fragmenteerimist Igal segmandil on järjenumber. Järjenumber näitab segmendi asukohta baidivoos 13450 14950 16050 17550 segment 8 segment 9 segment 10 Infotransport 320 Aeg Stop&Wait ei saada järgmist paketti, kui ta pole kindel, et vastuvõtja sai kätte eelmise paketi. Paketi ja kättesaamise kinnituse () järgnevus võimaldab töökindluse Järjenumbrid võimaldavad vältida topelt pakettide saamise Probleem on edastuse pidev kestmine (keeping the pipe full) Näide: 2 Mbps kanal * 45 ms RTT = 90 kb (11 kb) 1 kb kasutab kanalist 1/11 osa (~10%) Aeg Libisev aken (Sliding Window) Saadetakse mitu paketti enne, kui oodatakse kättesaamise kinnitust () Kinnituseta saadetavate pakettide maksimaalne arv aken - window Infotransport 321 Infotransport 322 Time Kinnitused ja timeout (a) (c) No Handshaking! No Reliable data transfer No Flow Control No Congestion Control Connectionless Infotransport (b) (d) 323 Infotransport 324 4

(User gramm protocol) SP DP Len. CRC Tagasivaade Ressursi jagamine 1974: cycles, storage, bandwidth expensive, people cheap 2002: resources cheap, people expensive 1974: Share computer resources 2002: Communicate with people, access documents, buy, sell 1974 - no separation between transport () and network () layers (/) 2002 - separate transport (, ) and network () layer Infotransport 325 Infotransport 326 Põhineb pakettvõrgul Ühine ja üldine esitusviis on ühendav lüli Hourglass architecture all hosts and routers run Interneti arhitektuur Infotransport 327 Satellite ATM Kokkuhoidlik lähenemine Rumal võrk provide minimal functionalities to support connectivity addressing, forwarding, routing Tark lõpp-punkt transport layer or app does more sophisticated functionalities flow control, error control, congestion control Eelised accommodate heterogeneous technologies support diverse applications (telnet, ftp, Web, X windows) decentralized network administration Puudused poor realtime performance poor accountability Infotransport 328 Ülekandetempo valik Lõpulingid (11) Tagatud Praegune Suurim http://www.ietf.org/rfc/rfc0793.txt?number=793 http://www.cisco.com/warp/public/535/4.html http://www.cheswick.com/ches/talks/uomm.pdf http://www.williamstallings.com http://vig.prenhall.com/catalog/academic/product /0,1144,0132433109,00.html http://www.iana.org/assignments/port-numbers Garanteeritud edastus Edasta, kui võimalik Kõik liigsed jäta kõrvale Infotransport 329 Infotransport 330 5