1 of 21

SLO # 5: �Network Communication and Protocols��Sub topic: 5.2 OSI Model Adapted by: Younus Bashir

2 of 21

Differentiate among seven layers of Open System Interconnection (OSI) model;�Cognitive level: Understanding

Student Learning outcome # 5.2.1

3 of 21

OSI MODEL

  • The International Standards Organization (ISO) based in Geneva, developed standards for international and national data communications.
  • In the early 1970s, ISO developed a standard model of a data communication system.
  • The Open System Interconnection (OSI) model describes how data is sent and received over a network.
  • This model breaks down data transmission over a series of seven layers. Each layer has a responsibility to perform specific tasks.

4 of 21

  • In OSI model, control is passed from one layer to the net, starting at the application layer in one station and proceeding to the bottom layer (the physical layer), over the physical link to the next station.

5 of 21

Layer 7- Application Layer

[Software layer]

[Provides services to end user]

  • Application provides services to end-user.
  • It interacts with operating system or application software whenever user wants to send files, read messages or perform other network related activities.
  • This is an application like Firefox, Outlook, or Internet Explorer.

6 of 21

Layer 6- Presentation Layer

[Software layer]

[Converts data into standard format]

  • Presentation layer is also called the Translation layer.
  • The data from the application layer is extracted here and manipulated as per the required format to transmit over the network and can be understand by other layers.
  • At the receiving end it also formats the information so that it looks the way the user can understand. (See image)
  • Functions of presentation layers are:

Translation, encryption/ decryption, compression.

7 of 21

Layer 5- Session Layer

[Software layer]

[Session establishment, maintenance and termination]

  • Session layer enables two applications or two pieces of the same application to communicate across the network.
  • It performs security, name recognition, logging and other similar functions.
  • It also establishes, maintains and ends communication with the receiving computer.

8 of 21

Layer 4- Transport Layer

[Heart of Operating system]

[Session establishment, maintenance and termination]

  • Transport layer establishes connections between two computers on the network. 
  • It is responsible for the End to End delivery of the complete message.
  • Transport layer also provides the acknowledgment of the successful and right format data transmission.
  • It re-transmits the data if an error is found.

9 of 21

Layer 3- Network Layer

[Hardware Layer]

[Selects physical path-way]

  • Network layer decides which physical path-way the data should take to reach the destination.
  • It also takes care of packet routing i.e. selection of the shortest path to transmit the packet, from the number of routes available.
  • The sender & receiver’s IP address are placed in the header by network layer.

10 of 21

Layer 2- Data Link Layer

[Hardware Layer]

[Defines format of data on the network]

  • Data link layer defines the format of data on the network. This layer converts the data into packets and checks them before putting them on the path-way.
  • When a packet arrives in a network, it is the responsibility of DLL to transmit it to the Host using its MAC address.

11 of 21

Layer 1- Physical Layer

[Hardware Layer]

[Defines cables and signaling]

  • Physical layer defines cables and signaling. It provides hardware means such as cables and connectors for sending and receiving data.

12 of 21

13 of 21

14 of 21

Identify protocols and devices used on every layer of OSI model; �Cognitive level: Understanding

Student Learning outcome # 5.2.1

15 of 21

Protocol

A protocol is a set of rules and conventions that govern how computers exchange information over a network medium.

16 of 21

Layers of OSI Model

Protocol Name

Function

Device Used

Physical Layer

X.25 & IEEE 802

Provides hardware such as cables and connectors for sending and receiving data.

Cables and connectors

e.g fiber, wireless.

Data link Layer

X.25 & IEEE 802

Places data packets on to the pathway for transmission.

Switches and NICs

Network Layer

Internet protocol

Controls routing and forwarding of data between the source and destination.

Router

Transport Layer

TCP, UDP

Transfers data between source and destination and is responsible for error recovery and flow control.

Router

Session Layer

NetBIOS, WinSock

Starts and stops communication sessions between applications.

Router and gateway

Presentation Layer

Windows OS, SSL, SSH, JPEG, MP3, ASCII & ANSI

Converts data into a format that can be carried by the lower layer or converts data into that application layer can understand

Gateway

Application Layer

HTTP, FTP, SMTP

Provides interaction between the end user and software

Gateway

Protocols and devices used at different layers

17 of 21

It’s easy to remember the sequence of OSI Model 7 Layers using this simple sentence: ��“All people seem to need data processing.”�All = Application Layer�People= Presentation Layer�Seem = Session Layer�To = Transport Layer�Need = Network Layer�Data = Data Link Layer�Processing = Physical Layer�

18 of 21

Past Paper Review Questions:��

19 of 21

Past Paper Review Questions:��

20 of 21

Past Paper Review Questions:��

21 of 21

Resources

Computer Science grade 11�National Book Foundation