TCP:IP Reference Model
TCP:IP Reference Model
Is TCP/IP Model
The excess requirement of e cient and error-free data transmission over
communication channels leads us to the discussion of the topic - what is the
TCP/IP model? This tutorial will easily help to make you understand the
basis and need for the TCP/IP model in the network domain. The TCP/IP is
needed for implementing various network applications during the
transmission of data and information over the communication channel.
In this tutorial on what is TCP/IP model is, you will understand the working of
each layer in detail to better understand the functioning of the model.
fi
ffi
ffi
ffi
The History of TCP/IP
The Internet Protocol Suite, or TCP/IP for short, is the set of protocols that
make up the network layer of the Internet.
• TCP/IP was developed during the Cold War as a way for the U.S.
Department of Defense to connect computers within their networks
and with each other across national boundaries. It's been used since
the late 1960s when it was formalized by DARPA and later adopted by
government agencies and universities worldwide as a common
networking standard.
• The rst version of TCP/IP was ARPANET (1975), which stands for
Advanced Research Projects Administration Network. The name
changed to TCP/IP in 1983, when it became an open standard that
could be used on any network.
• To give researchers access to each other's equipment, they needed to
send messages quickly over long distances without having them re-
transmitted by any intermediate nodes along the way. This necessity
led to the development of the Transmission Control Protocol (TCP) and
Internet Protocol (IP). These protocols were intended for machine-to-
machine connections, such as between computers over local area
networks or wide-area networks.
Prerequisite Layers of OSI Model
To understand the OSI model, it is rst necessary to understand the concept
of layering. Layering is a technique used in computer programming to divide
a complex problem or system into smaller, more manageable parts. The OSI
model is a seven-layer model that divides the complexity of network
communications into seven smaller, more manageable parts, each
responsible for a di erent aspect of the communication process.
• Physical layer,
• Data link layer,
• Network layer,
• Transport layer.
• Session layer,
• Presentation layer,
• Application layer.
Each OSI model layer is responsible for a di erent aspect of the
communication process.
fi
ff
fi
ff
Features of the TCP/IP Model
Below mentioned are some of the features that make the TCP/IP model
stand out in the network concepts:
•
The TCP/IP model is among one of the most important network
concepts that contributed to the working of ARPANET.
• The TCP/IP model comprises four layers: the network access layer, the
internet layer, the transport layer, and the application layer (going from
bottom to top).
• The network model is implemented during network and
communication-related issues.
• Communication between di erent modes of network devices is
possible through the application of various layers.
• The layers in the model provide maintenance of communication
channels, ow control, and reliability check format, among other
applications in the form of protocols.
Now go ahead and continue with the next topic in this tutorial on ‘what is the
TCP/ IP model’, which includes the layers of the TCP/IP model.
• Application layer
• Transport layer
• Internet layer
• Network Access layer
Each layer performs a speci c task on the data that is being transmitted over
the network channel, and data moves from one layer to another in a preset
pattern as mentioned below:
fl
ff
fi
ff
ff
The above model represents the ow of data when it is being transmitted
from the sender side. In the case of data being received, the layers of the
model work in reverse order.
Application Layer
This is the topmost layer which indicates the applications and programs that
utilize the TCP/IP model for communicating with the user through
applications and various tasks performed by the layer, including data
representation for the applications executed by the user and forwards it to
the transport layer.
fl
The application layer maintains a smooth connection between the
application and user for data exchange and o ers various features as remote
handling of the system, e-mail services, etc.
This layer is responsible for establishing the connection between the sender
and the receiver device and also performs the task of dividing the data from
the application layer into packets, which are then used to create sequences.
Internet Layer
The Internet layer performs the task of controlling the transmission of the
data over the network modes and enacts protocols related to the various
steps related to the transmission of data over the channel, which is in the
form of packets sent by the previous layer.
This layer performs many important functions in the TCP/IP model, some of
which are:
1. It is responsible for specifying the path that the data packets will use
for transmission.
2. This layer is responsible for providing IP addresses to the system for
the identi cation matters over the network channel.
Some of the protocols applied in this layer are:
•IP: This protocol assigns your device with a unique address; the IP
address is also responsible for routing the data over the
communication channel.
• ARP: This protocol refers to the Address Resolution Protocol that is
responsible for nding the physical address using the IP address.
The last layer in the network model is the network access layer.
fi
fi
Network Access Layer
• It uses the physical address of the system for mapping the path of
transmission over the network channel.
• Till this point in this tutorial on what is TCP/IP model, you understood
the basic idea behind the model and details about its layers, now
compare the model with another network model.
How Does TCP/IP Work?
The TCP/IP protocol suite is the set of communication protocols used to
connect hosts on the Internet. TCP/IP allows computers on the same
network to identify and communicate with each other. TCP/IP is a two-layer
protocol, with the transport layer (TCP) responsible for reliable end-to-end
communication and the Internet layer (IP) accountable for routing packets
from the host to the host.
In turn, the TCP Protocol governs how packets move from one place to
another on a network, and the UDP Protocol governs how packets move
within a single machine or between two devices on a local area network
(LAN). Without TCP/IP, there would be no way for computers to
communicate over the internet.
• The Application Layer: The application layer is closest to the end user.
And this is the layer that users interact with directly, including protocols
such as HTTP, FTP, and SSH. This layer is responsible for providing
applications with access to the network.
• The Transport Layer: The transport layer ensures that data is delivered
reliably and e ciently from one point to another. This layer handles
data transmission between hosts, including protocols like TCP and
UDP.
ffi
ffi
ff
ff
• The Internet Layer: The network layer is responsible for routing data
through the web. This layer delivers data packets from one host to
another, including the IP protocol.
• The Link Layer: The link layer provides reliable data links between the
two nodes — for example, protocols like ethernet and Wi-Fi.
Protocols Used
There are four main protocols used in TCP/IP: the Transmission Control
Protocol (TCP), the User Datagram Protocol (UDP), the Internet Protocol (IP),
and the Internet Control Message Protocol (ICMP).
There are some other protocols also notable, and there are,
Advantages of TCP/IP:
Uses of TCP/IP
Here are some of the most valuable uses of TCP/IP models:
• World Wide Web: TCP/IP transfers data between web browsers and
servers.
• Email: Applications such as Outlook, Thunderbird, and Gmail use TCP/
IP protocols to send and receive emails.
• File Transfer: FTP, SFTP, and other le transfer services rely on TCP/IP
to move les from one computer to another.
• Networking: TCP/IP links computers together in a network.
• Virtual Private Networks: VPNs use TCP/IP to encrypt data before it
travels across a public or private network.
• Internet of Things: Many smart home devices use TCP/IP to
communicate and transfer data.
ff
ff
fi
fi
fi
fl
fi
• Voice Over Internet Protocol: VOIP services such as Skype and Google
Voice use TCP/IP to transmit calls over the internet.
Conclusion
In this ‘What is TCP/IP model’ tutorial, you understood the network
communication details about data, which includes the basic idea behind the
working of the model, the functioning of each layer in the model, and also
how the data is restructured to achieve e cient transmission over the
communication channel.
ffi