Computer Networks. Chapter 1 - Fundamentals. CEN 5501C - Computer Networks - Spring UF/CISE - Newman 1

Size: px
Start display at page:

Download "Computer Networks. Chapter 1 - Fundamentals. CEN 5501C - Computer Networks - Spring UF/CISE - Newman 1"

Transcription

1 Computer Networks Chapter 1 - Fundamentals CEN 5501C - Computer Networks - Spring UF/CISE - Newman 1

2 Computer Networks Need to share Information Resources Communication vs. Storage Transmission across: Space (communication) Time (storage) CEN 5501C - Computer Networks - Spring UF/CISE - Newman 2

3 Virtuality Architecture Layered Hierarchical Algorithms Information hiding, ADTs, objects Protocols Distributed coordination algorithms Programs Modularity CEN 5501C - Computer Networks - Spring UF/CISE - Newman 3

4 Layered vs. Hierarchical Both Peer-to-peer communication Encapsulation Protocol = common language/behaviors Layered Layer i serves layer i+1 ONLY Layer i gets service from layer i-1 ONLY Hierarchical Lower layers serve higher layers CEN 5501C - Computer Networks - Spring UF/CISE - Newman 4

5 Layered vs. Hierarchical Issues Flexibility Efficiency Modularity Maintainability Scalability/manageability Future adaptability CEN 5501C - Computer Networks - Spring UF/CISE - Newman 5

6 Comparative Architectures 7 - Application 6 - Presentation 5 - Session 4 - Transport 3 - Network 2 Data Link Application Functional Management Data Services Data Flow Control Transmission Ctl Path Control Data Link Control User Network Application Network Services Protocol Transport DDCMP 1 - Physical Physical 1 - Physical ISO - OSI IBM - SNA DEC - DECnet CEN 5501C - Computer Networks - Spring UF/CISE - Newman 6

7 OSI Reference Architecture Physical (L1 = PHY) Data Link (L2 = MAC/Link) Network (L3) Transport (L4) Session (L5) Presentation (L6) Application (L7) CEN 5501C - Computer Networks - Spring UF/CISE - Newman 7

8 PHY Layer Hardware Physical manipulation of medium (modulation) Physical sensing of medium (detection) Low level synchronization (bits/symbols/frames) Forward error correction/error detection Mechanical/electrical interconnect and medium CEN 5501C - Computer Networks - Spring UF/CISE - Newman 8

9 Link Layer Firmware Framing Addressing Medium access control (MAC) Backward error detection/correction Reliable delivery of frames from one STA to a directly connected STA Pacing Upward multiplexing CEN 5501C - Computer Networks - Spring UF/CISE - Newman 9

10 Network Layer Software/firmware Packets/cells Routing Packet fragmentation/reassembly Backward error correction Delivery of frames from source to an indirectly connected destination Congestion control CEN 5501C - Computer Networks - Spring UF/CISE - Newman 10

11 Transport Layer Software on end host: End-to-end layer Reliable communication stream Messages Byte stream Ordering BEC Upward Multiplexing Delivery of messages/byte stream from source process to destination process Congestion control CEN 5501C - Computer Networks - Spring UF/CISE - Newman 11

12 Session Layer Software on end host: end-to-end layer Stream management Dialog control Packet chaining (atomic delivery) Downward Multiplexing Authentication Connection-oriented CEN 5501C - Computer Networks - Spring UF/CISE - Newman 12

13 Presentation Layer Software on end host Common utilities Encryption Compression Uniform formatting (XML, ASN.1, ) Standardized representations Interfacing to local resources CEN 5501C - Computer Networks - Spring UF/CISE - Newman 13

14 Application Layer Software on end host Specific application programs FTP Remote terminal (rlogin, telnet, ssh, ) HTTP May also be layered in distributed software system CEN 5501C - Computer Networks - Spring UF/CISE - Newman 14

15 Encapsulation Receive SDU from higher layer Hide uninterpreted SDU as payload of PDU source destination Hl Ht HnHt HnHt M M M M application transport network link physical application transport network link physical Hl Ht HnHt HnHt M M M M message segment datagram frame (thanks Kurose & Ross) CEN 5501C - Computer Networks - Spring UF/CISE - Newman 15

16 End-to-end Data Transport (thanks Kurose & Ross) CEN 5501C - Computer Networks - Spring UF/CISE - Newman 16

17 Service Models Interface Connectionless Connection-oriented Reliability Best effort Reliable Combinations CEN 5501C - Computer Networks - Spring UF/CISE - Newman 17

18 Service Interface Interface Connectionless: memoryless Send packet Receive packet Connection-oriented: stateful Initialize (set up connection) Use (send/receive) Close (release state) CEN 5501C - Computer Networks - Spring UF/CISE - Newman 18

19 Service Reliability Reliability Best effort Lost packets Duplicate packets Delayed/reordered delivery Damaged packets Reliable Undamaged packets All packets sent delivered in timely fashion Delivered in order sent CEN 5501C - Computer Networks - Spring UF/CISE - Newman 19

20 Message Conventions Request/Confirm Indication/Response 1-REQ 8 - CNF 5 - RSP 4 - IND 2,3 6,7 2 - Tx 7 - Rx 6 - Tx 3 - Rx CEN 5501C - Computer Networks - Spring UF/CISE - Newman 20

21 Combining Service Models Best Effort Reliable Connectionless UDP, IP, IPX, CLNP, DECnet, Appletalk, CLNS,??? Connection-Oriented ATM TCP, X.25, CONS CEN 5501C - Computer Networks - Spring UF/CISE - Newman 21

