Computer Networks · OSI Model
Reference Models and Need for Layered Architecture
Overview
A network must support nearly 70 distinct functions, so a framework is needed to decide how to implement them.
Reference models solve this by classifying related functions into groups and assigning each group to a layer; implementing a layer means implementing the functionalities assigned to it.
Key concepts
- Reference Model: A framework that classifies the many functions a network must perform into groups and assigns each group to a layer.
- Need for classification: A network has nearly 70 distinct functions/requirements to be implemented. Related functions must be grouped together and separated from unrelated ones so they can be implemented in an organised way.
- Implementing a layer: Implementing a layer means implementing the set of functionalities assigned to that layer.
- Multiple reference models: Several reference models exist; each divides all functionalities into groups and assigns one group per layer.
How it works
- A complete network must support nearly 70 functions (the requirements of communication).
- The next question is how to implement them.
- A reference model classifies the functions, decides in which layer each should be implemented, and separates closely related functionalities from unrelated ones.
- Based on these groupings, each reference model divides all functionalities into groups and assigns one group per layer.
- Implementing a layer means implementing the functionalities assigned to that layer.
Comparison
| Reference Model | Notes |
|---|---|
| ISO OSI | Important reference model; specifies the functionalities of each layer by grouping functions and assigning one group per layer. In syllabus. |
| TCP/IP | Next important reference model. In syllabus. |
| ATM | Another reference model. |
| X.25 | Another reference model. |
| IEEE | Mainly deals with LAN technologies. |
Revision summary
- A network must implement nearly 70 functions; reference models exist to group and place them into layers.
- A reference model divides functionalities into groups, with one group assigned per layer.
- Implementing a layer = implementing the functionalities assigned to that layer.
- Important reference models: ISO OSI, TCP/IP, ATM, X.25, IEEE.
- IEEE mainly deals with LAN technologies.
- ISO OSI and TCP/IP are the models in the syllabus and are covered in detail.
Previous-year exam insights
- The OSI reference model has 7 layers, in order: Physical, Data Link, Network, Transport, Session, Presentation, Application; the TCP/IP model has 4 layers (Network Access/Host-to-Network, Internet, Transport, Application) — the OSI Session and Presentation layers are merged into the TCP/IP Application layer.
- A reference model is a conceptual blueprint that defines which functions belong to which layer; a protocol architecture/protocol stack is the actual implementation of those layers with specific protocols.
- Layering provides modularity, easier design/debugging, interoperability between vendors, and independence of layers (a layer uses only the services of the layer below and provides services to the layer above); the cost is header overhead and some duplication of functionality.
- In OSI, each layer communicates logically with its peer layer on the remote host (peer-to-peer protocol), while actual data passes physically down and up the stack; each layer adds its own header (encapsulation) at the sender and removes it (decapsulation) at the receiver.
- The OSI model was developed by ISO and is a reference model (never fully implemented as a protocol suite); the TCP/IP model is the de facto standard actually used on the Internet.
- Services are provided at the boundary between adjacent layers via Service Access Points (SAPs); a layer's interface to the layer above defines the services it offers, hiding implementation details.
OSI and TCP/IP Layer Stacks
Drawing the diagram…
Shows the seven OSI layers and four TCP/IP layers, with the OSI Session and Presentation layers merged into the TCP/IP Application layer.