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

Slides:



Advertisements
Similar presentations
Computer Networks TCP/IP Protocol Suite.
Advertisements

Chapter 17 Networking Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
Chapter 5: TCP/IP and OSI Business Data Communications, 5e.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
1 William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
PROTOCOLS AND ARCHITECTURE Lesson 2 NETS2150/2850.
Chapter 2: Protocols and Architecture
Protocols and the TCP/IP Suite Chapter 4 (Stallings Book)
Chapter 4 : TCP/IP and OSI Business Data Communications, 4e.
Semester Copyright USM EEE442 Computer Networks Introduction: Protocols En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
Protocols and the TCP/IP Suite
EE 4272Spring, 2003 EE4272: Computer Networks Instructor: Tricia Chigan Dept.: Elec. & Comp. Eng. Spring, 2003.
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
Term Paper Phase-I is Due on Tuesday, February 19 in class timing —Submit a Hard Copy of your paper (MS word Document) —Follow the instructions in “Term.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
Chapter 2: Protocols and Architecture COE 341: Data & Computer Communications (Term 061) Dr. Radwan E. Abdel-Aal.
ECS 152A 1. Introduction. A Communications Model Source —generates data to be transmitted Transmitter —Converts data into transmittable signals Transmission.
Data and Computer Communications
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
Network Technology CSE Network Technology CSE3020 Week 1.
Protocols; TCP/IP and OSI Model
Computer Networks with Internet Technology William Stallings
Data and Computer Communications
Chapter 5: TCP/IP and OSI Business Data Communications, 6e.
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Internet Protocol Architecture Chapter 2. The Internet Internet evolved from ARPANET  Developed in 1969 by the Advanced Research Projects Agency (ARPA)
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Computer Networks with Internet Technology William Stallings Chapter 2 Protocols and the TCP/IP Protocol Suite.
Presentation on Osi & TCP/IP MODEL
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.
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
Protocols and the TCP/IP Suite
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
Computer Networks with Internet Technology William Stallings Chapter 2 Protocols and the TCP/IP Protocol Suite.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications 1.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Chapter 1. Introduction. By Sanghyun Ahn, Deot. Of Computer Science and Statistics, University of Seoul A Brief Networking History §Internet – started.
1 Networking Chapter Distributed Capabilities Communications architectures –Software that supports a group of networked computers Network operating.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Chapter 2 Protocols and the TCP/IP Suite 1 Chapter 2 Protocols and the TCP/IP Suite.
William Stallings Data and Computer Communications
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Net 221D:Computer Networks Fundamentals
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CSCI 465 D ata Communications and Networks Lecture 2 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Chapter 2: Protocols and Architecture COE 341: Data & Computer Communications (Term 061) Dr. Radwan E. Abdel-Aal.
TUNALIData Communications1 Chapter 2 Protocols and Architecture.
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Computer Networks with Internet Technology William Stallings Chapter 2 Protocols and the TCP/IP Protocol Suite.
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.
Protocols and the TCP/IP Suite
Lecture (2).
Distributed Systems.
Data and Computer Communications
Computer Networks with Internet Technology William Stallings
Data and Computer Communications
Data and Computer Communications
Pertemuan 11 Model TCP/IP
Protocols and the TCP/IP Suite
Data and Computer Communications by William Stallings Eighth Edition
ECEN “Internet Protocols and Modeling”
Data and Computer Communications
Data and Computer Communications
Protocols and the TCP/IP Suite
Data and Computer Communications
Presentation transcript:

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

Protocol Architecture, TCP/IP, and Internet-Based Applications  To destroy communication completely, there must be no rules in common between transmitter and receiver—neither of alphabet nor of syntax —On Human Communication, Colin Cherry

Need For Protocol Architecture  data exchange can involve complex procedures, cf. file transfer example  better if task broken into subtasks  implemented separately in layers in stack each layer provides functions needed to perform communication for layers above each layer provides functions needed to perform communication for layers above using functions provided by layers below using functions provided by layers below  peer layers communicate with a protocol

Key Elements of a Protocol  syntax – data block format  semantics - control info. & error handling  timing - speed matching & sequencing

TCP/IP Protocol Architecture  developed by US Defense Advanced Research Project Agency (DARPA)  for ARPANET packet switched network  used by the global Internet  protocol suite comprises a large collection of standardized protocols

Simplified Network Architecture

TCP/IP Layers  no official model but a working one Application layer Application layer Host-to-host, or transport layer Host-to-host, or transport layer Internet layer Internet layer Network access layer Network access layer Physical layer Physical layer