22 Network Service vs. Implementation Implementation Service Connectionless Connection-Oriented Connectionless UDP, CLNS??? Connection-Oriented TCP, DNA X.25, ATM, CONS, SNA CEN 5501C - Computer Networks - Spring UF/CISE - Newman 22

23 Network Properties Scope Scalability Robustness Autoconfigurability Tweakability Determinism Migration CEN 5501C - Computer Networks - Spring UF/CISE - Newman 23

24 Network Properties - Robustness Types of Errors Link/node failure Data errors (esp. undetected!) S/W errors H/W errors Human Errors Features CEN 5501C - Computer Networks - Spring UF/CISE - Newman 24

25 Network Properties - Robustness Types of Errors Features Safety Barriers Self-stabilization Fault detection Byzantine robustness CEN 5501C - Computer Networks - Spring UF/CISE - Newman 25

26 Reliable Data Transfer Models Errors Receiver capacity Requirements Duplexity Timers State CEN 5501C - Computer Networks - Spring UF/CISE - Newman 26

27 Data Transfer Model Events What can happen at node, channel Frames What do they hold Duplexity Simplex, half duplex, full duplex Time costs What does it take to complete transfer Metrics How do we measure the costs CEN 5501C - Computer Networks - Spring UF/CISE - Newman 27

28 Data Transfer - Events Node New frame to send from HLE Frame/ACK arrival good frame Frame/ACK arrival damaged frame Timeout Attempt to receive next frame by HLE Channel Error damage frame Error lose frame CEN 5501C - Computer Networks - Spring UF/CISE - Newman 28

29 Data Transfer - Frames Forward Control Info Type Sequence number Timestamp Length Addressing Error Detection (FCS) Reverse Control Info ACKs Flow control/pacing Piggybacking Information payload Dst Src Type SN TS Len Payload FCS CEN 5501C - Computer Networks - Spring UF/CISE - Newman 29

30 Channel Model - Duplexity A B A B A B Simplex Half Duplex Full Duplex Simplex only one way Half duplex one way at a time Full duplex simultaneously both ways CEN 5501C - Computer Networks - Spring UF/CISE - Newman 30

31 Processing Data Transfer - Delays Source Destination Transmission Time to put bits on wire Propagation Time for bit to traverse channel Src Dest Tx REQ Src Proc Transmission Propagation Propagation Tx CNF Data frame Dest Proc ACK frame ACK Tx Rx REQ Src Proc Rx CNF CEN 5501C - Computer Networks - Spring UF/CISE - Newman 31

32 Data Transfer - Metrics Utilization Time sending info/total time Storage requirements At source At destination Channel type duplexity Timers Retransmission ACK transmission CEN 5501C - Computer Networks - Spring UF/CISE - Newman 32

33 Reliable Data Xfer - Utopia Infinitely fast receiver Simplex channel No errors 100% utilization by protocol Src Dest CEN 5501C - Computer Networks - Spring UF/CISE - Newman 33

34 Stop&Wait Data Xfer - Pacing Finitely fast receiver Half duplex channel No errors <100% utilization by protocol U Protocol = T Tx /T cycle Data time Src OK Dest T Tx = L (bits)/r (bps) T cycle = T Tx +T prop +T proc + T prop +T proc Cycle time OK CEN 5501C - Computer Networks - Spring UF/CISE - Newman 34

35 Reliable Data Xfer PAR (Positive ACK and Retransmit) Finitely fast receiver Full duplex channel Channel errors Utilization factor due to errors - Src ACK X Dest U errors = T good / T good + T bad U = U protocol x U errors * ACK CEN 5501C - Computer Networks - Spring UF/CISE - Newman 35 -

36 Reliable Data Xfer PAR Src need for sequence numbers Dest Src Dest First Frame Frame 1 - ACK - ACK Second Frame X Frame 2 * Missing ACK Second Frame - duplicate * X Missing ACK Frame 2 - duplicate - ACK - ACK CEN 5501C - Computer Networks - Spring UF/CISE - Newman 36

37 Reliable Data Xfer 1-bit ARQ Src Dest Src Dest Frame 0 Frame 0 - ACK 1 accept - ACK 1 accept * Frame 1 Missing ACK Frame 1 X * Frame 1 ACK 0 X Missing ACK Frame 1 accept - ACK 0 accept - ACK 0 discard duplicate CEN 5501C - Computer Networks - Spring UF/CISE - Newman 37

38 Protocol Utilization 1-bit ARQ Protocol util. Src Dest U proto = T/(T+2τ) T = Tx time = D/R D = size (bits/frame) T τ τ ACK 1 Frame 0 Cycle Time R = data rate (bps) τ = propagation delay Frame 1 U proto = 1/(1+2α) ACK 0 α = τ /T = τ /(D/R) CEN 5501C - Computer Networks - Spring UF/CISE - Newman 38

39 Protocol Utilization 1-bit ARQ 1-bit ARQ Efficiency Efficiency Normalized delay CEN 5501C - Computer Networks - Spring UF/CISE - Newman 39

