0% found this document useful (0 votes)
13 views3 pages

Understanding the TCP/IP Model Explained

The TCP/IP reference model has 4 layers instead of the 7 layers in the OSI model. It is named after its two primary protocols: the Transmission Control Protocol (TCP) which operates at the Transport Layer, and the Internet Protocol (TCP) which operates at the Internet Layer. The four layers are: 1) Host to Network Layer, 2) Internet Layer, 3) Transport Layer, and 4) Application Layer. The Internet Layer is responsible for routing packets to their destination using IP addresses. The Transport Layer establishes connections between hosts and ensures reliable transmission of packets using TCP or unreliable transmission using UDP.

Uploaded by

Anonymous Osssbj
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views3 pages

Understanding the TCP/IP Model Explained

The TCP/IP reference model has 4 layers instead of the 7 layers in the OSI model. It is named after its two primary protocols: the Transmission Control Protocol (TCP) which operates at the Transport Layer, and the Internet Protocol (TCP) which operates at the Internet Layer. The four layers are: 1) Host to Network Layer, 2) Internet Layer, 3) Transport Layer, and 4) Application Layer. The Internet Layer is responsible for routing packets to their destination using IP addresses. The Transport Layer establishes connections between hosts and ensures reliable transmission of packets using TCP or unreliable transmission using UDP.

Uploaded by

Anonymous Osssbj
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

TYBCA SEM 5 2016

What is TCP/IP reference model?

We have already discussed that we need a common set of rules to


communicate between different computers in the heterogeneous
computer network. One such common set rule is specified in TCP/IP
reference model. This is equivalent to the already discussed ISO-OSI
reference model. But it has 4 layers instead of 7 layers.

TCP/IP reference model named after two of its primary protocols. That
is Transmission Control Protocol which resides in Transport Layer and
the other one is Internet Protocol which resides in Internet Layer

What is a Protocol?

Protocol is a set of rules. Thus Transmission Control Protocol (TCP)


means it is a set rules followed to perform the functionalities of
Transport Layer. Similalry Internet Protocol means it is a set of rules
followed to perform the functions of Interent layer in the TCP/IP
reference model

HETA J DESAI SDJ INTERNATIONAL COLLEGE,VESU NT


TYBCA SEM 5 2016

1) Host to Netwrok Layer: The job of this layer is to transmit the


packets given by the Internet layer from the Host to the network to
which the Host connected.

2) Internet Layer: The job of this layer is to create the packet which is
known as Datagram and route it to the proper destination. It adds a lot
of control information so as to make the packet reach the correct
destination. The protocol present in this layer is known as Internet
Protocol (IP). IP is a connectionless protocol. Different pakcets created
in this layer may not follow the same path to reach the destination. For
example you want to send some packets to a Server in New York then
some packets may be sent through a specific route and some packets
may be sent through some other route and may not be the same route.
Why is it doing this? This is because, if a specific route through which it
sent the packet becomes busy then it will send the packet through
some other route. Becuase of this it may so happen that the packet
may not reach the destination in sequence and it will be the job of
upper layer to arrange the packets in proper sequence and recreate the
message.

3) Transport layer: The task of this layer is to establish the connection


between the peer entities in the source and destination host. Two
protocols reside in this layer one is Transmission Control Protocol (TCP)
which is reliable, connection oriented protocol and the other one is the
User Datagram Protocol (UDP) which is unreliable, connectionless
protocol. Other function of TCP is to flow control between the slower
and faster entities. TCP is also responsible for the errorless transmission
of packets from source to destination. At the source TCP divides the
stream of bits it receives from the upper layer and creates packets and
gives it to the Internet Layer. At the destination it assembles the
packets receieved in proper sequence even if the packets are received
out of sequence, check for errors and if any, it is notified to the

HETA J DESAI SDJ INTERNATIONAL COLLEGE,VESU NT


TYBCA SEM 5 2016

Transport layer at the source machine and the Transport Layer at the
source machine resends the requested packet.

4) Application Layer: Different types of application and the protocols


reside in this layer and they handle different types of communication

Protocols and networks in the TCP/IP family

