The OSI Reference Model Chapter 2 International Organization

  • Slides: 54
Download presentation
The OSI Reference Model Chapter 2

The OSI Reference Model Chapter 2

International Organization for Standards (ISO) n n recognized the need to create a network

International Organization for Standards (ISO) n n recognized the need to create a network model that would help network builders implement networks that could communicate and work together--OSI Model The OSI model is a layered communication process with each layer performing a specific task.

The OSI Reference Model The OSI model describes how information or data moves from

The OSI Reference Model The OSI model describes how information or data moves from one computer through a network to another computer.

The OSI Reference Model

The OSI Reference Model

Networking concepts. . . n n n Networking is the interconnection of workstations, peripherals,

Networking concepts. . . n n n Networking is the interconnection of workstations, peripherals, and other devices. In networking, it is possible for different types of computer systems to communicate. In networking, what is important is that all devices speak the same language or use the same protocol (use same set of rules).

Source, Destination, and Data Packets. . . Data is sent in bits, 1 s

Source, Destination, and Data Packets. . . Data is sent in bits, 1 s and 0 s. n Data is not the information itself but an encoded form of information which is a series of electrical impulses into which information is transmitted for sending. n Small, easily transmitted units into which computer data is broken for transmission across a network are called packets. n

Source, Destination, and Data Packets. . . n Using the OSI model, data can

Source, Destination, and Data Packets. . . n Using the OSI model, data can be called packets, or frames or segments. n Source address specifies the identity of the computer sending the packet. n Destination address specifies the identity of the computer designated to receive the packet.

Why Data Packets? Computers can take turns sending packets. n If packet is lost,

Why Data Packets? Computers can take turns sending packets. n If packet is lost, only small amount of data must be retransmitted. n Data can take different paths. n

Different Media Types AIR carries light, radio, microwave Media—material through which data packets travel

Different Media Types AIR carries light, radio, microwave Media—material through which data packets travel

The OSI Reference Model. . . uses a “layered” model because n it breaks

The OSI Reference Model. . . uses a “layered” model because n it breaks network communication into smaller, simpler parts that are easier to develop. n it facilitates standardization of network components to allow multiple-vendor development and support.

The OSI Reference Model n n n allows different types of network hardware and

The OSI Reference Model n n n allows different types of network hardware and software to communicate with each other. prevents changes in one layer from affecting the other layers so that they can develop more quickly. breaks network communication into smaller parts to make learning it easier to understand.

KNOW THE CORRECT ORDER OF THE LAYERS!

KNOW THE CORRECT ORDER OF THE LAYERS!

The OSI Reference Model Each layer has a unique function. 7 Application 6 Presentation

The OSI Reference Model Each layer has a unique function. 7 Application 6 Presentation 5 Session 4 Transport 3 Network 2 Data Link 1 Physical User interface Data presentation and encryption Keeping different applications’ data separate End-to-end connections Addresses and best path Access to media Binary transmission

The OSI Reference Model

The OSI Reference Model

The OSI Reference Model 7 Application 6 Presentation 5 Session 4 3 2 1

The OSI Reference Model 7 Application 6 Presentation 5 Session 4 3 2 1 The top 3 layers are known as the application layers because they deal with the user interface, data formatting, and the application access.

The OSI Reference Model Layers 1 -4 are known as the data flow layers

The OSI Reference Model Layers 1 -4 are known as the data flow layers because they control the physical delivery of messages over the network. 7 Application 6 Presentation 5 Session 4 Transport 3 Network 2 Data Link 1 Physical

The OSI Reference Model LAYER 7: THE APPLICATION LAYER : closest to the user

The OSI Reference Model LAYER 7: THE APPLICATION LAYER : closest to the user : provides network services to user applications : does not provide services to any other OSI layer but rather to application processes outside the scope of the OSI model

The OSI Reference Model LAYER 7: THE APPLICATION LAYER : : : identifies and

The OSI Reference Model LAYER 7: THE APPLICATION LAYER : : : identifies and establishes the availability of intended communication partners synchronizes cooperating applications establishes agreement on procedures for error recovery and control of data integrity

The OSI Reference Model LAYER 6: THE PRESENTATION LAYER : : ensures that information

The OSI Reference Model LAYER 6: THE PRESENTATION LAYER : : ensures that information sent by the application layer of one system is readable by the application layer of another system translates between multiple data representation formats by using a common data representation format concerned with data structures and negotiation of data transfer syntax responsible for compression and encryption

The OSI Reference Model LAYER 5: THE SESSION LAYER : : establishes, manages, and

The OSI Reference Model LAYER 5: THE SESSION LAYER : : establishes, manages, and terminates sessions between communicating hosts synchronizes dialog between presentation layer entities and manages their data exchange offers provisions for efficient data transfer, class of service, and exception reporting of session, presentation, and application layer problems manages data exchange between presentation layer entities

The OSI Reference Model LAYER 4: THE TRANSPORT LAYER : : : segments and

The OSI Reference Model LAYER 4: THE TRANSPORT LAYER : : : segments and reassembles data into a data stream concerned with how reliable transport over an internetwork is accomplished responsible for reliable network communication between end nodes and provides mechanisms for the establishment, maintenance, and termination of virtual circuits, transport fault detection and recovery, and information flow control

The OSI Reference Model LAYER 3: THE NETWORK LAYER : provides connectivity and path