40 Reliable Data Xfer GBN ARQ Multiple sequence # s Channel errors Discard out of order frames on Rx Resend all frames from missing on * forward Rx buffer size of 1 - Tx buffer size of N Src ACK 1 ACK 2 ACK 3 ACK 3 ACK 3 Dest CEN 5501C - Computer Networks - Spring UF/CISE - Newman 40 D 0 D 1 D 2 D 4 D 5 D 3 (resent) D 4 D 5 ACK 4 ACK 5 ACK 6 Accept D0 Accept D1 Accept D2 Missing D3 Discard D4 Discard D5 Accept D3 Accept D4 Accept D5

41 Reliable Data Xfer SR ARQ Src Dest Multiple sequence # s Channel errors Buffer out of order frames on Rx Resend only missing * frame Rx buffer size of N - Tx buffer size of k ACK 1 ACK 2 ACK 3 ACK 3 ACK 3 ACK 6 ACK 7 ACK 8 Accept D0 Accept D1 Accept D2 Missing D3 CEN 5501C - Computer Networks - Spring UF/CISE - Newman 41 D 0 D 1 D 2 D 4 D 5 D 3 (resent) D 6 D 7 Buffer D4 Buffer D5 Accept D3 Accept D6 Accept D7

42 Protocol Utilization ARQ Protocol util. depends on k U proto = kt/(t+2τ) T = Tx time = D/R τ τ = propagation delay U proto = min(1,k/(1+2α)) α = τ /T = τ /(D/R) Utilization factor due to errors different for GBN and SR kt data Src T Dest τ T cycle CEN 5501C - Computer Networks - Spring UF/CISE - Newman 42

43 Protocol Utilization ARQ ARQ Protocol Efficiency efficiency k=1 k=2 k=3 k=5 k=9 k= a = normalized delay CEN 5501C - Computer Networks - Spring UF/CISE - Newman 43

44 Error Utilization Factor SR-ARQ Only resend missing frames U err,sr = 1-p p = frame error prob GBN-ARQ Send all frames after missing frame U err,gbn =(1-p)/(1+2αp) when k>1+2α U err,gbn =(1-p)/(1-p+kp) when k<1+2α Depends on k CEN 5501C - Computer Networks - Spring UF/CISE - Newman 44

45 Error Utilization Factor Efficiency Loss due to Errors (large a) 1.2 Efficiency GBN k=1 GBN k=2 GBN k=4 GBN k=8 GBN k=16 GBN k= Frame Error Rate p CEN 5501C - Computer Networks - Spring UF/CISE - Newman 45

46 Overall ARQ Utilization SR-ARQ U SR = min{(1-p),k(1-p)/(1+2α)} GBN-ARQ U GBN = (1-p)/(1+2αp) when k>1+2α U GBN = k(1-p)/(1+2α)(1-p+kp) when k<1+2α CEN 5501C - Computer Networks - Spring UF/CISE - Newman 46

47 Overall Utilization ARQ Efficiency, p= Efficiency Normalized delay (a) both k=1 GBN k=9 GBN k=65 GBN k=129 SR k=9 SR k=65 SR k=129 CEN 5501C - Computer Networks - Spring UF/CISE - Newman 47

48 Sequence Numbers Sequence numbers are finite (usually) Assume n bits 2 n -1 Hence, they wrap around i.e., 0 follows 2 n -1 Need to use circular < relation i.e., 0 > 2 n -1 2 n n n-1-1 Need to limit range usable by sender and acceptable to receiver (SW and RW) SW + RW <= 2 n CEN 5501C - Computer Networks - Spring UF/CISE - Newman 48

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications Data and Computer Communications Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based s 1 Need For Protocol Architecture data exchange can involve complex procedures better if task broken into subtasks

More information

Routing and Switching Principles. Lecture#01

Routing and Switching Principles. Lecture#01 Routing and Switching Principles Lecture#01 zeshan.iqbal@uettaxila.edu.pk Text Book Companion website http://web.uettaxila.edu.pk/cms/aut2010/terspbs/index.asp Course Contents Understand the function of

More information

Internetworking Models The OSI Reference Model

Internetworking Models The OSI Reference Model Internetworking Models When networks first came into being, computers could typically communicate only with computers from the same manufacturer. In the late 1970s, the Open Systems Interconnection (OSI)

More information

Peer-to-Peer Protocols and Data Link Layer. Chapter 5 from Communication Networks Leon-Gracia and Widjaja

Peer-to-Peer Protocols and Data Link Layer. Chapter 5 from Communication Networks Leon-Gracia and Widjaja Peer-to-Peer Protocols and Data Link Layer Chapter 5 from Communication Networks Leon-Gracia and Widjaja Peer-to-Peer Protocols At each layer two (or more) entities execute These are peer processes For

More information

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

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet Chapter 2 - Part 1 The TCP/IP Protocol: The Language of the Internet Protocols A protocol is a language or set of rules that two or more computers use to communicate 2 Protocol Analogy: Phone Call Parties

More information

Flow control: Ensuring the source sending frames does not overflow the receiver

Flow control: Ensuring the source sending frames does not overflow the receiver Layer 2 Technologies Layer 2: final level of encapsulation of data before transmission over a physical link responsible for reliable transfer of frames between hosts, hop by hop, i.e. on a per link basis

More information

Chapter 2 Network Models 2.1

Chapter 2 Network Models 2.1 Chapter 2 Network Models 2.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Network Models n Network Architecture: n A) Hardware: at the core of any network;

More information

ES623 Networked Embedded Systems

ES623 Networked Embedded Systems ES623 Networked Embedded Systems Introduction to Network models & Data Communication 16 th April 2013 OSI Models An ISO standard that covers all aspects of network communication is the Open Systems Interconnection

