x

Choose Country Code

x

Direction

x

Ask a Question

  • Ask a Question
  • Scan a Question
  • Post MCQ
  • Note: File extension must be of jpg, jpeg, png, bmp format and file size must not exceed 5 MB
x

Ask a Question

x

x
x
x
Hire a Tutor

Answers and Solutions

What's Your Question?
Answer

The TCP/IP Reference Model

TCP/IP means Transmission Control Protocol and Internet Protocol. It is the network model used in the current Internet architecture as well. Protocols are set of rules which govern every possible communication over a network. These protocols describe the movement of data between the source and destination or the internet. They also offer simple naming and addressing schemes.

TCP/IP that is Transmission Control Protocol and Internet Protocol was developed by Department of Defence's Project Research Agency (ARPA, later DARPA) as a part of a research project of network interconnection to connect remote machines.

The features that stood out during the research, which led to making the TCP/IP reference model were:

  • Support for a flexible architecture. Adding more machines to a network was easy.
  • The network was robust, and connections remained intact untill the source and destination machines were functioning.

The overall idea was to allow one application on one computer to talk to(send data packets) another application running on different computer.

Different Layers of TCP/IP Reference Model

 

Layer 1: Host-to-network Layer

Lowest layer of the all. Protocol is used to connect to the host, so that the packets can be sent over it. Varies from host to host and network to network.

Layer 2: Internet layer

Selection of a packet switching network which is based on a connectionless internetwork layer is called a internet layer. It is the layer which holds the whole architecture together. It helps the packet to travel independently to the destination. Order in which packets are received is different from the way they are sent. IP (Internet Protocol) is used in this layer. The various functions performed by the Internet Layer are:

  • Delivering IP packets
  • Performing routing
  • Avoiding congestion

Layer 3: Transport Layer

It decides if data transmission should be on parallel path or single path. Functions such as multiplexing, segmenting or splitting on the data is done by transport layer. The applications can read and write to the transport layer. Transport layer adds header information to the data. Transport layer breaks the message (data) into small units so that they are handled more efficiently by the network layer. Transport layer also arrange the packets to be sent, in sequence.

Layer 4: Application Layer

The TCP/IP specifications described a lot of applications that were at the top of the protocol stack. Some of them were TELNET, FTP, SMTP, DNS etc.

TELNET is a two-way communication protocol which allows connecting to a remote machine and run applications on it. FTP(File Transfer Protocol) is a protocol, that allows File transfer amongst computer users connected over a network. It is reliable, simple and efficient. SMTP(Simple Mail Transport Protocol) is a protocol, which is used to transport electronic mail between a source and destination, directed via a route. DNS(Domain Name Server) resolves an IP address into a textual address for Hosts connected over a network. It allows peer entities to carry conversation. It defines two end-to-end protocols: TCP and UDP

  • TCP(Transmission Control Protocol): It is a reliable connection-oriented protocol which handles byte-stream from source to destination without error and flow control.
  • UDP(User-Datagram Protocol): It is an unreliable connection-less protocol that do not want TCPs, sequencing and flow control. Eg: One-shot request-reply kind of service.

Merits of TCP/IP model

It operated independently. It is scalable. Client/server architecture. Supports a number of routing protocols. Can be used to establish a connection between two computers.

Demerits of TCP/IP

In this, the transport layer does not guarantee delivery of packets. The model cannot be used in any other application. Replacing protocol is not easy. It has not clearly separated its services, interfaces and protocols.

Answer

Description of different TCP/IP protocols

Layer 1: Host-to-network Layer

  • Lowest layer of the all.
  • Protocol is used to connect to the host, so that the packets can be sent over it.
  • Varies from host to host and network to network.

Layer 2: Internet layer

  • Selection of a packet switching network which is based on a connectionless internetwork layer is called a internet layer.
  • It is the layer which holds the whole architecture together.
  • It helps the packet to travel independently to the destination.
  • Order in which packets are received is different from the way they are sent.
  • IP (Internet Protocol) is used in this layer.

Layer 3: Transport Layer

  • It decides if data transmission should be on parallel path or single path.
  • Functions such as multiplexing, segmenting or splitting on the data is done by transport layer.
  • The applications can read and write to the transport layer.
  • Transport layer adds header information to the data.
  • Transport layer breaks the message (data) into small units so that they are handled more efficiently by the network layer.
  • Transport layer also arrange the packets to be sent, in sequence.

Layer 4: Application Layer

  • The TCP/IP specifications described a lot of applications that were at the top of the protocol stack.
  • Some of them were TELNET, FTP, SMTP, DNS etc.
  • TELNET is a two-way communication protocol which allows connecting to a remote machine and run applications on it.
  • FTP(File Transfer Protocol) is a protocol, that allows File transfer amongst computer users connected over a network. It is reliable, simple and efficient.
  • SMTP(Simple Mail Transport Protocol) is a protocol, which is used to transport electronic mail between a source and destination, directed via a route.
  • DNS(Domain Name Server) resolves an IP address into a textual address for Hosts connected over a network.
Answer

TCP/IP reference model consists of 3 layers:

1. Host to Network Layer or Network Access layer:

  • Lowest layer
  • It defines how to use the network to transmit the IP Datagram.
  • This layer can encompass the functions of all three lower layers of the OSI reference Model (Physical, Data Link and Network layers).
  • Functions performed at this level include encapsulation of IP datagrams into the frames transmitted by the network, and mapping of IP addresses to the physical addresses used by the network.

2. Internet Layer:

  • The main purpose of this layer is to manage the connections across networks as information is passed from source to destination.
  • It helps the packet to travel independently to the destination.
  • Order in which the packet is received is different from the way it was sent.
  • IP, Internet protocol is used in this layer.

3. Transport layer:

  • The transport layer provides the end-to-end data transfer by delivering data from an application to its remote peer.
  • Two protocols are used in this layer: TCP- connection oriented and UDP- connectionless protocol.

4. Application Layer:

  • It includes the OSI Session, Presentation and Application layers.
  • An application is any process that occurs above the Transport Layer. This includes all of the processes that involve user interaction.
  • The application determines the presentation of the data and controls the session.
  • Protocols used in this layer are : SMTP,POP,HTTP,FTP etc.

Post Answer and Earn Credit Points

Get 5 credit points for each correct answer. The best one gets 25 in all.

Post Answer