Chapter 4 : TCP/IP and OSI Business Data Communications, 4e.

Slides:



Advertisements
Similar presentations
Topic 6: Network and Transport Layers - Chapter 4 : TCP/IP and OSI Business Data Communications, 4e.
Advertisements

Chapter 17 Networking Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
OSI Model OSI MODEL.
Chapter 5: TCP/IP and OSI Business Data Communications, 5e.
1 TCP/IP Network and OSI Model. 2 What is a Protocol? n Allows entities (i.e. application programs) from different systems to communicate n Shared conventions.
Introduction to Computer Networks MGS 602, Fall 2012.
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.
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)
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Protocols and the TCP/IP Suite
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
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.
Computer Networks with Internet Technology William Stallings
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Gursharan Singh Tatla Transport Layer 16-May
OIS Model TCP/IP Model.
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.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
OSI AND TCP/IP MODELS. Outline Introduction OSI Model TCP/IP Model IPv4 vs. IPv6.
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.
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.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Topic 2 – Protocol Architecture 1 FIT1005 FIT – Monash University Topic 2 - Protocol Architecture Reference: Chapter 2 – Stallings 7E.
Internet SecurityInternet Security Dr. ClincyLecture1 CS 4491 Internet Security Dr. Clincy Networking Fundamentals Note: I am still “tweaking” your syllabus.
1 Networking Chapter Distributed Capabilities Communications architectures –Software that supports a group of networked computers Network operating.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
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.
TCP/IPTCP/IP Dr. ClincyLecture 21 Ch 2: TCP/IP and OSI Lecture 2.
BZUPAGES.COM Standardized Protocol Architectures  Vendors like standards because they make their products more marketable  Customers like standards because.
ECEN “Internet Protocols and Modeling” Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Lecture notes and.
Dr. ClincyLecture1 Chapter 2 (handout 1– only sections 2.1, 2.2 and 2.3) 1 of 10 Dr. Clincy Professor of CS Exam #3 Monday (3/14/16): Opened Book, No Computer,
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
TUNALIData Communications1 Chapter 2 Protocols and Architecture.
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
Computer Engineering and Networks, College of Engineering, Majmaah University Protocols OSI reference MODEL TCp /ip model Mohammed Saleem Bhat
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.
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
TCP over ATM.
Protocols and the TCP/IP Suite
Lecture (2).
TELEMEDICINE.
Computer Networks with Internet Technology William Stallings
Lecturer, Department of Computer Application
DEPARTMENT OF COMPUTER SCIENCE
Chapter 2 (Handout 1– only sections 2.1, 2.2 and 2.3)
Protocol Architectures
Protocols and the TCP/IP Suite
ECEN “Internet Protocols and Modeling”
Chapter 15 – Part 2 Networks The Internal Operating System
OSI Model OSI MODEL.
Protocols and the TCP/IP Suite
Presentation transcript:

Chapter 4 : TCP/IP and OSI Business Data Communications, 4e

What is a Protocol? Allows entities (i.e. application programs) from different systems to communicate Shared conventions for communicating information are called protocols Includes syntax, semantics, and timing See p.67

Why Use Protocol Architecture? Data communications requires complex procedures Sender identifies data path/receiver Systems negotiate preparedness Applications negotiate preparedness Translation of file formats For all tasks to occur, high level of cooperation is required

Modular Approach Breaks complex tasks into subtasks Each module handles specific subset of tasks Communication occurs between different modules on the same system between similar modules on different systems

Advantages of Modularity Easier application development Network can change without all programs being modified

Three-Layer Model Distributed data communications involves three primary components: Networks Computers Applications Three corresponding layers Network access layer Transport layer Application layer

Network Access Layer Concerned with exchange of data between computer and network Includes addressing, routing, prioritizing, etc Different networks require different software at this layer Example: X.25 standard for network access procedures on packet-switching networks

Transport Layer Concerned with reliable transfer of information between applications Independent of the nature of the application Includes aspects like flow control and error checking

Application Layer Logic needed to support various applications Each type of application (file transfer, remote access) requires different software on this layer

Addressing Each computer on a network requires a unique address on that network Each application requires a unique address within the computer to allow support for multiple applications (service access points, or SAP)

Data Transmission Application layer creates data block Transport layer appends header to create PDU (protocol data unit) Destination SAP, Sequence #, Error-Detection Code Destination SAP, Sequence #, Error-Detection Code Network layer appends another header Destination computer, facilities (e.g. “ priority ” ) Destination computer, facilities (e.g. “ priority ” ) See figure 4.5 in the book

Figure 4.5 Operation of a Protocol Architecture

Standardized Protocol Architectures Vendors like standards because they make their products more marketable Customers like standards because they enable products from different vendors to interoperate Two protocol standards are well-known: TCP/IP: widely implemented OSI: well-known, less used, still useful for modeling/conceptualizing

TCP/IP Transmission Control Protocol/Internet Protocol Developed by DARPA No official protocol standard Can identify five layers Application Host-to-Host (transport) Internet Network Access Physical