More information

ECE697AA Lecture 3. Today s lecture

ECE697AA Lecture 3. Today s lecture ECE697AA Lecture 3 Transport Layer: TCP and UDP Tilman Wolf Department of Electrical and Computer Engineering 09/09/08 Today s lecture Transport layer User datagram protocol (UDP) Reliable data transfer

More information

Peer entities. Protocol Layering. Protocols. Example

Peer entities. Protocol Layering. Protocols. Example Peer entities Protocol Layering An Engineering Approach to Computer Networking Customer A and B are peers Postal worker A and B are peers Protocols A protocol is a set of rules and formats that govern

More information

Data Link Control Protocols

Data Link Control Protocols Protocols : Introduction to Data Communications Sirindhorn International Institute of Technology Thammasat University Prepared by Steven Gordon on 23 May 2012 Y12S1L07, Steve/Courses/2012/s1/its323/lectures/datalink.tex,

More information

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6 Announcements No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6 Copyright c 2002 2017 UMaine Computer Science Department 1 / 33 1 COS 140: Foundations

More information

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6 Announcements No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6 Copyright c 2002 2017 UMaine School of Computing and Information S 1 / 33 COS 140:

More information

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Network Models The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding and developing computer-to-computer communication

More information

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

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1 OSI Transport Layer Network Fundamentals Chapter 4 Version 4.0 1 Transport Layer Role and Services Transport layer is responsible for overall end-to-end transfer of application data 2 Transport Layer Role

More information

Introduction and Layered Network Architecture. EEE 538 Dr. Nail Akar Bilkent University Electrical and Electronics Engineering Department

Introduction and Layered Network Architecture. EEE 538 Dr. Nail Akar Bilkent University Electrical and Electronics Engineering Department Introduction and Layered Network Architecture EEE 538 Dr. Nail Akar Bilkent University Electrical and Electronics Engineering Department 1 Fundamental Aspects of Network Analysis Architecture Layering

More information

Computer Networking. Introduction. Quintin jean-noël Grenoble university

Computer Networking. Introduction. Quintin jean-noël Grenoble university Computer Networking Introduction Quintin jean-noël Jean-noel.quintin@imag.fr Grenoble university Based on the presentation of Duda http://duda.imag.fr 1 Course organization Introduction Network and architecture

More information

NT1210 Introduction to Networking. Unit 10

NT1210 Introduction to Networking. Unit 10 NT1210 Introduction to Networking Unit 10 Chapter 10, TCP/IP Transport Objectives Identify the major needs and stakeholders for computer networks and network applications. Compare and contrast the OSI

More information

Chapter 2 Network Models 2.1

Chapter 2 Network Models 2.1 Chapter 2 Network Models 2.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 2-1 LAYERED TASKS We use the concept of layers in our daily life. As an example,

More information

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan Chapter3: OSI Reference Model: Network Software: Network

More information

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski Operating Systems 16. Networking Paul Krzyzanowski Rutgers University Spring 2015 1 Local Area Network (LAN) LAN = communications network Small area (building, set of buildings) Same, sometimes shared,

More information

EEC-484/584 Computer Networks

