Reference Models. 7.3 A Comparison of the OSI and TCP/IP Reference Models

Similar documents
Subnetting and addresses revisited

Network Model: Each layer has a specific function.

Lecture-4. TCP/IP-Overview:

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

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

System Programming. Introduction to computer networks

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

Overview of Network Software. CS158a Chris Pollett Jan 31, 2007.

EEC-484/584 Computer Networks

b) Diverse forms of physical connection - all sorts of wired connections, wireless connections, fiber optics, etc.

Review of Lecture 1. EEC-484/584 Computer Networks. Network Hardware. Outline. Lecture 2. Wenbing Zhao

Computer Communication & Networks / Data Communication & Computer Networks Week # 03

CPS221 Lecture: Layered Network Architecture

Chapter -4 OSI Reference Model

Chapter 2 Network Models 2.1

Networking Applications

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

SUBJECT: DATA COMMUNICATION AND NETWORK SEMESTER: V SEMESTER COURSE: BCA SUBJECT TEACHER: Dr.K.Chitra Assistant Professor, Department of Computer

Communication Networks

Chapter 1 : Introduction to Computer Networks

Peer entities. Protocol Layering. Protocols. Example

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

Data and Computer Communications

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

CS3600 SYSTEMS AND NETWORKS

UNIT 1. Advantages of Computer Networks

Introduction to Open System Interconnection Reference Model

L6: OSI Reference Model

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

Q: 1 the OSI Reference Model: 1. The Physical Layer:

Network Architecture Models

Defining Networks with the OSI Model. Module 2

Part VI. Appendixes. Appendix A OSI Model and Internet Protocols Appendix B About the CD

Introduction to Protocols

Chapter 7. Local Area Network Communications Protocols

ITEC 3800 Data Communication and Network. Introducing Networks

Computer Communication and Networks

Layered Architecture

Networking Models OSI Model Created by International Organization Standardization

Computer Networks with Internet Technology William Stallings. Chapter 2 Protocols and the TCP/IP Protocol Suite

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

IP Address Assignment

Data Communication and Network. Introducing Networks

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

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

The Client Server Model and Software Design

Computer Networking. Chapter #1. Dr. Abdulrhaman Alameer

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

