Unit 1

Lesson 3 - The OSI Model

   Primary Functions of OSI Model Layers

Each layer of the OSI model describes the services that a protocol provides, but it does not specify exactly how a protocol must do that. For example, several different protocols provide the functions of OSI Layer 3 (the Network Layer), and a developer can create a new one at any time.

The OSI Model Layers Table provides an overview of the primary functions of each layer of the OSI model. It also presents the unit of information and address type where appropriate.

OSI Model Layers

OSI Model
Layer

Layer Function

Unit of
Information

Address Type

Application

User functionality

Program

 

Presentation

Character representation
Data compression
Security

Characters and words

 

Session

Establishing, conducting, and ending sessions

 

 

Transport

Transmitting messages from sending computer process to receiving computer process

Message

Process to process between applications

Network

Transmitting individual packets across a network

Packet

Packet address identifying receiver's network and host location

Data Link

Transmitting frames containing packets across a link en route to final destination

Frame

NIC (next node in network)

Physical

Transmitting bits in the form of signals across physical media

Bit

 

Physical Layer

The Physical Layer provides the service of transmitting a signal, across a physical communication medium, that represents binary bits. That medium can be a copper cable (coaxial or twisted pair), a fiber optic cable, or a radio channel. Thus, the Physical Layer includes the following types of hardware devices that send and receive signals over each type of physical medium:

NICs

Fiber optic transceivers

Radio transceivers

Modems

Physical Layer processes are concerned only with the physical signals that represent data bits. Thus, they are only "aware" of signals over the medium, and are not concerned with any device that may be at the other end of the wire or channel. This also means that Layer 1 processes cannot detect errors in data transmission. Most error detection, and all error correction, are the responsibility of higher layers.

Data Link Layer

The Data Link Layer addresses groups of bits to a device located across a single physical transmission path, called a link. Each group of bits that the Data Link Layer transmits is called a frame.

To form a frame, the Data Link Layer encapsulates a Network Layer packet within a header and trailer. The header contains the hardware address of the destination node. The trailer contains a Frame Check Sequence (FCS) value that the receiving node uses for error detection. The Data Link Layer is the only OSI layer that adds a trailer to the data it transmits.

Each frame carries a packet of data across a single physical link. The encapsulated packet does not change, but a new frame is built around the packet for the trip across each link. Thus, we often say that the Data Link Layer is concerned with transmitting data to the next node in the network.

Popular Data Link protocols include:

High-Level Data Link Control (HDLC)

Synchronous Data Link Control (SDLC)

Link Access Procedure for D channel (LAPD), used in ISDN

LAN protocols such as Ethernet, Token Ring, and FDDI

WAN protocols such as frame relay, ATM, and ISDN

The Network Layer is responsible for transmitting data packets between source and destination nodes that may not be connected by the same physical link. The Network Layer addresses a data packet to the logical description of a computer that may be located several links away from the source. If the source and destination nodes are not directly connected, then the Network Layer must use intermediate nodes, when necessary, to get a packet to its destination.

Unlike a Data Link address, which is globally unique, a Network Layer address is a logical identifier. Each Network Layer address is only unique within a single network. If a packet's source and destination are in different networks, the Network Layer may have to resolve different addressing conventions and duplicated node addresses used in different types and versions of networks.

The Network Layer also moves packets to and from node types that may use different Data Link protocols. For example, when a router forwards a packet from an Ethernet LAN to a frame relay network, it removes the Ethernet header and trailer and builds a new frame formatted for the frame relay network.

Common Network Layer protocols include:

X.25--X.25 is an older packet switching protocol that has been largely replaced by faster protocols based on the same basic approach.

IP--IP is the primary Layer 3 protocol used across the Internet and in many LANs.

Internetwork Packet Exchange (IPX)--IPX is Novell NetWare's proprietary Network Layer protocol.

Transport Layer

The Transport Layer, or Layer 4, addresses data to a particular process running on a destination computer. Peer software processes at either end of a connection use the Transport Layer to carry on a conversation. Processes in the Transport Layer act as if their nodes are adjacent. They rely on lower layers to handle the details of passing data through intermediate nodes across the network. Thus, Layer 4 insulates the higher levels from all concerns about the transportation of data.

Basic services provided by the Transport Layer include:

Addressing

Connection management

Flow control and buffering

Multiplexing and parallelization

Reliable and sequenced delivery

Service quality management

The most common Transport Layer protocols are:

TCP--TCP works in conjunction with IP, in the widely used TCP/IP protocol stack.

Sequenced Packet Exchange (SPX)--SPX is Novell NetWare's Transport Layer protocol. It works in conjunction with IPX.

Upper Layers: Session, Presentation, and Application

The job of the upper layers, taken collectively, is to provide user-oriented services through a set of widely available standard applications, and through specialized applications written for the users by programmers. The Session Layer, and the Presentation Layer above it, provide reusable services for the applications that reside in the Application Layer.

The Session Layer facilitates a step-by-step interaction between two entities. It establishes the session, manages the dialog to prevent simultaneous transmission, and ends the session gracefully. A single session may continue across one or more connections. Similarly, a single connection may support one or more sessions.

The Presentation Layer deals with the format, or representation, of computer information. It resolves differences between different types of character encoding systems, such as Extended Binary Coded Decimal Interchange Code (EBCDIC) and the American Standard Code for Information Interchange (ASCII) character code. It provides security by encrypting and decrypting data. It also compresses data before transmitting it, to use the communication channel more efficiently.

The Application Layer contains programs that invoke the underlying services of the network. Some of these applications are written specifically for one network, while others are widely used standard applications. When these applications need to communicate with peers over the network, they can use their own protocols, plus the services of the lower layers.

Application Layer programs include:

User applications, such as e-mail or file transfer, provide standard services directly to the user. Each of these applications has its own standard protocol at the Application Layer level.

Application services, such as virtual filestores, provide services to other applications, but not directly to the user. These facilities simplify application development by allowing programmers to use a common service rather than duplicating the same features in every application.

   Activities

See the Activities and Extended Activities section in Unit 1 Lesson 3 in your textbook Local Area Networks to test what you have learned so far.

You will need an Internet connection to be able to take this quiz.

[ Previous Section ] [ Unit Contents ] [ Summary ]