EEC-484/584 Computer Networks EEC-484/584 Computer Networks Lecture 2 Wenbing Zhao wenbing@ieee.org (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Misc. Interested in research? Secure

More information

The Client Server Model and Software Design

The Client Server Model and Software Design The Client Server Model and Software Design Prof. Chuan-Ming Liu Computer Science and Information Engineering National Taipei University of Technology Taipei, TAIWAN MCSE Lab, NTUT, TAIWAN 1 Introduction

More information

The Transmission Control Protocol (TCP)

The Transmission Control Protocol (TCP) The Transmission Control Protocol (TCP) Application Services (Telnet, FTP, e-mail, WWW) Reliable Stream Transport (TCP) Unreliable Transport Service (UDP) Connectionless Packet Delivery Service (IP) Goals

More information

UNIT IV -- TRANSPORT LAYER

UNIT IV -- TRANSPORT LAYER UNIT IV -- TRANSPORT LAYER TABLE OF CONTENTS 4.1. Transport layer. 02 4.2. Reliable delivery service. 03 4.3. Congestion control. 05 4.4. Connection establishment.. 07 4.5. Flow control 09 4.6. Transmission

More information

Department of Computer and IT Engineering University of Kurdistan. Data Communication Netwotks (Graduate level) Data Link Layer

Department of Computer and IT Engineering University of Kurdistan. Data Communication Netwotks (Graduate level) Data Link Layer Department of Computer and IT Engineering University of Kurdistan Data Communication Netwotks (Graduate level) Data Link Layer By: Dr. Alireza Abdollahpouri Data Link Layer 2 Data Link Layer Application

More information

TCP/IP-2. Transmission control protocol:

TCP/IP-2. Transmission control protocol: TCP/IP-2 Transmission control protocol: TCP and IP are the workhorses in the Internet. In this section we first discuss how TCP provides reliable, connectionoriented stream service over IP. To do so, TCP

More information

Computer Networks Principles

Computer Networks Principles Computer Networks Principles Introduction Prof. Andrzej Duda duda@imag.fr http://duda.imag.fr 1 Contents Introduction protocols and layered architecture encapsulation interconnection structures performance

More information

OSI Transport Layer. objectives

OSI Transport Layer. objectives LECTURE 5 OSI Transport Layer objectives 1. Roles of the Transport Layer 1. segmentation of data 2. error detection 3. Multiplexing of upper layer application using port numbers 2. The TCP protocol Communicating

More information

CSCD 330 Network Programming

CSCD 330 Network Programming CSCD 330 Network Programming Lecture 10 Transport Layer Continued Spring 2018 Reading: Chapter 3 Some Material in these slides from J.F Kurose and K.W. Ross All material copyright 1996-2007 1 Last Time.

More information

CSCD 330 Network Programming

CSCD 330 Network Programming CSCD 330 Network Programming Lecture 9 Transport Layer Spring 2018 Reading: Begin Chapter 3 Some Material in these slides from J.F Kurose and K.W. Ross All material copyright 1996-2007 1 Outline Overview

More information

PROGRAMMING Kyriacou E. Frederick University Cyprus. Network communication examples

PROGRAMMING Kyriacou E. Frederick University Cyprus. Network communication examples ACSC424 NETWORK APPLICATION PROGRAMMING Kyriacou E. Frederick University Cyprus communication examples The OSI reference model (proposed by ISO) Application A Application B 2 Application Application Presentation

More information

I. INTRODUCTION. each station (i.e., computer, telephone, etc.) directly connected to all other stations

I. INTRODUCTION. each station (i.e., computer, telephone, etc.) directly connected to all other stations I. INTRODUCTION (a) Network Topologies (i) point-to-point communication each station (i.e., computer, telephone, etc.) directly connected to all other stations (ii) switched networks (1) circuit switched

More information

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Transport Layer. Gursharan Singh Tatla.   Upendra Sharma. 1 Transport Layer Gursharan Singh Tatla mailme@gursharansingh.in Upendra Sharma 1 Introduction The transport layer is the fourth layer from the bottom in the OSI reference model. It is responsible for message

More information

ET4254 Communications and Networking 1

ET4254 Communications and Networking 1 Topic 9 Internet Protocols Aims:- basic protocol functions internetworking principles connectionless internetworking IP IPv6 IPSec 1 Protocol Functions have a small set of functions that form basis of

More information

Outline. Connecting to the access network: DHCP and mobile IP, LTE. Transport layer: UDP and TCP

Outline. Connecting to the access network: DHCP and mobile IP, LTE. Transport layer: UDP and TCP Outline Connecting to the access network: DHCP and mobile IP, LTE Transport layer: UDP and TCP IETF TCP/IP protocol suite User application, e.g., http with Mozilla Communication for each process on computer

More information

Protocol Architecture (2) Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science

Protocol Architecture (2) Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science Protocol Architecture (2) Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science History of computer network protocol development in 20 th century. Development of hierarchical

More information

TDTS06: Computer Networks

TDTS06: Computer Networks TDTS06: Computer Networks Instructor: Niklas Carlsson Email: niklas.carlsson@liu.se Notes derived from Computer Networking: A Top Down Approach, by Jim Kurose and Keith Ross, Addison-Wesley. The slides

More information

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP CS 5520/ECE 5590NA: Network Architecture I Spring 2008 Lecture 13: UDP and TCP Most recent lectures discussed mechanisms to make better use of the IP address space, Internet control messages, and layering

More information

Network Model: Each layer has a specific function.

Network Model: Each layer has a specific function. OBJECTIVES: To discuss the OSI model and its layer architecture and to show the interface between the layers. To briefly discuss the functions of each layer in the OSI model. To introduce the TCP/IP protocol.

More information

Comparison of ISO-OSI and TCP/IP Suit. Functions of Data Link Layer:

Comparison of ISO-OSI and TCP/IP Suit. Functions of Data Link Layer: Comparison of ISO-OSI and TCP/IP Suit Functions of Data Link Layer: 1. Frame generation ( Character Count, Character Stuffing, Bit Stuffing) 2. Error Processing (Parity(EVEN or ODD), Block Parity, Hamming

More information

Chapter 12 Network Protocols

Chapter 12 Network Protocols Chapter 12 Network Protocols 1 Outline Protocol: Set of defined rules to allow communication between entities Open Systems Interconnection (OSI) Transmission Control Protocol/Internetworking Protocol (TCP/IP)

More information

L6: OSI Reference Model

L6: OSI Reference Model EECS 3213 Fall 2014 L6: OSI Reference Model Sebastian Magierowski York University 1 Outline The OSI Reference Model An organized way of thinking about network design (from low-level to high-level considerations)

More information

System Programming. Introduction to computer networks

System Programming. Introduction to computer networks Content : by Dr. B. Boufama School of Computer Science University of Windsor Instructor: Dr. A. Habed adlane@cs.uwindsor.ca http://cs.uwindsor.ca/ adlane/60-256 Content Content 1 Introduction to Computer

More information

CS 4390 Computer Networks. Transport Services and Protocols

CS 4390 Computer Networks. Transport Services and Protocols CS 4390 Computer Networks UT D data Session 07 Transport Layer Overview and UDP Adapted from Computer Networking a Top-Down Approach 1996-2012 by J.F Kurose and K.W. Ross, All Rights Reserved Transport

More information

TSIN02 - Internetworking

TSIN02 - Internetworking Lecture 4: Transport Layer Literature: Forouzan: ch 11-12 2004 Image Coding Group, Linköpings Universitet Lecture 4: Outline Transport layer responsibilities UDP TCP 2 Transport layer in OSI model Figure

More information

Defining Networks with the OSI Model. Module 2

Defining Networks with the OSI Model. Module 2 Defining Networks with the OSI Model Module 2 Objectives Skills Concepts Objective Domain Description Objective Domain Number Understanding OSI Basics Defining the Communications Subnetwork Defining the

More information

Link Layer and Ethernet

Link Layer and Ethernet Link Layer and Ethernet 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross traceroute Data Link Layer Multiple

More information

TSIN02 - Internetworking

TSIN02 - Internetworking TSIN02 - Internetworking Literature: Lecture 4: Transport Layer Forouzan: ch 11-12 Transport layer responsibilities UDP TCP 2004 Image Coding Group, Linköpings Universitet 2 Transport layer in OSI model

More information

Problem 7. Problem 8. Problem 9

Problem 7. Problem 8. Problem 9 Problem 7 To best answer this question, consider why we needed sequence numbers in the first place. We saw that the sender needs sequence numbers so that the receiver can tell if a data packet is a duplicate

More information

Introduction to TCP/IP networking

Introduction to TCP/IP networking Introduction to TCP/IP networking TCP/IP protocol family IP : Internet Protocol UDP : User Datagram Protocol RTP, traceroute TCP : Transmission Control Protocol HTTP, FTP, ssh What is an internet? A set

More information

Network Reference Models

Network Reference Models Network Reference Models LECTURE (2) Network Reference Models A framework (guideline) for network implementation and troubleshooting. Divides complex functions into simpler components. Importance of reference

More information

10.1 REVIEW QUESTIONS

10.1 REVIEW QUESTIONS CHAPTER 10 Data Link Control 10.1 REVIEW QUESTIONS 1. Transmission means to put a signal on a line. Communication is a meaningful and orderly relationship between devices that send and receive data. 3.

More information

Intro to LAN/WAN. Transport Layer

Intro to LAN/WAN. Transport Layer Intro to LAN/WAN Transport Layer Transport Layer Topics Introduction (6.1) Elements of Transport Protocols (6.2) Internet Transport Protocols: TDP (6.5) Internet Transport Protocols: UDP (6.4) socket interface

More information

Data Link Technology. Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science

Data Link Technology. Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science Data Link Technology Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science Agenda Functions of the data link layer Technologies concept and design error control flow

More information

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst EITF25 Internet Techniques and Applications L7: Internet Stefan Höst What is Internet? Internet consists of a number of networks that exchange data according to traffic agreements. All networks in Internet

More information

CSCI-131 Networking: the End-to-End Layer. Rodrigo Fonseca March 12 th, 2013

CSCI-131 Networking: the End-to-End Layer. Rodrigo Fonseca March 12 th, 2013 CSCI-131 Networking: the End-to-End Layer Rodrigo Fonseca March 12 th, 2013 Today Transport layer Provides useful abstractions for applications Uses (the fairly minimal) services provided by the network

More information

TCP/IP THE TCP/IP ARCHITECTURE

TCP/IP THE TCP/IP ARCHITECTURE TCP/IP-1 The Internet Protocol (IP) enables communications across a vast and heterogeneous collection of networks that are based on different technologies. Any host computer that is connected to the Internet

More information

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

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level) Protocols precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level) all packets shipped from network to network as IP packets

