Understanding TCP/IP

Understanding the Function of Protocols

Protocols are rules, standards and procedures that enable information to be communicated in the network environment. The rules and standards that control the way in which computers communicate are referred to as protocols.

A few relevant factors to consider when discussing protocols and the network environment are:

The protocol process performed to enable communication, are listed below. The steps are performed at the sending computer from top to bottom. At the receiving computer, this is reversed - the steps are performed from bottom to top.

  1. The data is broken into smaller chunks of data which the protocol can work with. These chunks of data are called packets. A packet is divided into three segments, which in turn include those components which are listed above:
    • Header: The header includes the following:
      • A signal which indicates that data is being sent
      • Source address
      • Destination address
      • Clock information needed for synchronization of the data transmission.
    • Data: This segment of the packet contains the data which is being sent to the receiving computer.
    • Trailer: The trailer segment of a packet normally includes a cyclic redundancy check (CRC) which verifies that the packet is undamaged.
      1. To identify the destination computer, addressing information is added to the data packets.
      2. The data is then moved to the network card for transmission over the network.
      3. At the receiving computer, the data packets are accepted from the network card.
      4. Any transmission information which was appended to the packet by the sending computer is removed.
      5. The data is copied from the packets to the buffer so that it can be reassembled.
      6. The packet is reassembled into the original message and passed to the application.

As mentioned previously, a protocol stack is the grouping of protocols. Within each layer of the protocol stack, specific protocols deal with certain elements and functions that enable computers to communicate.

The protocols in the stack specify the rules at each layer in the OSI model, as follows:

The main standard protocol stacks used in networks today are listed below. At each layer of these protocol stacks, certain protocols work to provide the functions specified for the particular layer.

Computers communicate using connection-oriented protocols, and connectionless protocols.

Protocols are categorized as being either of the following three protocol types:

An Introduction to the TCP/IP Protocol Suite

TCP/IP is the main protocol suite used to provide interoperability between numerous different types of computers. TCP/IP also supports routing, and is supported by the majority of networks today. The TCP/IP protocol suite was developed by the Advanced Research Projects Agency (ARPA) of the Department of Defense during 1969. The protocol was designed to be routable and efficient.

The main protocols in the TCP/IP suite are:

The other protocols which are specific to the TCP/IP protocol suite are:

The primary advantages of using TCP/IP are summarized below:

Includes support for a number of different Internet standard protocols for Web browsing, file and print services, and for transporting mail.

The disadvantages of TCP/IP are summarized below:

With TCP/IP, the port numbers to forward messages to the correct application process. Port numbers are assigned by the Internet Assigned Numbers Authority (IANA), and they identify the process to which a particular packet is connected to. Port numbers are found in the packet header.

The TCP/IP protocol suite stems from the DoD model, and therefore matches to the four layers of the DoD model. It does not therefore precisely map to the OSI model. There is however an association between the seven layers of the OSI model and the four layers of TCP/IP model.

The four layers of TCP/IP are listed below and are discussed in the remainder of this Article.

The Network Interface Layer

The Network Interface layer of the DoD model is associated with the Physical Layer (layer 1) and the Data-link layer (Layer 2) of the OSI model. The Network Interface layer's function is to move bits (0s and 1s) over the network medium.

The common methods used to send and receive data are:

The Internet Layer

The Internet layer of the DoD model handles the packaging, addressing, and routing of data. The Internet layer of the DoD model is associated with the OSI model's Network layer.

The main protocols of the TCP/IP suite that operate at the Internet layer are:

The Host to Host Layer

The Host to Host layer of the DoD model manages the transportation of data, and establishes the connection between hosts to exchange already formatted data. This layer is associated with the Transport layer of the OSI model.

The main TCP/IP protocols operating at the Host to Host or Transport layer are:

TCP and UDP utilize port numbers to forward messages to the correct application process. Port numbers are assigned by the Internet Assigned Numbers Authority (IANA). They identify the process to which a particular packet is connected to, and are found in the packet headers. Numerous well-known TCP and UDP ports exist.

The main port numbers are:

The Application Layer

The Application layer of the DoD model is associated with the Session layer, Presentation layer, and Application layer of the OSI model. Therefore, application layer protocols of the TCP/IP protocol suite functions at these layers. Application layer protocols enable applications to communicate between each other, and also provide access to the services of the lower layers.

The main application layer protocols and services which function at the Application layer of the OSI model are explained below:



Top 5 Free Networking Tools

Bookmark Understanding TCP/IP

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.