HETA J DESAI SDJ INTERNATIONAL COLLEGE,VESU NT

Common questions

Powered by AI

The TCP/IP reference model, with its four-layer design, reflects its development primarily for use in practical networking and real-world applications like ARPANET, differing from the theoretical orientation of the OSI model. TCP/IP was developed with an emphasis on end-to-end connectivity and robust, scalable networking features necessary for early Internet use, combining functionalities into fewer layers for efficiency. Unlike the OSI model, with seven distinct layers, TCP/IP integrates its application, presentation, and session tasks into a single application layer, focusing on established standards and practical deployment .

The Transport Layer in the TCP/IP model is primarily responsible for establishing connections between peer entities in the source and destination hosts. It manages data flow control, particularly handling differences in speed between the source and destination, by using TCP to adjust the rate of data transmission, ensuring efficient and reliable communication. This flow control prevents data loss by matching transmission rates to the receiving capabilities of slower network components .

The Internet Layer in the TCP/IP reference model ensures that data packets reach the correct destination by creating packets known as datagrams and adding control information necessary for routing. If a particular route becomes busy, the Internet Protocol (IP) dynamically selects alternative routes, which means different packets may take different paths. This leads to a challenge in data sequencing, as packets may arrive at the destination out of order. It becomes the responsibility of the upper layers to rearrange these packets in the correct sequence to recreate the original message .

The purpose of the Host to Network layer in the TCP/IP model is to transmit the packets provided by the Internet layer from the Host to the network to which the Host is connected. It essentially acts as the interface for physical network operations, facilitating the movement of packets onto the network infrastructure. It doesn't perform higher-level protocols' tasks and relies on the Internet layer to handle packet creation and routing .

The use of IP as a connectionless protocol within the Internet Layer presents challenges such as out-of-order packet delivery, lack of inherent error correction, and potential packet loss, requiring higher layers to manage these issues. However, it benefits from simplified network architecture and efficient use of resources, as packets do not need to establish a dedicated path. Instead, they can dynamically find the fastest route, adapting to network changes and congestion, enhancing scalability and robustness of the network .

Protocols in the TCP/IP model, particularly the Internet Protocol (IP), accommodate dynamic route changes by allowing data packets to take alternative paths when a specific route becomes congested or fails. This dynamic routing capability ensures robust and seamless packet delivery across the network despite temporary or persistent disruptions in certain paths. The impact of this flexibility is seen in potential out-of-sequence packet arrival, as different paths may have varying delivery speeds, necessitating higher-layer protocols to manage ordering and integrity .

TCP manages error detection and packet sequencing by assembling received packets into the correct sequence even if they arrive out of order at the destination. It checks for errors in the data and, if any are detected, the destination machine's TCP notifies the source machine’s Transport Layer, requesting the retransmission of the erroneous packet. This mechanism ensures data integrity and accurate reconstruction despite issues encountered during transmission .

The Application Layer in the TCP/IP model manages protocols designed for specific communication tasks such as HTTP, FTP, and SMTP, each corresponding to different application scenarios. Unlike lower layers, which deal with general data transfer and networking tasks (like routing and error-checking), the Application Layer protocols focus on user-centric functionalities, offering direct support for addressing user needs at the interface level and handling a diverse range of application requirements .

The key functions of the Internet Protocol (IP) within the Internet Layer of the TCP/IP model include creating packets called datagrams, routing the packets to the destination across potentially complex networks, and handling packet assembly and delivery without ensuring sequence order or error-checking. As IP is connectionless, it allows packets to take varied routes to the destination to avoid congestion, which can result in out-of-sequence delivery .

In the TCP/IP transport layer, TCP (Transmission Control Protocol) is responsible for reliable, connection-oriented communication. It ensures errorless transmission of packets and maintains flow control to manage data transfer between slower and faster entities. Conversely, UDP (User Datagram Protocol) is unreliable and connectionless, providing a minimal, faster service without guarantees for packet delivery order or loss. This means that TCP is suitable for applications needing accurate delivery, while UDP is suitable for applications where speed is vital and some data loss is acceptable .

You might also like