Theory & Practical Classes Lectures

TCP IP Model and its Layers

OSI vs TCP/IP

OSI is a conceptual model used for network communication. It is not implemented entirely, but it is still referenced today.

On the other hand TCP IP is fully based on practical implementation which make internet possible.

This OSI model consists of seven layers, and each layer is connected to each other. The data moves down the OSI model, and each layer adds additional information. The data moves down until it reaches the last layer of the OSI model. When the data is received at the last layer of the OSI model, then the data is transmitted over the network. Once the data is reached on the other side, then the process will get reversed.

TCP IP has four layers where the first Application layer includes first three layers of OSI model and the fourth layer includes the last two layers of OSI model.

Transmission Control Protocol/Internet Protocol (TCP/IP) are two different communication protocols. TCP splits a message to packets which were transmitted across the internet whereas the IP is accountable to address of every packet hence a chance to forward the exact destination.

Previously, there was no TCP/IP and no method for the computers to perform effortlessly over public networks. The main function of TCP/IP is that it governs how the information is sent and received in the form of packets between source and destination.

So in short, we can say that TCP defines the communication in a network and how to send data in the form of packets. IP manages how to make the route for packets to make sure it reaches its defined destination. Before the data is sent its IP address is checked then it is determined where to forward the data.

TCP/IP uses the same model as the Open Systems Interconnection (OSI) model. It uses the client/server model type of communication where a user or machine (a client) is provided a service by another computer (a server) in the network.

Layers of TCP/IP

TCP/IP has four layers which are as follows:-

  1. Application Layer
  2. Transport Layer
  3. Internet layer
  4. Network access layer

Let us learn about each of the four layers.

Application layer

It is a Top most layer which is equivalent to Application, Presentation and Session layer of OSI model.

It acts as an interface between the application programs and has the same capable features of Application, Presentation and Session layer of OSI model.

It uses protocols like SMTP, HTTP, HTTPS, FTP, NTP, SSH, Telnet SNMP etc all work on this layer.

In this layer, data acts as a Protocol Data Unit (PDU).

Host-to-Host layer

It is equivalent to the transport layer of the OSI model and is responsible for delivery of data.

It depends on which type of protocol is used whether it's Transmission Control Protocol (TCP) or User Datagram Protocol (UDP).

If reliable delivery of data is needed, then TCP will be used. UDP is used, if fast delivery without reliability is needed.

In this layer, TCP and UDP the protocols which are used and data acts as a Protocol Data Unit (PDU).

Internet layer

It is equivalent to the Network layer of the OSI model. Logical addressing and routing is performed at this layer by using the IP address of a device.

At this layer the routers forward the packet on the basis of IP addresses of devices. IP is the most important protocol at this layer

The protocols used at this layer are Internet Control Message Protocol (ICMP) and Internet Group Management Protocol (IGMP).

PDU at this layer is Packet.

Network Access layer

It is equivalent to the Data link layer and Physical layer of the OSI model. Hardware addressing is done at this layer.

It defines protocols for physical transmission of data. Ethernet is the most important protocol used at this layer.

Fast Ethernet, Token Ring and Fiber Distributed Data Interface (FDDI) are other protocols at this layer.

PDU at this layer is called frame.

TCP IP Model and its Layers What is TCP/IP Model TCP/IP Protocol Architecture TCP/IP Protocol 4 Layers TCP IP Vs OSI Model TCP IP Model Layers TCP IP Model Architecture TCP IP Model 4 Layers How TCP/IP Works How TCP/IP Protocol Works How Does TCP/IP Protocol Work Function of TCP IP Protocol Function of Layers in TCP/IP Model Explain TCP/IP Protocol Suite Differentiate Between TCP and IP Difference between TCP/IP and OSI Model What is TCP/IP Model TCP/IP Protocol Architecture TCP/IP Protocol 4 Layers TCP IP Vs OSI Model TCP IP Model Layers TCP IP Model Architecture TCP IP Model 4 Layers How TCP/IP Works How TCP/IP Protocol Works How Does TCP/IP Protocol Work Function of TCP IP Protocol Function of Layers in TCP/IP Model Explain TCP/IP Protocol Suite Differentiate Between TCP and IP Difference between TCP/IP and OSI Model What is TCP/IP Model TCP/IP Protocol Architecture TCP/IP Protocol 4 Layers TCP IP Vs OSI Model TCP IP Model Layers TCP IP Model Architecture TCP IP Model 4 Layers How TCP/IP Works How TCP/IP Protocol Works How Does TCP/IP Protocol Work Function of TCP IP Protocol Function of Layers in TCP/IP Model Explain TCP/IP Protocol Suite Differentiate Between TCP and IP Difference between TCP/IP and OSI Model TCP IP Model and its Layers

Free Tutorial of Web Development

HTML, CSS, Java Script, PHP & MySQL

Free Tutorial of Web Design

HTML, CSS, Java Script

24 Important Interview Questions

Frequently Ask in Interview Panel

Online Competitive Mock Test

Open Book Examination