The OSI Reference Model LAYER 3: THE NETWORK LAYER : provides connectivity and path selection between two end systems where routing occurs—these may be located on geographically separated networks

The OSI Reference Model LAYER 2: THE DATA LINK LAYER : provides reliable transit

The OSI Reference Model LAYER 2: THE DATA LINK LAYER : provides reliable transit of data across a physical link : is concerned with physical (as opposed to logical) addressing, network topology, network access, error notification, ordered delivery of frames, and flow control

The OSI Reference Model LAYER 1: THE PHYSICAL LAYER : defines the electrical and

The OSI Reference Model LAYER 1: THE PHYSICAL LAYER : defines the electrical and functional specifications for the link between end systems (including media) : defines voltage levels, timing of voltage changes, physical data rates, maximum transmission distances, physical connectors, and other, similar, attributes

Encapsulation wraps data with necessary protocol information before transit.

Encapsulation wraps data with necessary protocol information before transit.

How Data is Encapsulated 1. Build the data. 2. Package the data for end-to-end

How Data is Encapsulated 1. Build the data. 2. Package the data for end-to-end transport. 3. Append (add) the network address to the header (includes control information). 4. Append (add) the local address to the data link header. 5. Convert to bits for transmission.

The Importance of TCP/IP The U. S. Department of Defense (Do. D) created the

The Importance of TCP/IP The U. S. Department of Defense (Do. D) created the TCP/IP reference model because it wanted a network that could survive any conditions, even a nuclear war.

The TCP/IP model has only four layers.

The TCP/IP model has only four layers.

The TCP/IP Model The Do. D wants its packets to get through every time,

The TCP/IP Model The Do. D wants its packets to get through every time, under any conditions, from any one point to any other point. It was this very difficult design problem that brought about the creation of the TCP/IP model, and which has since become the standard on which the Internet has grown.

The TCP/IP Model Application Layer The designers of TCP/IP felt that the higher level

The TCP/IP Model Application Layer The designers of TCP/IP felt that the higher level protocols should include the session and presentation layer details. They simply created an application layer that handles high-level protocols, issues of representation, encoding, and dialog control. The TCP/IP combines all application-related issues into one layer, and assures this data is properly packaged for the next layer.

The TCP/IP Model - Transport Layer This layer deals with the quality-of-service issues of

The TCP/IP Model - Transport Layer This layer deals with the quality-of-service issues of reliability, flow control, and error correction. One of its protocols, the transmission control protocol (TCP), provides excellent and flexible ways to create reliable, well-flowing, low-error network communications. TCP is a connection-oriented protocol. It dialogues between source and destination while packaging application layer information into units called segments. Connection-oriented does not mean that a circuit exists between the communicating computers (that would be circuit switching). It does mean that Layer 4 segments travel back and forth between two hosts to acknowledge the connection exists logically for some period. This is known as packet switching.

The TCP/IP Model - Internet Layer The purpose of the Internet layer is to

The TCP/IP Model - Internet Layer The purpose of the Internet layer is to send source packets from any network on the internetwork and have them arrive at the destination independent of the path and networks they took to get there. The specific protocol that governs this layer is called the Internet protocol (IP). Best path determination and packet switching occur at this layer. Think of it in terms of the postal system. When you mail a letter, you do not know how it gets there (there are various possible routes), but you do care that it arrives.

The TCP/IP Model – Network Access Layer The name of this layer is very

The TCP/IP Model – Network Access Layer The name of this layer is very broad and somewhat confusing. It is also called the host-to-network layer. It is the layer that is concerned with all of the issues that an IP packet requires to actually make a physical link, and then to make another physical link. It includes the LAN and WAN technology details, and all the details in the OSI physical and data link layers.

Common TCP/IP Protocols • Application Layer • Transport Layer • Internet Layer • Network

Common TCP/IP Protocols • Application Layer • Transport Layer • Internet Layer • Network Access

Common TCP/IP Protocols • FTP - File Transfer Protocol • HTTP - Hypertext Transfer

Common TCP/IP Protocols • FTP - File Transfer Protocol • HTTP - Hypertext Transfer Protocol • SMTP - Simple Mail Transfer protocol • DNS - Domain Name System • TFTP - Trivial File Transfer Protocol

Common TCP/IP Protocols The transport layer involves two protocols - transmission control protocol (TCP)

Common TCP/IP Protocols The transport layer involves two protocols - transmission control protocol (TCP) and user datagram protocol (UDP).

Similarities: • both have layers • both have application layers, though they include very

Similarities: • both have layers • both have application layers, though they include very different services • both have comparable transport and network layers • packet-switched (not circuit-switched) technology is assumed • networking professionals need to know both

Differences • TCP/IP combines the presentation and session layer issues into its application layer

Differences • TCP/IP combines the presentation and session layer issues into its application layer • TCP/IP combines the OSI data link and physical layers into one layer • TCP/IP appears simpler because it has fewer layers • TCP/IP protocols are the standards around which the Internet developed, so the TCP/IP model gains credibility just because of its protocols. In contrast, typically networks aren't built on the OSI protocol, even though the OSI model is used as a guide.

Although TCP/IP protocols are the standards with which the Internet has grown, this curriculum

Although TCP/IP protocols are the standards with which the Internet has grown, this curriculum will use the OSI model for the following reasons: • It is a worldwide, generic, protocol-independent standard. • It has more details, which makes it more helpful for teaching and learning. • It has more details, which can be helpful when troubleshooting.