The Seven OSI Layers
The OSI model has seven layers, each one required for carrying out a specific function.
- Layer 7 - Application layer
- Layer 6 - Presentation layer
- Layer 5 - Session layer
- Layer 4 - Transport layer
- Layer 3 - Network Layer
- Layer 2 - Data link layer
- Layer 1 - Physical layer
|
Let's look at each layer in more detail, starting the uppermost layer.
Layer 7: Application Layer
This layer is application specific. It is the closest layer to the user. It provides services to user applications. Services include checking that a communication exists, establishing and synchronizing the communication and user authentication. In effect, the application layer prepares the data to be transferred on down through the layers and over to the receiving device.
Examples of services and protocols that operate at layer 7 are..
HTTP |
- Hypertext Transfer Protocol |
SMTP |
- An Email Protocol |
POP |
- An Email Protocol |
FTP |
- File Transfer Protocol |
Telnet |
- A Terminal Connection Protocol |
Layer 6: Presentation Layer
This layer presents the data in a form such that the data is exchangeable between network devices. .Both ends of the connection agree on points like the format of the data, compression, and encoding /decoding methods to use.
As an example, the network file system, (NFS) operates at layer 6 (and layer 7). Imagine you can access files on a remote server, such that the files appear as if they are on your own local drive and you can perform normal operations such as cut, copy paste etc. Suppose the NFS file server is a Linux machine that uses forward-slashes in folder names but you are on a Windows machine that uses back-slashes. When you access the remote NFS server's directory then the data must be presented differently to you on your client machine, - folders must be displayed to you with back-slashes instead. This is the type of task the presentation layer has to perform.
Examples of layer 6 protocols are..
NFS |
- Network File System |
Layer 5: Session Layer
This layer provides services to the presentation layer by opening up, managing and terminating sessions between the communicating devices.
Examples of layer 5 protocols are..
RPC |
- Remote Procedure Call |
NetBIOS |
- A Windows Protocol |
Layer 4: Transport Layer
The transport layer is responsible for managing the flow of data between the two communicating devices. It is also responsible for, error detection and recovery, requesting re-transmission of data if an error in the data is detected.
Importantly, at this layer, data is segmented at the sending end and reassembled at the receiving end. As an analogy, think of a train with different compartments. This is the first layer where transport of data becomes an issue. The upper layer are concerned with application issues, whereas the lower layers, including this layer are concerned with transport issues.
Examples of layer 4 protocols are..
TCP |
- Transport Control Protocol |
UDP |
- User Datagram Protocol |
SPX |
- Sequenced Packet Exchange |
NetBEUI |
- A Windows Protocol |
Layer 3: Network Layer
The network layer is concerned with the path data has to take to reach the receiving device. It includes logical addressing so packets can be routed to the correct destination. One example of a logical address is an IP address. Whereas at the layer above, the transport layer, divided the data into segments, at this layer, the data is placed into units called packets.
Examples of layer 3 protocols are..
IPX |
- Internetwork Packet Exchange |
IP |
- Internet Protocol |
ICMP |
- Internet Control Messaging Protocol |
ARP |
- Address Resolution Protocol |
RIP |
- Routing Information Protocol |
Layer 2: Data Link Layer
The data link layer deals with reliable delivery at the lowest physical level. It is concerned with network topology, controlling the flow of frames and error notification. It is also concerned with addressing - not with logical addressing like the upper network layer but with with physical addressing. An example of a physical address is a MAC address. This layer is actually divided into two sublayers, the Logical Link Control (LLC) sublayer and the Media Access Control)( MAC) sublayer.
Whereas the network layer above puts data into packets, and the transport layer above that sections the data into segments, at this layer the data is placed into units called frames.
Layer 1: Physical Layer
The physical layer deals with the data in the form of electrical pulses, light or radio signal, depending on the media over which the data must be transmitted. The data is converted into a bit-stream and transmitted over the media. This layer deals with timing issues, voltage levels, and physical distances. It also defines cables, cards, connectors and other physical aspects.
~~ Activity~~
Activity A |
-
To familiarize yourself with the function of each OSI layer, why not draw up a table,and list the different functions of each layer.
-
Are you familiar with all the protocls, such as HTTP, FTP etc. Look through the protocols used at within various OSI layers and research any you are not familiar with. I would recommend becoming familiar with HTTP, FTP, IP, TCP, UDP, ARP and RIP
- Try the flash card memory aid activity on OSI Layers
|
|