Open Systems Interconnection Reference Model: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Pat Palmer
(rewording intro)
No edit summary
 
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
The '''OSI 7-layer model''', also known as the ISO OSI model, is a [[communication]] [[Protocol (computer)|protocol]] standard (for [[computer network]]s) produced by the International Standards Organization in the early days of networking (need exact reference). Its ''Open System Interconnect'' model attempts to define all the aspects of a [[Computer network]] [[architecture]] that are likely ever to be needed.
{{subpages}}
{{TOC|right}}
The '''OSI (Open Systems Interconnection) Reference Model''' is a formal model (ISO) <ref name=ISO7498>{{Citation
  | title = Open Systems Interconnection -- Basic Reference Model
  | author = International Organization for Standardization
</ref> of computer networking first published in 1984 by the [[International Organisation for Standardization]] (ISO)<ref>No, ISO as the abbreviation for what would appear to be IOS is correct. The rule was English for the names, but abbreviation derived from the same phrase in French, the sort of politics common in parts of the "formal" standards organizations</ref>. Unfortunately, ISO standards are not freely downloadable.


Throughout the 1980's, the OSI 7-layer model competed with the 3-layer TCP/IP protocol, which originated from an RFC of the IETF (in the United States).  The telecommunications industry adopted the OSI 7-layer model as the standard of choice, but compliance by companies was slow due to the added expense of the 7-layer model over the simpler (and well tried) TCP/IP protocol.
It is widely used in teaching about networks, often causing considerable confusion when the teacher tries to force incompatible [[Internet Protocol Suite]] concepts into it.


Eventually, industry moved almost completely to the simpler TCP/IP model despite many theoretical objections. Nowadays, the OSI 7-layer model is considered to be mainly an "abstract" definition, in that there are few if any "live" implementations. However, the model is widely taught in networking classes as an ideal to strive for.
While the group that originally created ISO 7498 came from a telephony background, and very quickly ran into conflict with the [[IEEE Project 802]] [[local area network]] model and the Internet architects, the telephone network was never based on OSI. Indeed, there was no true reference model for telephone network architecture until the introduction of [[Signaling System 7]] (SS7) and [[Asynchronous  Transfer Mode]] (ATM), which are complementary. Most SS7 and ATM concepts now map into [[Internet Protocol Suite]] and international optical communications architectures; the latter (e.g., G.ASON) are still in some flux, especially as 100 Gbps Ethernet converges with optical transmission methods such as [[dense wavelength division multiplexing]] and pure [[photonic switching]].


==Purpose==
However, it has almost nothing to do with real computer networking today, which is almost entirely based on the [[Internet Protocol]]. The Internet antedates the OSI effort and does not conform to the model. There have been an enormous series of rather complex arguments in which the most extreme positions were something like "The Internet is an irrelevant academic toy; real networking must be done with a solid formal model" and "OSI got it wrong by ignoring the Internet (the only proof of concept that what they were standardising was even possible). The best we can hope for is that it fails before doing too much damage."
The early days of [[Computer network|computer networks]] were dominated by a few large companies such as [[IBM]] and [[DEC]]. In order promote interoperability and avoid a situation where a small number of vendors predominated, each with their own proprietary technology, it was necessary to introduce a set of [[open standards]] defining network protocols.  


Another issue addressed by this model is maintaining the level of flexibility needed to adapt when new innovations are introduced. The earliest [[wide area networks]] (or WANs) ran over telephone lines and were used to link a small number of facilities.  
==The abstractions of layers and relationships among them==
==Extensions to the basic model==
While it may seem odd to recognize extensions before discussing the model itself, it is a practical necessity to understand the historical role of the Open Systems Interconnection Reference Model, including the orientation of the networking specialists that first defined it. It is a necessity to understand that the basic 7-layer model, as typically taught, is an oversimplification of real networking, and this oversimplification was realized very early. The model extensions that dealt with correcting the oversimplifications, but these extensions are very rarely presented in teaching the model, a deficiency leading to unfortunate misunderstanding.


Today, we rarely think about why Internet access has become so ubiquitous. Still, this is quite a technical achievement: a user may be connected to an [[Ethernet]] network, FDDI (Fiber optic) ring or a wireless network in a coffee house. They may also use such diverse methods as DSL, cable, or dialup lines to "get online."
In the late 1970s, some of the first work done on this body was in a committee called Distributed Systems (DISY), under the auspices of the [[American National Standards Institute]]. The work soon become an international project, under a worldwide standards body now called the [[International Telecommunications Union]] (ITU). At the time the DISY work first went global, however, the ITU was called the [[International Consultative Committee for Telephony and Telegraphy]], with the French abbreviation [[CCITT]].  


In each of these case, the software they use is the same, and it is (ideally) unimportant ''how'' one is connected to the Internet. The level of abstraction introduced by the layered model described here is one reason that this is even possible.
CCITT had existed for many years, at a time where worldwide telephone systems were largely run by governments, or at least by approved national monopolies such as [[American Telephone and Telegraph]] (AT&T). The CCITT view of the world was very centralized, and assumed that [[wide area network]]s would be of a form dictated by the national ministries of telephony and other communications called PTTs, or by authorized monopolies called [[Registered Private Operating Agencies]] (RPOA).


==Descriptions of the layers==
==Descriptions of the layers==




Line 25: Line 28:


===Layer 7 (Application)===
===Layer 7 (Application)===
The Application Layer defines the programs themselves, as seen by the user. Web browsers such as [[Firefox]] or [[Internet Explorer]], or command-line utilities such as [[telnet]] and [[FTP]] (not to be confused with the ''protocols'' telnet and ftp), reside on the Application layer.
The Application Layer defines the services provided to user-visible programs, but neither the internal design of such programs nor the interface the programs provide to the end user.  The programs seen by the end user reside on top of the Application layer, but are not in it.
 
Web browsers, such as [[Firefox]] or [[Internet Explorer]], for example, use the [[Hypertext Transfer Protocol]] (HTTP), which is in the Application layer. Especially on UNIX and LINUX systems, there are command-line client programs for the [[telnet]] and [[ftp]] protocols, which, confusingly, are named "telnet" and "ftp" commands. The client programs, nevertheless, mediate between the user interface and the program interface to the application layer service.


===Layer 6 (Presentation)===
===Layer 6 (Presentation)===
Line 36: Line 41:


===Layer 4 (Transport)===
===Layer 4 (Transport)===
Reliable transfer of data is the responsibility of protocols that reside on the Transport layer.  
End-to-end transfer of data is the responsibility of protocols that reside on the Transport layer. There are transport layer protocols that provide both reliable and unreliable end-to-end transfer, and both have legitimate applications.
 
Newer protocols in this area, however, are being developed in the IETF, not ISO, in such applications as voice over IP and streaming video.
 
One significant difference between OSI transport and IETF tranport is that since IETF has no transport layer, TCP has certain features (e.g., graceful close) that OSI assigned to the session layer. Further, OSI Transport classes 0-3 have no real IETF equivalent, but are various levels of shims intended to work over a reliable, connection-oriented [[X.25]]-based network layer.


<div style="float: left; width: 48%">
<div style="float: left; width: 48%">
====Physical devices on this layer include:====
====Physical devices on this layer include:====
</div>
</div>


Line 46: Line 54:


====Network protocols categorized on this layer include:====
====Network protocols categorized on this layer include:====
*The [[Transmission Control Protocol]] (the 'TCP' in TCP/IP, the protocol in use on the [[Internet]])
In the OSI suite, the network data transfer protocols were the Connectionless Network Protocol (CLNP), and the Connection-oriented Network Service (CONS), the latter being an extension of X.25.
 
In the IETF model, the only data transfer protocol is the Internet Protocol (IP), [[Internet Protocol version 4]] for many years, and now [[Internet Protocol version 6]]. There are also layer management protocols such as the [[Internet Control Message Protocol]], [[Internet Group Management Protocol]], and dynamic routing protocols, and IPv6 variants such as Neighbor Discovery.
 
</div>
</div>
<div style="clear: both;">&nbsp;</div>
<div style="clear: both;">&nbsp;</div>
Line 55: Line 66:
<div style="float: left; width: 48%">
<div style="float: left; width: 48%">
====Physical devices on this layer include:====
====Physical devices on this layer include:====
*[[Routers]]
*[[Routers]] can be standalone devices that '''must''' also contain layer 1 and 2 functions, or hosts that also implement layers 1 to 3. Devices that do network protocol encapsulation, for compatibility (e.g., [[Generic Route Encapsulation]]) or security (e.g., [[IPSec Tunnel Mode]]) also may do "layer 3.5".  Stateful firewalls and network address translators often go into the transport layer.
</div>
</div>


Line 70: Line 81:
<div style="float: left; width: 48%">
<div style="float: left; width: 48%">
====Physical devices on this layer include:====
====Physical devices on this layer include:====
*[[Network switches|switches]]
 
*[[Network bridges]]
*[[Network bridges]]
*[[Network Switches]], strictly that don't implement Layer 3 functionality
</div>
</div>


Line 83: Line 95:


===Layer 1 (Physical)===
===Layer 1 (Physical)===
The Physical layer deals with the raw "[[bits]]" or [[Volt|voltages]] "on the wire."
The Physical layer deals with the raw "[[bits]]" or [[Volt|voltages]] "on the wire," [[wireless LAN]] frequencies "in the air" and optical wavelengths "on the fiber".


<div style="float: left; width: 48%">
<div style="float: left; width: 48%">
Line 97: Line 109:
====Network protocols categorized on this layer include:====
====Network protocols categorized on this layer include:====
*Raw [[Volt|voltages]] that represent [[bits]]
*Raw [[Volt|voltages]] that represent [[bits]]
*Repeaters
</div>
</div>
<div style="clear: both;">&nbsp;</div>
<div style="clear: both;">&nbsp;</div>


==Related Topics==
==References==
* [[Computer network]]
{{reflist}}


[[Category:CZ Live]]
[[Category:Flagged for Review]]
[[Category:Computers Workgroup]]

Latest revision as of 06:08, 17 March 2024

This article is developing and not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.

The OSI (Open Systems Interconnection) Reference Model is a formal model (ISO) [1] of computer networking first published in 1984 by the International Organisation for Standardization (ISO)[2]. Unfortunately, ISO standards are not freely downloadable.

It is widely used in teaching about networks, often causing considerable confusion when the teacher tries to force incompatible Internet Protocol Suite concepts into it.

While the group that originally created ISO 7498 came from a telephony background, and very quickly ran into conflict with the IEEE Project 802 local area network model and the Internet architects, the telephone network was never based on OSI. Indeed, there was no true reference model for telephone network architecture until the introduction of Signaling System 7 (SS7) and Asynchronous Transfer Mode (ATM), which are complementary. Most SS7 and ATM concepts now map into Internet Protocol Suite and international optical communications architectures; the latter (e.g., G.ASON) are still in some flux, especially as 100 Gbps Ethernet converges with optical transmission methods such as dense wavelength division multiplexing and pure photonic switching.

However, it has almost nothing to do with real computer networking today, which is almost entirely based on the Internet Protocol. The Internet antedates the OSI effort and does not conform to the model. There have been an enormous series of rather complex arguments in which the most extreme positions were something like "The Internet is an irrelevant academic toy; real networking must be done with a solid formal model" and "OSI got it wrong by ignoring the Internet (the only proof of concept that what they were standardising was even possible). The best we can hope for is that it fails before doing too much damage."

The abstractions of layers and relationships among them

Extensions to the basic model

While it may seem odd to recognize extensions before discussing the model itself, it is a practical necessity to understand the historical role of the Open Systems Interconnection Reference Model, including the orientation of the networking specialists that first defined it. It is a necessity to understand that the basic 7-layer model, as typically taught, is an oversimplification of real networking, and this oversimplification was realized very early. The model extensions that dealt with correcting the oversimplifications, but these extensions are very rarely presented in teaching the model, a deficiency leading to unfortunate misunderstanding.

In the late 1970s, some of the first work done on this body was in a committee called Distributed Systems (DISY), under the auspices of the American National Standards Institute. The work soon become an international project, under a worldwide standards body now called the International Telecommunications Union (ITU). At the time the DISY work first went global, however, the ITU was called the International Consultative Committee for Telephony and Telegraphy, with the French abbreviation CCITT.

CCITT had existed for many years, at a time where worldwide telephone systems were largely run by governments, or at least by approved national monopolies such as American Telephone and Telegraph (AT&T). The CCITT view of the world was very centralized, and assumed that wide area networks would be of a form dictated by the national ministries of telephony and other communications called PTTs, or by authorized monopolies called Registered Private Operating Agencies (RPOA).

Descriptions of the layers

These are the Seven layers in the OSI Model (from highest to lowest):

Layer 7 (Application)

The Application Layer defines the services provided to user-visible programs, but neither the internal design of such programs nor the interface the programs provide to the end user. The programs seen by the end user reside on top of the Application layer, but are not in it.

Web browsers, such as Firefox or Internet Explorer, for example, use the Hypertext Transfer Protocol (HTTP), which is in the Application layer. Especially on UNIX and LINUX systems, there are command-line client programs for the telnet and ftp protocols, which, confusingly, are named "telnet" and "ftp" commands. The client programs, nevertheless, mediate between the user interface and the program interface to the application layer service.

Layer 6 (Presentation)

Such functions as encoding and decoding, encryption, converting to/from various character sets, and the transformation of data structures into and out of XML are examples of functions performed at the Presentation layer.

Layer 5 (Session)

Establishing and managing "sessions" between computers happens at the Session layer. An example is whether full or half duplex is used between two machines.

note: layers 5 through 7 traditionally consist of only protocols, not devices

Layer 4 (Transport)

End-to-end transfer of data is the responsibility of protocols that reside on the Transport layer. There are transport layer protocols that provide both reliable and unreliable end-to-end transfer, and both have legitimate applications.

Newer protocols in this area, however, are being developed in the IETF, not ISO, in such applications as voice over IP and streaming video.

One significant difference between OSI transport and IETF tranport is that since IETF has no transport layer, TCP has certain features (e.g., graceful close) that OSI assigned to the session layer. Further, OSI Transport classes 0-3 have no real IETF equivalent, but are various levels of shims intended to work over a reliable, connection-oriented X.25-based network layer.

Physical devices on this layer include:

Network protocols categorized on this layer include:

In the OSI suite, the network data transfer protocols were the Connectionless Network Protocol (CLNP), and the Connection-oriented Network Service (CONS), the latter being an extension of X.25.

In the IETF model, the only data transfer protocol is the Internet Protocol (IP), Internet Protocol version 4 for many years, and now Internet Protocol version 6. There are also layer management protocols such as the Internet Control Message Protocol, Internet Group Management Protocol, and dynamic routing protocols, and IPv6 variants such as Neighbor Discovery.

 

Layer 3 (Network)

Correct routing of packets happens on the Network layer.

Physical devices on this layer include:

  • Routers can be standalone devices that must also contain layer 1 and 2 functions, or hosts that also implement layers 1 to 3. Devices that do network protocol encapsulation, for compatibility (e.g., Generic Route Encapsulation) or security (e.g., IPSec Tunnel Mode) also may do "layer 3.5". Stateful firewalls and network address translators often go into the transport layer.

Network protocols categorized on this layer include:

 

Layer 2 (Data Link)

The Data Link layer has the "lowest" protocols (the next layer, the Physical layer, deals with actual bits and voltages).

Physical devices on this layer include:

Network protocols categorized on this layer include:

 

Layer 1 (Physical)

The Physical layer deals with the raw "bits" or voltages "on the wire," wireless LAN frequencies "in the air" and optical wavelengths "on the fiber".

Physical devices on this layer include:

  • Cabling such as Category 5 (CAT 5) cable
  • Network cards (NIC cards)
  • Hubs
  • Repeaters

Network protocols categorized on this layer include:

 

References

  1. {{Citation | title = Open Systems Interconnection -- Basic Reference Model | author = International Organization for Standardization
  2. No, ISO as the abbreviation for what would appear to be IOS is correct. The rule was English for the names, but abbreviation derived from the same phrase in French, the sort of politics common in parts of the "formal" standards organizations