Home > Articles > CompTIA > Network+

The Open Systems Interconnect (OSI) Model for CompTIA Network+

The OSI Model…why was it created? Was it to torture networking students? This article explores the reasons for the creation of this model. It also details this important model for you. Finally, this article describes how this critical tool can be used in actual network troubleshooting.
Like this article? We recommend

There is one topic that plagues the study schedules of anyone that wants to learn anything about networking. The Open Systems Interconnection (OSI) model has haunted all of our studies. The OSI model initially seems to be this ethereal thing that someone just arbitrarily created, but if we look at it critically, we can see the logic that facilitated its creation; once we have that in mind, the benefits of an organized and structured approach for implementing networking protocols across a multilayer hierarchy immediately begins to make sense.

It may not seem like it initially, but the OSI model does provided us a better understanding of protocols and technologies. This better understanding means, we can deploy technologies more effectively, and the added benefits of knowing the mechanics behind a technology are immediately evident when we need to troubleshoot those technologies.

In this article, we will look at where the OSI model came from, how it is organized, what protocols work at each level and how the model can be applied to troubleshooting.

In The Beginning

In the early 70's, scientists working at the Defense Advanced Research Projects Agency (DARPA), an organization within the United States Department of Defense, were working on an idea that would eventually evolve into what we call the public internet. Developed by using concepts that had been employed in a, very early, wide area networking technology they were using called the ARPANET, this idea was called the TCP/IP Model, or less commonly the DoD Model.

The TCP/IP Model employed a hierarchal arrangement of "layers" that governed the design and implementation of specific networking protocols that would enable computers to communicate over a network. This model defined end-to-end connectivity and governances that specified how information would be formatted, addressed, forwarded, routed and received at the distant end. There were a number of protocols that existed during this time that were used by different devices, and communication services between hosts; it was important to implement so kind of standard rules for communication. All this was accomplished by the TCP/IP or DoD Model by defining four distinct abstraction layers (RFC 1122):

  • Application Layer is where applications create user data and communicate this data to other processes or applications on peer or with itself. Protocols found at this level would be SMTP, FTP, SSH, HTTP, etc.
  • Transport Layer provides a uniform networking interface that deals with opening and maintaining connections between hosts. Flow-control, error-correction, and connection protocols exist at this level, to include Transmission Control Protocol TCP.
  • Internet Layer is the layer that establishes internetworking. It would not be an exaggeration to say that it defines and establishes the Internet. The main protocol at this level is Internet Protocol (IP). In the TCP/IP Model this is where routing takes place.
  • Network Access Layer is where the protocols used to describe the local network topology and the interface types used to communication with link local hosts are defined.

This model, as we can see, follows a modular design not only to aid in the education process, but to also allow manufacturers to easily adapt to specific hardware and operating system needs.

The Modern OSI Model

The Open System Interconnection Model, or OSI Reference Model, was created and has evolved to allow us to break the TCP/IP suite into more refined modules. Technically, it is exactly the same as the TCP/IP model, except that there are more layers. This model is currently adopted industry wide because it makes learning and understanding the TCP/IP stack much simpler.

Rather than defining four layers, the OSI model is divided into seven. To accomplish this, the TCP/IP model's Application Layer and Network Layer have been further divided into smaller layers, and the Internet Layer has been renamed to the “Network Layer.” Specifically, the TCP/IP Application Layer has been subdivided into three layers: Application, Presentation and Session Layers. The Network Layer has be divided into two layers: Data Link and Physical Layers. This means the OSI Model has expanded the TCP/IP model to include:

  • Application Layer provides a network interface for applications and supports network applications. This is where many protocols including FTP, SMTP, and POP3 operate. ICMP Ping requests can be sent from this Layer; if these pings are successful, it means that each layer of the OSI model should be functioning properly.
  • Presentation Layer translates data into a standard format, while also being able to provide encryption and data compression. Encryption or data compression does not have to be done at the Presentation Layer, but it can be performed in this layer.
  • Session Layer establishes sessions between applications on a network. This may be useful for network monitoring, using a login system, and reporting. It should be noted that the Session Layer is not used a great deal over networks, but is used heavily use in streaming video and audio, or web conferencing.
  • Transport Layer: due to the fact that network layer does not provide error and flow control in it is introduced in this Layer. The Transport Layer is responsible for keeping a reliable end-to-end connection for the network.
  • Network Layer simply supports logical addressing and routing. The IP protocol operates on the Network Layer. This is where routing takes place.
  • Data Link Layer is what manages how the host interfaces with the network adapter, and can perform basic error checking. In addition to this, it also maintains logical links for any subnets.
  • Physical Layer converts data into streams of electric or analog pulses- commonly referred to as “1’s and 0’s.” Data is broke down into simple electric pulses, and rebuilt at the receiving end.