More information

A Network of Interconnected Objects The TCP/IP stack

A Network of Interconnected Objects The TCP/IP stack Lecture 1 A Network of Interconnected Objects The TCP/IP stack Part of the material used for this slides has been obtained from: Computer Networking: A Top Down Approach, 4th edition. Jim Kurose, Keith

More information

Computer Communication Networks Midterm Review

Computer Communication Networks Midterm Review Computer Communication Networks Midterm Review ICEN/ICSI 416 Fall 2018 Prof. Aveek Dutta 1 Instructions The exam is closed book, notes, computers, phones. You can use calculator, but not one from your

More information

Chapter 5 Peer-to-Peer Protocols. School of Info. Sci. & Eng. Shandong Univ..

Chapter 5 Peer-to-Peer Protocols. School of Info. Sci. & Eng. Shandong Univ.. hapter 5 Peer-to-Peer Protocols School of Info. Sci. & Eng. Shandong Univ.. Outline 5. Peer-to-peer protocols and service models 5. RQ Protocols 5.3 Other daptation Functions Sliding Window Flow ontrol

More information

Data Link Control Protocols

Data Link Control Protocols Data Link Control Protocols need layer of logic above Physical to manage exchange of data over a link frame synchronization flow control error control addressing control and data link management Flow Control

More information

Networking and Internetworking 1

Networking and Internetworking 1 Networking and Internetworking 1 To do q q Networks and distributed systems Internet architecture xkcd Internet history Early days ~1960 ARPA sponsored research on computer networking to enable remote

More information

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START Page 1 of 20 MIDTERM EXAMINATION #1 - B COMPUTER NETWORKS : 03-60-367-01 U N I V E R S I T Y O F W I N D S O R S C H O O L O F C O M P U T E R S C I E N C E Fall 2008-75 minutes This examination document

More information

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START Page 1 of 20 MIDTERM EXAMINATION #1 - A COMPUTER NETWORKS : 03-60-367-01 U N I V E R S I T Y O F W I N D S O R S C H O O L O F C O M P U T E R S C I E N C E Fall 2008-75 minutes This examination document

More information

NWEN 243. Networked Applications. Layer 4 TCP and UDP

NWEN 243. Networked Applications. Layer 4 TCP and UDP NWEN 243 Networked Applications Layer 4 TCP and UDP 1 About the second lecturer Aaron Chen Office: AM405 Phone: 463 5114 Email: aaron.chen@ecs.vuw.ac.nz Transport layer and application layer protocols

