What is the TCP/IP Model?
Just like human beings, we communicate with each other, it’s important for computers to have a common way to communicate with each other. In today’s time, most computers do this through the TCP/IP model or protocol.
Computers are so powerful that they can do many jobs. Computers’ original or right shine comes when they communicate with each other- whether these activities are chatting, sending email watching content on OTT platforms such as Netflix, Hotstar, etc.
Today, more than 8 billion devices are connected to the internet using this Tcp/Ip model, the vast majority of which fit in the user’s pocket. The creation and mass acquisition of the World Wide Web is the greatest human accomplishment of all time. With the internet, ideas can be shared from any place,24*7, by anyone with a connection. Limits for geographics communication stand no more at this time.
What is a Network Protocol?
A Network protocol does not straightforward define how devices and processes will work, they define how devices and processes will work jointly. Without these fixed conventions and rules, the internet would lack the infrastructure that it needs to be functional and operational. Network protocols are the foundation of present-day communications, without which the digital world could not stand.
Without protocols, devices wouldn’t be able to acknowledge the electronic signals they send to each other over network connections.
Modern protocols for computer networking use packet switching techniques to send and receive messages in the form of packets, where messages are broken down into pieces that are collected and reconstructed at their destination. Many compatible computer network protocols have emerged, each developed for their specific purposes and environments.
A network protocol includes all the regulations and conventions for communication between network gadgets or devices, including ways devices can identify and make connections with
everyone. There are also formatting rules that describe how data is packaged into sent and received messages.
The Internet Protocol (IP) family contains a set of related and popular network protocols. Besides the Internet Protocol itself, distinguished protocols such as TCP, UDP, HTTP, and FTP all merge with IP to provide additional capabilities.
TCP/IP stands for Transmission Control Protocol/ Internet Protocol. It was developed by the Department of Defense (DoD) in the 1960s. The TCP/Ip model is a compact version of the OSI model. It consists of 5 layers as compared to OSI models which have 7 layers.TCP and IP are two independent computer network protocols. IP is the part that obtains the address to which data is sent. TCP manages data delivery once that IP address has been found. Think of it this way: The IP address is like that phone number which the telecom company has provided us. TCP is all the technology that makes the phone ring, which enables us to talk to someone on another phone. They are different from one another, but they are also worthless without one another.
The OSI model describes network communications with a family of protocols. TCP/IP does not belong to this model directly. TCP/IP model combines several OSI layers into a single layer.
TCP/Ip Model Layers:
We need to provide the fundamental information needed by TCP/IP in a standard format the network can understand. This format is supported by its five-layer software model.
Each layer provides TCP/IP with the elementary information that needs to move our data across the network. These layers group functions according to the task that needs to be executed. Each layer in this model is aimed to help a specific layer that performs its job. Each layer only communicates with adjoining layers.
1. Physical Layer is the transceiver that drives the signal on the network.
2. Data Link Layer(MAC) is responsible for creating the frames that move across the network.
3. Network Layer(IP) is responsible for creating the packets that move across the network.
4. Transport Layer helps in establishing connections b/w applications on different hosts machines.
5. Application Layer is a group of applications that require network communications.
Now that we know the principal job of each layer, let’s see how they work together to send and receive data across a TCP/IP network.
This is a simplified view of how the network layers work cooperatively to generate frames. Higher layers pass information to bottom layers. Each layer adds information called a header to the data(or message) being passed to it. This header consists of information the layer needs to perform its job.
The Application layer initiates a message. Mostly the specific application is a web browser requesting a webpage download. This message is then sent or forwarded to the Transport layer.
The Transport layer adds the TCP or UDP header which comprises the source and destination port addresses. Supplementary information like the packet sequence number used for TCP will also be added to the header. The data generated by the transport layer is referred to as a Segment or fragment if TCP is used, and is referred to as a Datagram if UDP is used. This segment is then sent to the Network layer.
The Network layer attaches a header including the source and destination IP address to generate a packet. This packet is then sent to the Data Link layer.
Data Link Layer
The Data Link layer attaches a header containing the MAC address information to create a frame. The frame is then conveyed to the Physical layer to transmit the bits.
The Five Layer Services
|Transport||Logical communication, segment level error detection/correction, guaranteed delivery|
|Network||Host-host communication, data fragmentation, best delivery effort|
|Data Link||Node-node communication, bit-level error detection/correction, best delivery effort|
|Physical||Bit-level data delivery|
The Five Layer: Protocols
|Application||DHCP, DNS, RIP, HTTP, FTP, SMTP|
|Transport||UDP, TCP, ICMP, TLS/SSL|
|Network||IP, ICMP, ARP|
|Data Link||ARP, MAC (Ethernet, DSL)|
|Physical||RZ, Manchester, Differential Manchester, ASK, FSK|
The Five Layer: Addressing
Real-Time Applications based on TCP/Ip Model
There are various real-time applications of TCP/IP that even most people have no knowledge regarding this. They are already using those applications but lack the concept behind them. Some of them are:
➔File Transfer Protocol:- which is used in sending large files
➔Simple Mail Transfer Protocol (SMTP): helps in transmitting electronic mail over the internet.
➔Internet Message Access Protocol (IMAP):- used for retrieving e-mail messages.
➔WWW, Whatsapp, all communication channels and platforms.
Benefits of TCP/Ip Model
➔Industry-standard and open protocol with a scalable architecture.
➔flow control, Error control, and congestion control mechanisms.
➔Unique Identification-provide a unique Ip address making it identifiable over the network.
➔Network Optimization:-It is not designed for small networks.
➔Slow time of Handshake:-whenever a connection is made. TCP handshake between sender and receiver results in connection slow down.
TCP/IP is a well-grounded stream delivery service that guarantees that all bytes received will be uniform and in the same order as those sent. Since packet transfer by many networks is not genuine, TCP attains this using a technique known as positive acknowledgment with retransmission.