How It All Works

In order to envision how this process works, we need to imagine two hosts connected via FastEthernet. Imagine that one of the hosts needs to send data to the other. Using a program running at the Application Layer of the OSI model, a user creates data. This data is then passed to the Presentation Layer and then to the Session Layer. These three layers add some additional information to the data that was generated (this process is called encapsulation), and then sends it to the Transport Layer where it is divided into smaller segments. This is why data at the Transport Layer is referred to as segments.

Each of these segments is assigned a sequence number so that the data stream can be reassembled on the receiving host exactly the way it was transmitted. Each segment is then passed on to the Network Layer, where it is assigned a logical address so that it can be routed through the network. Data at the Network Layer is referred to as Packets. Note that at this point these Packets include an IP header, the transport header, and any upper layer information and then sent to the Data Link Layer.

At the Data Link Layer, we refer to this information as a frame. This Layer is responsible for taking packets from the Network Layer and placing them on the physical wire in the form of Bits. The Data Link Layer encapsulates each packet in a frame which contains the Media Access Control (MAC) Address of the source and destination host and any Logical Link Control (LLC) information. It is important to note that the Data Link Layer will employ a Frame Check Sequence (FCS) as part of an error checking process at the receiving host.

This process describes the transmittal of information from one device to another. When information is received by a host, the encapsulation process is described above is reversed. The reversal of this procedure is called de-encapsulation.

Troubleshooting using the OSI Model

Troubleshooting any networking issue is best done using a logical approach, and the OSI Model defines a natural framework for approaching problems. The brilliant part of the OSI model's design is that individual layers can be independently tested and verified using very basic tools and observations:

The Physical Layer

  • Is your network cable connected properly and secure?
  • Are you using the correct cable type?
  • Is your cable damaged or obstructed in any way?

The Data Link Layer

  • Is the link light lit on your network interface card (NIC)?
  • Is your NIC inserted/installed correctly?
  • Is the NIC disabled in Device Manager?
  • Are your wireless settings correct?
  • Is your wireless AP or wireless NIC functioning properly?
  • Are the LEDs on your equipment on/blinking properly?

The Network Layer

  • Can you ping your default gateway?
  • Are your IP address settings correct?
  • Can you tracert a well know IP/DNS address/URL?
  • Has your network adaptor been assigned an APIPA address?
  • Are your DNS / DHCP settings correct?
  • What output do you get from ipconfig, ping, tracert?

The Transport Layer

  • Do you have a firewall configured on your computer?
  • Is your firewall blocking ports such as port 80, 21, 53 etc?
  • Does turning you firewall off resolve the problem?

Application, Presentation, Session Layers

  • Can you view a web page in your browser?
  • Can you send/receive email?
  • Are your username and/or password correct?
  • Are your Internet Explorer connection settings correct?

As we can see the OSI model we can be used to identify or troubleshoot problems like network connection issues as an example.

Conclusion

Almost all networks in the world are based in some way on the OSI model. As we discussed earlier, this model initially came from the US Department of Defense but has evolved and expanded into its current structure in a brief period of time. The seven individual layers of this model govern the different stages that data must transition through in order to move from one device or host to another, over a network. Developers also use the OSI model to ensure that a certain level of compatibility is guaranteed between different vendor devices, by adhering to the general standards outlined by the model. The fact that all vendors use this methodology also makes the layered approach of the OSI Model a very powerful troubleshooting tool that can be used to isolate faults. This makes learning this topic more than worthwhile.

Pearson IT Certification Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Pearson IT Certification and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Pearson IT Certification products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.pearsonitcertification.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020