TCP_IP Model
TCP_IP Model
TCP/IP Model
Last Updated : 05 Aug, 2024
TCP/IP model was developed alongside the creation of the ARPANET, which
later became the foundation of the modern internet. It was designed with a
focus on the practical aspects of networking at the time. The lower-level
hardware details and physical transmission medium were largely abstracted
away in favor of higher-level networking protocols.
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 1/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
Smaller, typically 20
Header Size Larger, 20-60 bytes
bytes
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 2/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
order.
Application Layer
Transport Layer(TCP/UDP)
Network/Internet Layer(IP)
Network Access Layer
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 4/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
The Internet Layer is a layer in the Internet Protocol (IP) suite, which is the
set of protocols that define the Internet. The Internet Layer is responsible for
routing packets of data from one device to another across a network. It does
this by assigning each device a unique IP address, which is used to identify
the device and determine the route that packets should take to reach it.
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 5/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
destination. When all of the packets have been delivered, your friend’s
computer can reassemble them into the original email message.
In this example, the Internet Layer plays a crucial role in delivering the email
from your computer to your friend’s computer. It uses IP addresses and
routing tables to determine the best route for the packets to take, and it
ensures that the packets are delivered to the correct destination. Without
the Internet Layer, it would not be possible to send data across the Internet.
3. Transport Layer
The TCP/IP transport layer protocols exchange data receipt
acknowledgments and retransmit missing packets to ensure that packets
arrive in order and without error. End-to-end communication is referred to as
such. Transmission Control Protocol (TCP) and User Datagram Protocol are
transport layer protocols at this level (UDP).
TCP: Applications can interact with one another using TCP as though
they were physically connected by a circuit. TCP transmits data in a way
that resembles character-by-character transmission rather than separate
packets. A starting point that establishes the connection, the whole
transmission in byte order, and an ending point that closes the connection
make up this transmission.
UDP: The datagram delivery service is provided by UDP, the other
transport layer protocol. Connections between receiving and sending
hosts are not verified by UDP. Applications that transport little amounts
of data use UDP rather than TCP because it eliminates the processes of
establishing and validating connections.
4. Application Layer
This layer is analogous to the transport layer of the OSI model. It is
responsible for end-to-end communication and error-free delivery of data. It
shields the upper-layer applications from the complexities of data. The three
main protocols present in this layer are:
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 6/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
browser needs to fill out forms, sign in, authenticate, and carry out bank
transactions.
SSH: SSH stands for Secure Shell. It is a terminal emulations software
similar to Telnet. The reason SSH is preferred is because of its ability to
maintain the encrypted connection. It sets up a secure session over a
TCP/IP connection.
NTP: NTP stands for Network Time Protocol. It is used to synchronize the
clocks on our computer to one standard time source. It is very useful in
situations like bank transactions. Assume the following situation without
the presence of NTP. Suppose you carry out a transaction, where your
computer reads the time at 2:30 PM while the server records it at 2:28
PM. The server can crash very badly if it’s out of sync.
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 7/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 8/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
TCP/IP OSI
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 9/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
Conclusion
In conclusion, the TCP/IP model is the backbone of modern internet
communication, allowing different devices and networks to connect and
share information reliably. Despite some complexity and security concerns,
its flexibility, scalability, and widespread adoption make it essential for both
small and large networks. Overall, the TCP/IP model is crucial for ensuring
efficient and effective network communication.
TCP/IP generally works with both the IP that is, IPv4 and IPv6. If you
are using IPv4 or IPv6, it seems that you are already working on TCP/IP
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 10/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
Model.
The OSI Model has seven layers, while the TCP/IP Model has four
layers. The TCP/IP Model is simpler and more practical, making it more
widely used in real-world networking.
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 11/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 12/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
OSI
and
TCP
IP
Model
(Part
1)
OSI
and
TCP
IP
Model
Visit
(Part OSI and TCP IP Model (Part 1) Course
2)
GeeksforGeeks 576
Similar Reads
Computer Network Tutorial
A computer network is a collection of computers or devices connected to share resources. Any device
which can share or receive the data is called a Node. Through which the information or data propagate is…
10 min read
Network Topology
OSI Model
Protocols
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 13/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
TCP/IP Model
TCP/IP Model
The TCP/IP model is a fundamental framework for computer networking. It stands for Transmission
Control Protocol/Internet Protocol, which are the core protocols of the Internet. This model defines how…
13 min read
6 min read
6 min read
7 min read
5 min read
3 min read
5 min read
TCP Timers
TCP uses several timers to ensure that excessive delays are not encountered during communications.
Several of these timers are elegant, handling problems that are not immediately obvious at first analysis…
4 min read
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 14/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
4 min read
5 min read
IP Addressing
Routing
Network Switching
Application Layer:DNS
CN Interview Quetions
CN MCQ
Company Languages
About Us Python
Legal Java
In Media C++
Contact Us PHP
Advertise with us GoLang
GFG Corporate Solution SQL
Placement Training Program R Language
GeeksforGeeks Community Android Tutorial
Tutorials Archive
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 16/17
01/12/2024, 13:35 TCP/IP Model - GeeksforGeeks
https://www.geeksforgeeks.org/tcp-ip-model/?ref=lbp 17/17