What is TCP/IP and its difference with OSI Model

Transmission control protocol / Internetworking Protocol (TCP/IP) that define how all transmission are exchanged across the internet. This project is established by Advanced Research Project Agency (ARPA) in 1960. Before it was a known as (ARPANET) Arpa-netwrok. ARPANET developed and called TCP/IP. TCP/IP developed before OSI reference Model. It is also called DOD Model (Department of Defence ).

TCP/IP has four layer:

  1. Application layer
  2. Host to host layer / Transport Layer
  3. Internet layer
  4. Network Access Layer

tcpApplication Layer

It is the layer that work all similar to three layer of OSI model (application,presentation and session layer).It provides the user interface for communication. The protocol in this layer are FTP, SMTP, POP3 etc.

Transport layer / Host to Host Layer

It defines protocol for setting up the level of transmission services for application. This layer allows the host and destination devices to communicate each other to exchange information.

It ensure following:

  • Creating reliable end to end communication.
  • Ensuring error-free delivery of data.
  • Handle packet sequencing.
  • Maintain data integrity.

This layer uses protocol TCP and UDP.

Internet layer

This layer handles how to route the data to its destination and taking care of addressing of hosts by giving IP address.

This layer uses protocol IP, ICMP etc.

Network access layer

It explain how the data is transmitted from the host through the network. It handle the physical addressing of hardware. This layer also responsible to connect different network type to make communication.

This layer uses protocol ATM, Ethernet, Token ring, LAN etc.

TCP/IP vs OSI Reference Model

Differences between them are:

  1. TCP/IP has four layer while OSI Model has seven layer.
  2. TCP/IP is realistic but OSI model is ideal.
  3. TCP/IP uses vertical approach but OSI model uses horizontal approach.
  4. TCP/IP is developed before OSI model.
  5. TCP/IP network layer is provide connectionless services while OSI network layer provide both connectionless and connection oriented service.
  6. TCP/IP transport layer doesn’t guaranties delivery of packets while OSI transport layer does.