Thursday 30 June 2011

OSI Model and seven layer function

What is the OSI model?

Open System Interconnect

The OSI model is a reference model which most IT professionals use to describe networks and network applications.

The Seven Layers of the OSI Model


Layer
Name
7
6
5
4
3
2
1

The Simple way to remember the layers of the OSI model is to use the handy mnemonic "All People Seem To Need Data Processing":

Layer
Name
Mnemonic

7
Application
All
6
Presentation
People
5
Session
Seem
4
Transport
To
3
Network
Need
2
Data Link
Data
1
Physical
Processing

            The functions-
Layer Seven of the OSI Model
The Application Layer of the OSI model is responsible for providing end-user services, such as file transfers, electronic messaging, e-mail, virtual terminal access, and network management. This is the layer with which the user interacts.
Layer Six of the OSI Model
The Presentation Layer of the OSI model is responsible for defining the syntax which two network hosts use to communicate. Encryption and compression should be Presentation Layer functions.
Layer Five of the OSI Model
The Session Layer of the OSI model is responsible for establishing process-to-process commnunications between networked hosts.
Layer Four of the OSI Model
The Transport Layer of the OSI model is responsible for delivering messages between networked hosts. The Transport Layer should be responsible for fragmentation and reassembly.
Layer Three of the OSI Model
The Network Layer of the OSI model is responsible for establishing paths for data transfer through the network. Routers operate at the Network Layer.
Layer Two of the OSI Model
The Data Link Layer of the OSI model is responsible for communications between adjacent network nodes. Hubs and switches operate at the Data Link Layer.
Layer One of the OSI Model
The Physical Layer of the OSI model is responsible for bit-level transmission between network nodes. The Physical Layer defines items such as: connector types, cable types, voltages, and pin-outs.

The OSI Model vs. The Real World

The most major problem with the OSI model is that is does not map well to the real world!
The OSI was created after many of todays protocols were already in production use. These existing protocols, such as TCP/IP, were designed and built around the needs of real users with real problems to solve. The OSI model was created by academicians for academic purposes.
The OSI model is a very poor standard, but it's the only well-recognized standard we have which describes networked applications.


Layer
Name
Common Protocols

7
Application
SSH, telnet, FTP
6
Presentation
HTTP, SMTP, SNMP
5
Session
RPC, Named Pipes, NETBIOS
4
Transport
3
Network
IP
2
Data Link
1
Physical
Cat-5

The difficulty with this approach is that there is no general agreement as to which layer of the OSI model to map any specific protocol. You could argue forever about what OSI model layer SSH maps to.

A much more accurate model of real-world networking is the TCP/IP model:

TCP/IP Model
Application Layer
Transport Layer
Internet Layer

No comments:

Post a Comment