More information

TSIN02 - Internetworking

TSIN02 - Internetworking Lecture 4: Transport Layer Literature: Forouzan: ch 11-12 2004 Image Coding Group, Linköpings Universitet Lecture 4: Outline Transport layer responsibilities UDP TCP 2 Transport layer in OSI model Figure

More information

Chapter 5 Peer-to-Peer Protocols and Data Link Layer

Chapter 5 Peer-to-Peer Protocols and Data Link Layer Chapter 5 Peer-to-Peer Protocols and Data Link Layer PRT I: Peer-to-Peer Protocols Peer-to-Peer Protocols and Service Models RQ Protocols and Reliable Data Transfer Flow Control Timing Recovery TCP Reliable

More information

Internet 최양희서울대학교컴퓨터공학부. MMlab 1

Internet 최양희서울대학교컴퓨터공학부. MMlab 1 Internet 최양희서울대학교컴퓨터공학부 MMlab 1 Internet Timeline 3000 BC : Abacus 1642 : Pascal : numerical wheel calculator 1822 : Babbage : difference engine 1945 : Eckert : ENIAC 1969 : first ARPANET connection UCLA,

More information

Chapter 09 Network Protocols

Chapter 09 Network Protocols Chapter 09 Network Protocols Copyright 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 1 Outline Protocol: Set of defined rules to allow communication between entities Open Systems

More information

Architectures of Communication Subsystems

Architectures of Communication Subsystems Architectures of Communication Subsystems Open System Interconnection Reference Model Computer Networks Lecture 2 http://goo.gl/pze5o8 Connection-Oriented versus Connectionless Communication 2 Connection-Oriented

More information

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 11, 2018

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 11, 2018 CMSC 417 Computer Networks Prof. Ashok K Agrawala 2018 Ashok Agrawala Message, Segment, Packet, and Frame host host HTTP HTTP message HTTP TCP TCP segment TCP router router IP IP packet IP IP packet IP

More information

Link Layer and Ethernet

Link Layer and Ethernet Link Layer and Ethernet 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross traceroute Data Link Layer Multiple

More information

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

CS 716: Introduction to communication networks th class; 7 th Oct Instructor: Sridhar Iyer IIT Bombay CS 716: Introduction to communication networks - 18 th class; 7 th Oct 2011 Instructor: Sridhar Iyer IIT Bombay Reliable Transport We have already designed a reliable communication protocol for an analogy

More information

CSCI-GA Operating Systems. Networking. Hubertus Franke

CSCI-GA Operating Systems. Networking. Hubertus Franke CSCI-GA.2250-001 Operating Systems Networking Hubertus Franke frankeh@cs.nyu.edu Source: Ganesh Sittampalam NYU TCP/IP protocol family IP : Internet Protocol UDP : User Datagram Protocol RTP, traceroute

More information

CSE 461 Module 10. Introduction to the Transport Layer

CSE 461 Module 10. Introduction to the Transport Layer CSE 461 Module 10 Introduction to the Transport Layer Last Time We finished up the Network layer Internetworks (IP) Routing (DV/RIP, LS/OSPF, BGP) It was all about routing: how to provide end-to-end delivery

More information

Outline. EEC-484/584 Computer Networks. Data Link Layer Design Issues. Framing. Lecture 6. Wenbing Zhao Review.

Outline. EEC-484/584 Computer Networks. Data Link Layer Design Issues. Framing. Lecture 6. Wenbing Zhao Review. EEC-484/584 Computer Networks Lecture 6 wenbing@ieee.org (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Outline Review Data Link Layer Design Issues Error

More information

Networks: Access Management

Networks: Access Management Networks: Access Management Class Notes # 3 Protocols and Layers (part 1) September 19, 2003 Functions A small set of functions form the basis of all protocols. Not all protocols have all functions; this

More information

TCP/IP. Chapter 5: Transport Layer TCP/IP Protocols

TCP/IP. Chapter 5: Transport Layer TCP/IP Protocols TCP/IP Chapter 5: Transport Layer TCP/IP Protocols 1 Objectives Understand the key features and functions of the User Datagram Protocol Explain the mechanisms that drive segmentation, reassembly, and retransmission

More information

Computer Communication Networks

Computer Communication Networks Contents ELL 785 Computer Communication Networks Introduction Lecture 1 Taxonomy of communication works Computer Communication Networks Building a work ed work architecture 1-1 Introduction PC server wireless

More information

CSCD 330 Network Programming

CSCD 330 Network Programming CSCD 330 Network Programming Lecture 9 Transport Layer Winter 2019 Reading: Begin Chapter 3 Some Material in these slides from J.F Kurose and K.W. Ross All material copyright 1996-2007 1 Outline Overview

More information

CPEG514 Advanced Computer Networks. Atef Abu Salim University of Nizwa Spring 2013/2014

CPEG514 Advanced Computer Networks. Atef Abu Salim University of Nizwa Spring 2013/2014 CPEG514 Advanced Computer Networks Atef Abu Salim University of Nizwa Spring 2013/2014 Today s Class Topics Course Syllabus Computer Networks LANs and WANs The Internet Protocols, Layers and Interfaces

More information

Internet Applications and the Application Layer Material from Kurose and Ross, Chapter 2: The Application Layer

Internet Applications and the Application Layer Material from Kurose and Ross, Chapter 2: The Application Layer Midterm Study Sheet Below is a list of topics that will be covered on the midterm exam. Some topics may have summaries to clarify the coverage of the topic during the lecture. Disclaimer: the list may

More information

Transport Layer Protocols TCP

Transport Layer Protocols TCP Transport Layer Protocols TCP Gail Hopkins Introduction Features of TCP Packet loss and retransmission Adaptive retransmission Flow control Three way handshake Congestion control 1 Common Networking Issues

More information

UDP, TCP, IP multicast

UDP, TCP, IP multicast UDP, TCP, IP multicast Dan Williams In this lecture UDP (user datagram protocol) Unreliable, packet-based TCP (transmission control protocol) Reliable, connection oriented, stream-based IP multicast Process-to-Process

More information

Network Protocols. Sarah Diesburg Operating Systems CS 3430

Network Protocols. Sarah Diesburg Operating Systems CS 3430 Network Protocols Sarah Diesburg Operating Systems CS 3430 Protocol An agreement between two parties as to how information is to be transmitted A network protocol abstracts packets into messages Physical

More information

Lecture Outline. Lecture 2. OSI model and networking. The OSI model and networking. The OSI model and networking. The OSI model and networking

Lecture Outline. Lecture 2. OSI model and networking. The OSI model and networking. The OSI model and networking. The OSI model and networking Lecture 2 The OSI model Chapter 2, specifically pages 42-58 Dave Novak School of Business Administration, University of Vermont Sources: 1) Network+ Guide to Networks, Dean 2013 2) Comer, Computer Networks