TCP/IP Physical Layer Physical interface between a DTE (e.g. computer or terminal) and a transmission medium Specifies: Characteristics of medium Nature of signals Data rate DTE: Data Terminal Equipment

TCP/IP Network Access Exchange of data between end system and network Address of host and destination Prioritization of transmission Software at this layer depends on network (e.g. X.25 vs. Ethernet) Segregation means that no other software needs to be concerned about net specifics

TCP/IP Internet Layer An Internet is an interconnection of two or more networks Internet layer handles tasks similar to network access layer, but between networks rather than between nodes on a network Uses IP for addressing and routing across networks Implemented in workstations and routers

IP and IPv6 IP provides for 32-bit source and destination addresses IPv6 (1996 standard) provides for 128-bit addresses Migration to IPv6 will be a very slow process IPv4 Address Space:

IPv4 Header Version (4 bits) Internet header length (4 bits) Type of Service (8 bits) Total Length (16 bits) Identification (16 bits) Flags (3 bits Fragment Offset (13 bits) Time to Live (8 bits) Protocol (8 bits Header Checksum (16 bits) Source Address ( 32 bits) Destination Address (32 bits) Options (variable) Padding (variable)

IPv6 Addresses (128 bits) vs Billion times 4 Billion times 4 Billion (2 96 ) times the size of the IPv4 address space (2 32 ) Theoretically, 665,570,793,348,866,943,898,599 addresses per square meter of the surface of the planet Earth. Practically 1,564 ~ 3,911,873,538,269,506,102 addresses for each square meter of the surface of the planet Earth.

TCP/IP Transport Layer Also called host-to-host layer Reliable exchange of data between applications Uses TCP protocols for transmission

TCP & UDP Most TCP/IP applications use TCP for transport layer TCP provides a connection (logical association) between two entities to regulate flow check errors UDP (User Datagram Protocol) does not maintain a connection, and therefore does not guarantee delivery, preserve sequences, or protect against duplication

TCP Segment (TCP PDU) Source port (16 bits) Destination port (16 bits) Sequence number (32 bits) Acknowledgment number (32 bits) Data Offset (4 bits) Reserved (6 bits) Flags (6 bits) : URG, ACK, PSH, RST, SYN, FIN Window (16 bits) Checksum (16 bits) Urgent Pointer (16 bits) Options (variable)

UDP Datagrams UDP Header:

TCP/IP Application Layer Logic needed to support variety of applications Separate module supports each type of application (e.g. file transfer)

TCP/IP Applications SMTP (Simple Mail Transfer Protocol) Basic facility, transferring messages among hosts FTP (File Transfer Protocol) Sends files from one system to another on user command Telnet Remote login capability, allowing a user to emulate a terminal on the remote system

Internetworking Interconnected networks, usually implies TCP/IP Can appear to users as a single large network The global Internet is the largest example, but intranets and extranets are also examples

Routers Equipment used to interconnect independent networks Several essential functions Provide a link between networks Provide routing and delivery of data between processes on systems from different networks Provide the above functions without requiring modification of the attached networks

Router Issues Addressing schemes Maximum packet size Interfaces Reliability

Why Study OSI? Still an excellent model for conceptualizing and understanding protocol architectures Key points: Modular Hierarchical Boundaries between layers=interfaces

OSI Open Systems Interconnection Developed by ISO Contains seven layers (see page 358) Application Presentation Session Transport Network Data Link Physical Please Do Not Trust Sales Person’s Advice

OSI Lower Layers Physical Data Link Network

OSI Physical Layer Responsible for transmission of bits Always implemented through hardware Encompasses mechanical, electrical, and functional interfaces e.g. RS-232

OSI Data Link Layer Responsible for error-free, reliable transmission of data Flow control, error correction e.g. HDLC

OSI Network Layer Responsible for routing of messages through network Concerned with type of switching used (circuit v. packet) Handles routing between networks, as well as through packet-switching networks

OSI Upper Layers Transport Session Presentation Application

OSI Transport Layer Isolates messages from lower and upper layers Breaks down message size Monitors quality of communications channel Selects most efficient communication service necessary for a given transmission

OSI Session Layer Establishes logical connections between systems Manages log-ons, password exchange, log-offs Terminates connection at end of session

OSI Presentation Layer Provides format and code conversion services Examples File conversion from ASCII to EBDIC Invoking character sequences to generate bold, italics, etc on a printer

OSI Application Layer Provides access to network for end-user User ’ s capabilities are determined by what items are available on this layer

OSI in Action: Outgoing File Transfer Program issues command to Application Layer Application passes it to Presentation, which may reformat, passes to Session Session requests a connection, passes to Transport Transport breaks file into chunks, passes to Network Network selects the data ’ s route, passes to Data Link Data Link adds error- checking info, passes to Physical Physical transmits data, which includes information added by each layer

OSI in Action: Incoming File Transfer Physical receives bits, passes to Data Link Data Link checks for errors, passes to Network Network verifies routing, passes to Transport Transport reassembles data, passes to Session Session determines if transfer is complete, may end session, passes to Presentation Presentation may reformat, perform conversions, pass to Application layer Application presents results to user (e.g. updates FTP program display)