Demo (Visit

Chapter 3: Network Protocols and Communications CCENT Routing and Switching Introduction to Networks v6.0 Instructor Planning Guide

Computer Networks and reference models. 1. List of Problems (so far)

Need For Protocol Architecture

Need For Protocol Architecture

CCNA Exploration Network Fundamentals. Chapter 04 OSI Transport Layer

OSI Model. Teran Subasinghe MBCS, Bsc.(Hons) in Computer Science - University of Greenwich, UK

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space provided.

2. A collection of interconnected networks is called an internetwork. 3. Each machine is connected to a central hub with a point-to-point connection.

Computer Networks. Introduction to Network. Dr. Adel Gaafar Abd Elrahim

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

Networking and Internetworking 1

Network Reference Models

The History and the layers of the OSI Model 30 - October

TCP/IP THE TCP/IP ARCHITECTURE

ECE 650 Systems Programming & Engineering. Spring 2018

Chapter 3 Protocols and the TCP/IP Suite

Internetworking Models The OSI Reference Model

Application Layer. Presentation Layer. Session Layer. Transportation Layer. Network Layer. Physical Layer

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

Communication Networks - 3 general areas: data communications, networking, protocols

EEC-682/782 Computer Networks I

DATA COMMUNICATION AND NETWORKS

APPENDIX F THE TCP/IP PROTOCOL ARCHITECTURE

Communicating over the Network

TSIN02 - Internetworking

Organizations have developed standard sets of protocols

Data Communication & Computer Networks MCQ S

Networking Basics. EC512 Spring /15/2015 EC512 - Prof. Thomas Skinner 1

Chapter 2 Network Models 2.1

What is a Network? TCP / IP. The ISO OSI Model. Protocols. The TCP/IP Protocol Suite. The TCP/IP Protocol Suite. Computer network.

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

ECE 333: Introduction to Communication Networks Fall 2001

Lecture (03) Network Model

1: Review Of Semester Provide an overview of encapsulation.

MEBS Utilities services M.Sc.(Eng) in building services Faculty of Engineering University of Hong Kong

B.Sc. (Hons.) Computer Science with Network Security B.Eng. (Hons) Telecommunications B.Sc. (Hons) Business Information Systems

The Data Link Layer. 32 PART I Networking Basics

Chapter Two. The OSI Model

Chapter Motivation For Internetworking

ES623 Networked Embedded Systems

Telecommunication Protocols Laboratory Course

Overview of TCP/IP Overview of TCP/IP protocol: TCP/IP architectural models TCP protocol layers.

TCP/IP stack is the family of protocols that rule the current internet. While other protocols are also used in computer networks, TCP/IP is by far

Chapter 11: Wide-Area Networks and the Internet

Chapter 12. Network Organization and Architecture. Chapter 12 Objectives Introduction Introduction

Internetworking Concepts Overview. 2000, Cisco Systems, Inc. 2-1

Cross Layer Protocol Design. Radio Communication III

TSIN02 - Internetworking

Chapter 6: Network Communications and Protocols

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Transcription:

Reference Models Contains 7.1 The OSI Reference Model 7.1.1 The Physical Layer 7.1.2 The Data Link Layer 7.1.3 The Network Layer 7.1.4 The Transport Layer 7.1.5 The Session Layer 7.1.6 The Presentation Layer 7.1.7 The Application Layer 7.2 The TCP/IP Reference Model 7.2.1 The Internet Layer 7.2.2 The Transport Layer 7.2.3 The Application Layer 7.2.4 The Host-to-Network Layer 7.3 A Comparison of the OSI and TCP/IP Reference Models There are two important network architectures, the OSI reference model and the TCP/IP reference model. Although the protocols associated with the OSI model are rarely used any more, the model itself is actually quite general and still valid, and the features discussed at each layer are still very important. The TCP/IP model has the opposite properties: the model itself is not of much use but the protocols are widely used. 7.1 The OSI Reference Model

The OSI model (minus the physical medium) is shown in Fig. 1-20. This model is based on a proposal developed by the International Standards Organization (ISO) as a first step toward international standardization of the protocols used in the various layers (Day and Zimmermann, 1983). It was revised in 1995 (Day, 1995). The model is called the ISO OSI (Open Systems Interconnection) Reference Model because it deals with connecting open systems that is, systems that are open for communication with other systems. We will just call it the OSI model for short. Figure 1-20. The OSI reference model. The OSI model has seven layers. The principles that were applied to arrive at the seven layers can be briefly summarized as follows: 1. A layer should be created where a different abstraction is needed. 2. Each layer should perform a well-defined function. 3. The function of each layer should be chosen with an eye toward defining internationally standardized protocols. 4. The layer boundaries should be chosen to minimize the information flow across the interfaces.

5. The number of layers should be large enough that distinct functions need not be thrown together in the same layer out of necessity and small enough that the architecture does not become unwieldy. 7.1.1 The Physical Layer 1- The physical layer is concerned with transmitting raw bits over a communication channel. 2- The design issues have to do with making sure that when one side sends a 1 bit, it is received by the other side as a 1 bit, not as a 0 bit. 3- Typical questions here are: a- How many volts should be used to represent a 1 and how many for a 0, b- How many nanoseconds a bit lasts, 4- Whether transmission may proceed simultaneously in both directions, 5- How the initial connection is established and how it is torn down when both sides are finished, 6- How many pins the network connector has and what each pin is used for. 7- The design issues here largely deal with mechanical, electrical, and timing interfaces, and the physical transmission medium, which lies below the physical layer. 7.1.2 The Data Link Layer 1- The main task of the data link layer is to transform a raw transmission facility into a line that appears free of undetected transmission errors to the network layer. 2- It accomplishes this task by having the sender break up the input data into data frames (typically a few hundred or a few thousand bytes) and transmit the frames sequentially. 3- If the service is reliable, the receiver confirms correct receipt of each frame by sending back an acknowledgement frame. 4- Another issue that arises in the data link layer (and most of the higher layers as well) is how to keep a fast transmitter from drowning a slow receiver in data. 5- Broadcast networks have an additional issue in the data link layer: how to control access to the shared channel. A special sublayer of the data link layer, the medium access control sublayer, deals with this problem.

7.1.3 The Network Layer 1- The network layer controls the operation of the subnet. 2- A key design issue is determining how packets are routed from source to destination. 3- Routes can be based on : a- static tables that are ''wired into'' the network and rarely changed. b- They can also be determined at the start of each conversation, for example, a terminal session (e.g., a login to a remote machine). c- Finally, they can be highly dynamic, being determined anew for each packet, to reflect the current network load. 4- If too many packets are present in the subnet at the same time, they will get in one another's way, forming bottlenecks. The control of such congestion also belongs to the network layer. 5- More generally, the quality of service provided (delay, transit time, jitter, etc.) is also a network layer issue. 6- When a packet has to travel from one network to another to get to its destination, many problems can arise. a-the addressing used by the second network may be different from the first one. b- The second one may not accept the packet at all because it is too large. c- The protocols may differ, and so on. It is up to the network layer to overcome all these problems to allow heterogeneous networks to be interconnected. 7- In broadcast networks, the routing problem is simple, so the network layer is often thin or even nonexistent. 7.1.4 The Transport Layer 1- The basic function of the transport layer is to accept data from above, split it up into smaller units if need be, pass these to the network layer. 2- Ensure that the pieces all arrive correctly at the other end. 3- Furthermore, all this must be done efficiently and in a way that isolates the upper layers from the inevitable changes in the hardware technology.

4- The transport layer also determines what type of service to provide to the session layer, and, ultimately, to the users of the network ( error-free point-to-point channel, transporting of isolated messages, with no guarantee about the order of delivery, and the broadcasting of messages to multiple destinations). The type of service is determined when the connection is established. 5- The transport layer is a true end-to-end layer, all the way from the source to the destination. In other words, a program on the source machine carries on a conversation with a similar program on the destination machine, using the message headers and control messages. 7.1.5 The Session Layer 1- The session layer allows users on different machines to establish sessions between them. 2- Sessions offer various services, including a- dialog control (keeping track of whose turn it is to transmit), b- token management (preventing two parties from attempting the same critical operation at the same time), c- and synchronization (check pointing long transmissions to allow them to continue from where they were after a crash). 7.1.6 The Presentation Layer 1- Unlike lower layers, which are mostly concerned with moving bits around, the presentation layer is concerned with the syntax and semantics of the information 0 2- In order to make it possible for computers with different data representations to communicate, the data structures to be exchanged can be defined in an abstract way, along with a standard encoding to be used ''on the wire.'' 3- The presentation layer manages these abstract data structures and allows higherlevel data structures (e.g., banking records), to be defined and exchanged. 7.1.7 The Application Layer 1- The application layer contains a variety of protocols that are commonly needed by users. 2- One widely-used application protocol is HTTP (HyperText Transfer Protocol), which is the basis for the World Wide Web. When a browser wants a Web page, it sends the name of the page it wants to the server using HTTP. The server then sends the page back.

3- Other application protocols are used for file transfer, electronic mail, and network news. 7.2 The TCP/IP Reference Model The ARPANET was a research network sponsored by the DoD (U.S. Department of Defense). It eventually connected hundreds of universities and government installations, using leased telephone lines. When satellite and radio networks were added later, the existing protocols had trouble interworking with them, so a new reference architecture was needed. 1*Thus, the ability to connect multiple networks in a seamless way was one of the major design goals from the very beginning. This architecture later became known as the TCP/IP Reference Mode. 2*another major goal was that the network be able to survive loss of subnet hardware, with existing conversations not being broken off. In other words, DoD wanted connections to remain intact as long as the source and destination machines were functioning, even if some of the machines or transmission lines in between were suddenly put out of operation. 3* a flexible architecture was needed since applications with divergent requirements were envisioned, ranging from transferring files to real-time speech transmission. Figure 1-21. The TCP/IP reference model. Figure 1-22. Protocols and networks in the TCP/IP model initially.

7.2.1 The Internet Layer 1- All these requirements led to the choice of a packet-switching network based on a connectionless internetwork layer. This layer, called the internet layer, is the linchpin that holds the whole architecture together. 2- Its job is to permit hosts to inject packets into any network and have them travel independently to the destination (potentially on a different network). 3- They may even arrive in a different order than they were sent, in which case it is the job of higher layers to rearrange them, if in-order delivery is desired. The analogy here is with the (snail) mail system. 4- The internet layer defines an official packet format and protocol called IP (Internet Protocol). 5- The job of the internet layer is to deliver IP packets where they are supposed to go. 6- Packet routing is clearly the major issue here, as is avoiding congestion. 7- For these reasons, it is reasonable to say that the TCP/IP internet layer is similar in functionality to the OSI network layer. Figure 1-21 shows this correspondence. 6.2.2 The Transport Layer 1- The layer above the internet layer in the TCP/IP model is now usually called the transport layer. 2- It is designed to allow peer entities on the source and destination hosts to carry on a conversation, just as in the OSI transport layer. 3- Two end-to-end transport protocols have been defined here.

A- The first one, TCP (Transmission Control Protocol), 1- is a reliable connection-oriented protocol. 2- allows a byte stream originating on one machine to be delivered without error on any other machine in the internet. 3- It fragments the incoming byte stream into discrete messages and passes each one on to the internet layer. 4- At the destination, the receiving TCP process reassembles the received messages into the output stream. 5- TCP also handles flow control to make sure a fast sender cannot swamp a slow receiver with more messages than it can handle. B- The second protocol in this layer, UDP (User Datagram Protocol), 1- is an unreliable, connectionless protocol for applications that do not want TCP's sequencing or flow control and wish to provide their own. 2- it is also widely used for one-shot, 3- it is also widely used for client-server-type request-reply queries and 4- it is also widely used for applications in which prompt delivery is more important than accurate delivery, such as transmitting speech or video. The relation of IP, TCP, and UDP is shown in Fig. 1-22. Since the model was developed, IP has been implemented on many other networks. 7.2.3 The Application Layer 1- The TCP/IP model does not have session or presentation layers. No need for them was perceived, so they were not included. Experience with the OSI model has proven this view correct: they are of little use to most applications. 2- On top of the transport layer is the application layer. It contains all the higherlevel protocols. 3- The early ones included: a- virtual terminal (TELNET) The virtual terminal protocol allows a user on one machine to log onto a distant machine and work there., b- file transfer (FTP) The file transfer protocol provides a way to move data efficiently from one machine to another., c- and electronic mail (SMTP) Electronic mail was originally just a kind of file transfer, but later a specialized protocol (SMTP) was developed for it., as shown in Fig. 1-22. 4- Many other protocols have been added to these over the years:

a- the Domain Name System (DNS) for mapping host names onto their network addresses, b- NNTP, the protocol for moving USENET news articles around, c- and HTTP, the protocol for fetching pages on the World Wide Web, and many others. 7.2.4 The Host-to-Network Layer 1- Below the internet layer is a great void. 2- The TCP/IP reference model does not really say much about what happens here, except to point out that the host has to connect to the network using some protocol so it can send IP packets to it. 3- This protocol is not defined and varies from host to host and network to network. 4- Books and papers about the TCP/IP model rarely discuss it. 7.3 A Comparison of the OSI and TCP/IP Reference Models we are comparing the reference models here, not the corresponding protocol stacks OSI Reference Model TCP/IP Model 1- based on the concept of a stack of 1- based on the concept of a stack of independent protocols independent protocols 2- the functionality of the layers is 2- the functionality of the layers is roughly similar roughly similar 3- originally clearly distinguish 3- did not originally clearly distinguish between service, interface, and between service, interface, and protocol protocol 4- protocols are better hidden and can 4- protocols are worse hidden and can be replaced relatively easily as the be replaced relatively difficultly as the technology changes. technology changes. 5- devised before the corresponding 5- devised after the corresponding protocols were invented (model was protocols were invented not biased toward one particular set of protocols, it quite general, designers did not have much experience ) 6- has seven layers 6- has four layers 7-Both have (inter)network, transport, 7-Both have (inter)network, transport, and application layers others different and application layers others different

QUESTIONS: Q7 1) Draw a diagram show the layers in OSI Reference model. Discuss the function of each layer briefly ( one sentence is enough). Q7 2) Make a table contains the number, name and function of OSI reference model layers. Q7 3) What are the main properties and functions of the First Layer in OSI Reference Q7 4) What are the main properties and functions of the Second Layer in OSI Reference Q7 5) What are the main properties and functions of the Third Layer in OSI Reference Q7 6) What are the main properties and functions of the Fourth Layer in OSI Reference Q7 7) What are the main properties and functions of the Fifth Layer in OSI Reference Q7 8) What are the main properties and functions of the Sixth Layer in OSI Reference Q7 9) What are the main properties and functions of the Seventh Layer in OSI Reference Q7 10) Draw a diagram show the layers in TCP/IP Reference model. Discuss the function of each layer briefly ( one sentence is enough). Q7 11) Make a table contains the number, name and function of TCP/IP reference model layers. Q7 12) What are the main properties and functions of the First Layer in TCP/IP Reference Q7 13) What are the main properties and functions of the Second Layer in TCP/IP Reference Q7 14) What are the main properties and functions of the Third Layer in TCP/IP Reference Q7 15) What are the main properties and functions of the Fourth Layer in TCP/IP Reference Q7 16) Compare between TCP and UDP protocols in the Third layer of TCP/IP reference model. Q7 17) Compare between OSI and TCP/IP Reference Models.