More information

Chapter -4 OSI Reference Model

Chapter -4 OSI Reference Model Chapter -4 OSI Reference Model Objectives Concept of Reference Model. OSI Reference Model Concept. Layers of OSI Reference Model. 4.1 Introduction Layered Architecture, Peer-to- Peer Processes, Interfaces

More information

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP 23.1

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP 23.1 Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP 23.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 23-1 PROCESS-TO-PROCESS DELIVERY 23.2 The transport

More information

Chapter 24. Transport-Layer Protocols

Chapter 24. Transport-Layer Protocols Chapter 24. Transport-Layer Protocols 23.1 Introduction 23.2 User Datagram Protocol 23.3 Transmission Control Protocol 23.4 SCTP Computer Networks 24-1 Position of Transport-Layer Protocols UDP is an unreliable

More information

Internet II. CS10 : Beauty and Joy of Computing. cs10.berkeley.edu. !!Senior Lecturer SOE Dan Garcia!!! Garcia UCB!

Internet II. CS10 : Beauty and Joy of Computing. cs10.berkeley.edu. !!Senior Lecturer SOE Dan Garcia!!!  Garcia UCB! cs10.berkeley.edu CS10 : Beauty and Joy of Computing Internet II!!Senior Lecturer SOE Dan Garcia!!!www.cs.berkeley.edu/~ddgarcia CS10 L17 Internet II (1)! Why Networks?! Originally sharing I/O devices

More information

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

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1 Interconnecting Networks with TCP/IP 2000, Cisco Systems, Inc. 8-1 Objectives Upon completion of this chapter you will be able to perform the following tasks: Identify the IP protocol stack, its protocol

More information

Makidis Michael.

Makidis Michael. Makidis Michael mmakidis05@aueb.gr RLC protocol overview procedures Simulation setup Performance of applications without contention Performance of applications with contention Performance of CBR Media

More information

CMPE 80N: Introduction to Networking and the Internet

CMPE 80N: Introduction to Networking and the Internet CMPE 80N: Introduction to Networking and the Internet Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 11 CMPE 80N Fall'10 1 Announcements Forum #2 due on 11.05. CMPE 80N Fall'10 2 Last

More information

Need For Protocol Architecture

Need For Protocol Architecture Chapter 2 CS420/520 Axel Krings Page 1 Need For Protocol Architecture E.g. File transfer Source must activate communications path or inform network of destination Source must check destination is prepared

More information

Connectionless and Connection-Oriented Protocols OSI Layer 4 Common feature: Multiplexing Using. The Transmission Control Protocol (TCP)

Connectionless and Connection-Oriented Protocols OSI Layer 4 Common feature: Multiplexing Using. The Transmission Control Protocol (TCP) Lecture (07) OSI layer 4 protocols TCP/UDP protocols By: Dr. Ahmed ElShafee ١ Dr. Ahmed ElShafee, ACU Fall2014, Computer Networks II Introduction Most data-link protocols notice errors then discard frames

More information

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

TRANSMISSION CONTROL PROTOCOL. ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016 TRANSMISSION CONTROL PROTOCOL ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016 ETI 2506 - TELECOMMUNICATION SYLLABUS Principles of Telecom (IP Telephony and IP TV) - Key Issues to remember 1.

More information

CMPE 150 Winter 2009

CMPE 150 Winter 2009 CMPE 150 Winter 2009 Lecture 16 March 3, 2009 P.E. Mantey CMPE 150 -- Introduction to Computer Networks Instructor: Patrick Mantey mantey@soe.ucsc.edu http://www.soe.ucsc.edu/~mantey/ / t / Office: Engr.

More information

Applied Networks & Security

Applied Networks & Security Applied Networks & Security TCP/IP Protocol Suite http://condor.depaul.edu/~jkristof/it263/ John Kristoff jtk@depaul.edu IT 263 Spring 2006/2007 John Kristoff - DePaul University 1 ARP overview datalink

More information