Physical Layer  concerned with physical interface between computer and network  concerned with issues like: characteristics of transmission medium characteristics of transmission medium signal levels and nature signal levels and nature data rates data rates other related matters other related matters

Network Access Layer  exchange of data between an end system and attached network  concerned with issues like : destination address provision destination address provision invoking specific services like priority invoking specific services like priority access to & routing data across a network link between two attached systems access to & routing data across a network link between two attached systems  allows layers above to ignore link specifics

Internet Layer (IP)  routing functions across multiple networks  for systems attached to different networks  using IP protocol  implemented in end systems and routers  routers connect two networks and relays data between them

Transport Layer (TCP)  common layer shared by all applications  provides reliable delivery of data  in same order as sent  commonly uses TCP

Application Layer  provide support for user applications  need a separate module specific for each type of application

Operation of TCP and IP

Addressing Requirements  two levels of addressing required  each host on a subnet needs a unique global network address its IP address its IP address  each application on a (multi-tasking) host needs a unique address within the host known as a port known as a port

Operation of TCP/IP

Transmission Control Protocol ( TCP)  usual transport layer is (TCP)  provides a reliable connection for transfer of data between applications  a TCP segment is the basic protocol unit  TCP tracks segments between entities for duration of each connection

TCP Header

User Datagram Protocol (UDP)  an alternative to TCP  no guaranteed delivery  no preservation of sequence  no protection against duplication  minimum overhead  Just adds port addressing to IP

UDP Header

IP Header

IPv6 Header

TCP/IP Applications  have a number of standard TCP/IP applications such as Simple Mail Transfer Protocol (SMTP) Simple Mail Transfer Protocol (SMTP) File Transfer Protocol (FTP) – control and data connections File Transfer Protocol (FTP) – control and data connections Telnet Telnet

Some TCP/IP Protocols

OSI  Open Systems Interconnection  developed by the International Organization for Standardization (ISO)  has seven layers – too many  is a theoretical system delivered too late!  TCP/IP is the de facto standard

OSI Layers

OSI v TCP/IP

Standardized Protocol Architectures

Layer Specific Standards

Service Primitives and Parameters  define services between adjacent layers using:  primitives to specify function performed  parameters to pass data and control info

Primitive Types REQUESTA primitive issued by a service user to invoke some service and to pass the parameters needed to specify fully the requested service INDICATIONA 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 RESPONSEA primitive issued by a service user to acknowledge or complete some procedure previously invoked by an indication to that user CONFIRMA primitive issued by a service provider to acknowledge or complete some procedure previously invoked by a request by the service user

Traditional vs Multimedia Applications  traditionally Internet dominated by info retrieval applications typically using text and image transfer typically using text and image transfer E.g. , file transfer, web E.g. , file transfer, web  see increasing growth in multimedia applications involving massive amounts of data involving massive amounts of data such as streaming audio and video such as streaming audio and video

Elastic and Inelastic Traffic  elastic traffic can adjust to delay & throughput changes over a wide range can adjust to delay & throughput changes over a wide range E.g. traditional “data” style TCP/IP traffic E.g. traditional “data” style TCP/IP traffic some applications more sensitive though some applications more sensitive though  inelastic traffic does not adapt to such changes does not adapt to such changes E.g. “real-time” voice & video traffic E.g. “real-time” voice & video traffic need minimum requirements on net arch need minimum requirements on net arch

Multimedia Taxonomy

Summary  introduced need for protocol architecture  TCP/IP protocol architecture  OSI Model & protocol architecture standardization  traditional vs multimedia application needs

MCQ  The process to process delivery of the entire message is the responsibility of the Network/Transport/Application/Physical layer.  As the data packet moves from the lower to the upper layers, headers are added/subtracted/rearranged/modified.  Following is an application layer service. Remote log-in/file transfer/mail service/all of the above

MCQ  Match the following with one of the five internet layers.  Communicates directly with user application program  Error correction and retransmission  Mechanical, electrical, and functional interface  Reassembly of data packets

Problems  Q1. In a protocol suite, layer N is above layer (N-1).  In the case of segmentation, is it necessary that each (N-1) level segment contain a copy of the level N-header? Why?  Blocking means combining several level N PDUs into one (N-1) level PDU. In the case of blocking, is it necessary that each level- N PDU retain its own header? Why?

Problems  Q2. A TCP segment of 1500 bit data and 160 bit header is sent to the IP layer. IP layer adds 160 bit header. It is then transmitted through a network which uses 24-bit packet header. The destination network can accept packet size of 800 bits. How many bits (including header) are delivered to the destination network layer?