2.3

Comparison of the OSI Model and the TCP/IP Model

 

2.3.1

The TCP/IP reference model

Although the OSI reference model is universally recognized, the historical and technical open standard of the Internet is Transmission Control Protocol/Internet Protocol (TCP/IP). The TCP/IP reference model and the TCP/IP protocol stack make data communication possible between any two computers, anywhere in the world, at nearly the speed of light. The TCP/IP model has historical importance, just like the standards that allowed the telephone, electrical power, railroad, television, and videotape industries to flourish. To get up-to-date information on networking models and standards, visit the following websites:

 

2.3

Comparison of the OSI Model and the TCP/IP Model

 

2.3.2

The layers of the TCP/IP reference model

The U.S. Department of Defense (DoD) created the TCP/IP reference model because it wanted a network that could survive any conditions, even a nuclear war. To illustrate further, imagine a world at war, criss-crossed by different kinds of connections - wires, microwaves, optical fibers, and satellite links. Then imagine that you need information/data (in the form of packets) to flow, regardless of the condition of any particular node or network on the internetwork (which in this case may have been destroyed by the war). The DoD wants its packets to get through every time, under any conditions, from any one point to any other point. It was this very difficult design problem that brought about the creation of the TCP/IP model, and which has since become the standard on which the Internet has grown.

As you read about the TCP/IP model layers, keep in mind the original intent of the Internet; it will help explain why certain things are as they are. The TCP/IP model has four layers: the application layer, the transport layer, the Internet layer, and the network access layer. It is important to note that some of the layers in the TCP/IP model have the same name as layers in the OSI model. Do not confuse the layers of the two models, because the application layer has different functions in each model.

Application Layer
The designers of TCP/IP felt that the higher level protocols should include the session and presentation layer details. They simply created an application layer that handles high-level protocols, issues of representation, encoding, and dialog control. The TCP/IP combines all application-related issues into one layer, and assures this data is properly packaged for the next layer.

Transport Layer
The transport layer deals with the quality-of-service issues of reliability, flow control, and error correction. One of its protocols, the transmission control protocol (TCP), provides excellent and flexible ways to create reliable, well-flowing, low-error network communications. TCP is a connection-oriented protocol. It dialogues between source and destination while packaging application layer information into units called segments. Connection-oriented does not mean that a circuit exists between the communicating computers (that would be circuit switching). It does mean that Layer 4 segments travel back and forth between two hosts to acknowledge the connection exists logically for some period. This is known as packet switching.

Internet Layer
The purpose of the Internet layer is to send source packets from any network on the internetwork and have them arrive at the destination independent of the path and networks they took to get there. The specific protocol that governs this layer is called the Internet protocol (IP). Best path determination and packet switching occur at this layer. Think of it in terms of the postal system. When you mail a letter, you do not know how it gets there (there are various possible routes), but you do care that it arrives.

Network Access Layer
The name of this layer is very broad and somewhat confusing. It is also called the host-to-network layer. It is the layer that is concerned with all of the issues that an IP packet requires to actually make a physical link, and then to make another physical link. It includes the LAN and WAN technology details, and all the details in the OSI physical and data link layers.

 

2.3

Comparison of the OSI Model and the TCP/IP Model

 

2.3.3

TCP/IP protocol graph

The diagram shown in the Figure is called a protocol graph. It illustrates some of the common protocols that are specified by the TCP/IP reference model. At the application layer, you will see different network tasks you may not recognize, but as a user of the Internet, probably use every day. You will examine all of these during the course of the curriculum. These applications include the following:

  • FTP - File Transfer Protocol
  • HTTP - Hypertext Transfer Protocol
  • SMTP - Simple Mail Transfer protocol
  • DNS - Domain Name System
  • TFTP - Trivial File Transfer Protocol

The TCP/IP model emphasizes maximum flexibility, at the application layer, for developers of software. The transport layer involves two protocols - transmission control protocol (TCP) and user datagram protocol (UDP). You will examine these, in detail, later in the CCNA curriculum. The lowest layer, the network access layer, refers to the particular LAN or WAN technology that is being used.

In the TCP/IP model, regardless of which application requests network services, and regardless of which transport protocol is used, there is only one network protocol - internet protocol, or IP. This is a deliberate design decision. IP serves as a universal protocol that allows any computer, anywhere, to communicate at any time.

 

2.3

Comparison of the OSI Model and the TCP/IP Model

 

2.3.4

Comparison of the OSI model and the TCP/IP model

If you compare the OSI model and the TCP/IP model, you will notice that they have similarities and differences. Examples include:

Lab Activity

 

In this lab, you will learn to relate the seven layers of the OSI model to the 4 layers of the TCP/IP model as well as name the primary TCP/IP protocols and utilities that operate at each layer.

Similarities

  • both have layers
  • both have application layers, though they include very different services
  • both have comparable transport and network layers
  • packet-switched (not circuit-switched) technology is assumed
  • networking professionals need to know both

Differences

  • TCP/IP combines the presentation and session layer issues into its application layer
  • TCP/IP combines the OSI data link and physical layers into one layer
  • TCP/IP appears simpler because it has fewer layers
  • TCP/IP protocols are the standards around which the Internet developed, so the TCP/IP model gains credibility just because of its protocols. In contrast, typically networks aren't built on the OSI protocol, even though the OSI model is used as a guide. Otherwise it is wrong and poor grammar.

 

2.3

Comparison of the OSI Model and the TCP/IP Model

 

2.3.5

Use of the OSI and the TCP/IP models in the curriculum

Although TCP/IP protocols are the standards with which the Internet has grown, this curriculum will use the OSI model for the following reasons:

  • It is a worldwide, generic, protocol-independent standard.
  • It has more details, which makes it more helpful for teaching and learning.
  • It has more details, which can be helpful when troubleshooting.

Many networking professionals have different opinions on which model to use. You should become familiar with both. You will use the OSI model as the microscope through which to analyze networks, but you will also use the TCP/IP protocols throughout the curriculum. Remember that there is a difference between a model (i.e. layers, interfaces, and protocol specifications) and an actual protocol that is used in networking. You will use the OSI model but the TCP/IP protocols.

You will focus on TCP as an OSI Layer 4 protocol, IP as an OSI Layer 3 protocol, and Ethernet as a Layer 2 and Layer 1 technology. The diagram in the Figure shows that later in the course you will examine one particular data link and physical layer technology out of the many choices available - Ethernet. If you want a preview of Ethernet, visit the Web site below.

 

Summary

This chapter began by describing how layers are used for general forms of communication. In this section, you learned that data travels from a source to a destination over media and that a protocol is a formal description of a set of rules and conventions that govern how devices on networks exchange information.

Following the discussion on layered communication, you learned that:

  • The OSI reference model is a descriptive network scheme whose standards ensure greater compatibility and interoperability between various types of network technologies.
  • The OSI reference model organizes network functions into seven numbered layers:
    • Layer 7 -The application layer
    • Layer 6 -The presentation layer
    • Layer 5 -The session layer
    • Layer 4 -The transport layer
    • Layer 3 -The network layer
    • Layer 2 -The data link layer
    • Layer 1 -The physical layer
  • Encapsulation is the process in which data is wrapped in a particular protocol header before it is sent across the network.
  • During Peer-to-Peer Communications, each layer's protocol exchanges information, called protocol data units (PDUs), between peer layers.

In the last section of the chapter, you learned about the TCP/IP model and it compares to the OSI model. Now that you have a basic understanding of the OSI model, you will start looking at each layer in more depth in the following chapters.