Open System Interconnect Model



Before getting started with the ISO-OSI Model, we should know why there is a need for such a model and what is used for?

In 1984, an organization known as ISO released a conceptual model called the OSI model because different vendors and companies used different standards protocols form factors for communication purposes in computer networks. To ensure, national and worldwide data communication, systems must be developed that are compatible with communicating with each other ISO has developed a standard.

To Learn More: 

Open Systems Interconnection (OSI) Model Explained

This comprehensive guide delves into the OSI model, a conceptual framework used to understand and implement standard protocols in networking. The OSI model is essential for network engineers and cybersecurity professionals to design and troubleshoot complex network architectures efficiently.


The ISO-OSI model is a 7-layer architecture. It defines seven layers or levels in a complete communication system. They are:

  1. Application Layer
  2. Presentation Layer
  3. Session Layer
  4. Transport Layer
  5. Network Layer
  6. Data Link Layer
  7. Physical Layer

Layer 1 – The Physical Layer

The physical layer of the OSI model defines connector and interface specifications, as well as the medium (cable) requirements. Electrical, mechanical, functional, and procedural specifications are provided for sending a bitstream on a computer network.

Components of the physical layer include:

  • Cabling system components
  • Adapters that connect media to physical interfaces
  • Connector design and pin assignments
  • Hub, repeater, and patch panel specifications
  • Wireless system components
  • Parallel SCSI (Small Computer System Interface)
  • Network Interface Card (NIC)

In a LAN environment, Category 5e UTP (Unshielded Twisted Pair) the cable is generally used for the physical layer for individual device connections. Fiber optic cabling is often used for the physical layer in a vertical or riser backbone link. The IEEE, EIA/TIA, ANSI, and other similar standards bodies developed standards for this layer.

Note: The Physical Layer of the OSI model is only part of a LAN (Local Area Network).


Layer 2 – The Data Link Layer

Layer 2 of the OSI model provides the following functions:

  • Allows a device to access the network to send and receive messages
  • Offers a physical address so a device’s data can be sent to the network
  • Works with a device’s networking software when sending and receiving messages
  • Provides error-detection capability

Common networking components that function at layer 2 include:

  • Network interface cards
  • Ethernet and Token Ring switches
  • Bridges

NICs have a layer 2 or MAC address. The switch uses this address to filter and forward traffic, helping relieve congestion and collisions on a network segment.

Bridges and switches function similarly; however, bridging is normally a software program on a CPU, while switches use Application-Specific Integrated Circuits (ASICs) to perform the task in dedicated hardware, which is much faster.


Layer 3 – The Network Layer

Layer 3, the network layer of the OSI model provides an end-to-end logical addressing system so that a packet of data can be routed across several layer 2 networks (Ethernet, Token Ring, Frame Relay, etc.). Note that network layer addresses can also be referred to as logical addresses.

Initially, software manufacturers, such as Novell developed proprietary layer 3 addressing. However, the networking industry has evolved to the point that it requires a common layer 3 addressing system. Internet Protocol (IP) addresses make networks easier to both setup and connect with one another. The Internet uses IP addresses to provide connectivity to millions of networks around the world.

To make it easier to manage the network and control the flow of packets, many organizations separate their network layer addressing into smaller parts known as subnets. Routers use the network or subnet portion of the IP addressing to route traffic between different networks. Each router must be configured specifically for the networks or subnets that will be connected to its interfaces.

Routers communicate with one another using routing protocols, such as Routing Information Protocol (RIP) and the Open version of Shortest Path First (OSPF), to learn of other networks that are present and to calculate the best way to reach each network based on a variety of criteria (such as the path with the fewest routers). Routers and other networked systems make these routing decisions at the network layer.

When passing packets between different networks, it may become necessary to adjust their outbound size to one that is compatible with the layer 2 protocol that is being used. The network layer accomplishes this via a process known as fragmentation. A router’s network layer is usually responsible for the fragmentation. All reassembly of fragmented packets happens at the network layer of the final destination system.

Two of the additional functions of the network layer are diagnostics and the reporting of logical variations in normal network operation. While the network layer diagnostics may be initiated by any networked system, the system discovering the variation reports it to the original sender of the packet that is found to be outside normal network operation.

The variation reporting exception is content validation calculations. If the calculation done by the receiving system does not match the value sent by the originating system, the receiver discards the related packet with no report to the sender. Retransmission is left to a higher layer’s protocol.
Some basic security functionality can also be set up by filtering traffic using layer 3 addressing routers or other similar devices.



Layer 4 – The Transport Layer 

Some of the functions offered by the transport layer include:

  • Application identification
  • Client-side entity identification
  • Confirmation that the entire message arrived intact
  • Segmentation of data for network transport
  • Control of data flow to prevent memory overruns
  • Establishment and maintenance of both ends of virtual circuits
  • Transmission-error detection
  • Realignment of segmented data in the correct order on the receiving side
  • Multiplexing or sharing of multiple sessions over a single physical link

The most common transport layer protocols are the connection-oriented TCP Transmission Control Protocol (TCP) and the connectionless UDP User Datagram Protocol (UDP).


Layer 5 – The Session Layer

Layer 5, the session layer, provides various services, including tracking the number of bytes that each end of the session has acknowledged receiving from the other end of the session. This session layer allows applications functioning on devices to establish, manage, and terminate a dialog through a network. Session layer functionality includes:
  • The virtual connection between application entities
  • Synchronization of data flow
  • Creation of dialog units
  • Connection parameter negotiations
  • Partitioning of services into functional groups
  • Acknowledgments of data received during a session
  • Retransmission of data if it is not received by a device

Layer 6 – The Presentation Layer

Layer 6, the presentation layer, is responsible for how an application formats the data to be sent out onto the network. The presentation layer basically allows an application to read (or understand) the message. Examples of presentation layer functionality include:

  • Encryption and decryption of a message for security
  • Compression and expansion of the message so that it travels efficiently
  • Graphics Formatting
  • Content translation
  • System-specific translation

Layer 7 – The Application Layer

Layer 7, the application layer, provides an interface for the end-user operating a device connected to a network. This layer is what the user sees, in terms of loading an application (such as a Web browser or e-mail); that is, this application layer is the data the user views while using these applications. Examples of application-layer functionality include:

  • Support for file transfers
  • Ability to print on a network
  • Electronic mail
  • Electronic messaging
  • Browsing the World Wide Web

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Ok, Go it!