What is TCP/IP?
TCP/IP enables communication end-to-end for the internet, defining how data is packetized and addresses the transmission, routing, and reception of packets. Although used together, the TCP and IP protocols have distinct purposes.
TCP determines how applications create communication channels across networks and manages the assembly of message packets before their transmission over the internet. It provides a structure for how packets are reassembled once they arrive at their destination.
IP handles the formatting of addresses and how packets are routed. Once packets arrive at a gateway computer, the IP address is used to confirm where the message will be forwarded.
TCP/IP is structured into four layers:
Application Layer
This layer handles communication node-to-node from user interfaces. It uses additional protocols such as FTP, HTTP, HTTPS, NTP, and TELNET.
Transport or Host-to-Host Layer
TCP within the host-to-host layer keeps data delivery error-free.
Internet Layer
This sends the data packets to their destination, comprising the logic of all transmissions.
Link Layer
This is the physical transmission layer where the IP address is added, and the data is transmitted between two connected devices within a network.
The system allows for the transportation of vast amounts of data in packets. These packets may take different routes to the end destination, allowing faster resolution for packets that encounter problems or corruption in transit.
The functionality of the layer structure standardizes communication and frees up hardware and software resources. Each packet must traverse all four layers outgoing and in incoming, with the arriving data is displayed in its original format.
TCP/IP is effective in the two-way, fast transmission of data over internet connections based on its use of a three-way “handshake”.
Once the connection is established, the device originating the communication and the server synchronize packets and acknowledge them before the commencement of communication. Then, connectivity is negotiated, separated, and transferred.
The protocols of TCP/IP Suite
Application Layer
HTTP (HyperText Transfer Protocol)– A foundation protocol for data distribution in the World Wide Web. The hyperlinked files you browse in the Network by clicking the links are the HTTP implementations.
HTTPS(HTTP Secure)– An extension of HTTP for secure communication. You may have noticed a green pane in the browser address bar as an indication of a secure site.
FTP(File Transfer Protocol)– A standard protocol for transferring files on the Network.
Telnet – A protocol for remote logging a host with a text-based interface and bi-directional communication utilizing virtual terminal communication.
SSH (Secure Shell)– An encrypted method of remote logging, generally used for remote command execution in a device.
SMTP (Simple Mail Transfer Protocol)- Standard protocol for sending emails.
POP (Post Office Protocol)- Protocol for receiving the emails. The commonly used version is POP-3.
SNMP (Simple Network Management Protocol)– A protocol for managing devices in a network. The network devices like a router, switch, firewalls, etc. managed from a centralized console.
DNS (Domain Name System)– Protocol for a domain name to IP address resolution.
Transport Layer
TCP (Transmission Controlled Protocol)- It is One of the transport layer protocols. TCP is a connection-oriented and reliable protocol used in TCP/IP protocol suite.
UDP (User Datagram Protocol) - Another well-known transport layer protocol. It is connectionless, unreliable, and suitable for real-time applications.
Internet Layer
IPv4 and IPv6 (Internet Protocol v4 & v6)– IP is the network layer protocol for logical addressing and routing the packets over the networks.
ICMP (Internet Control Message Protocol)- It is a supporting protocol in the IP layer. It is used for displaying the error messages, indicating the connection status, etc. The examples are Ping, tracert, etc. commands. ICMPv6 is the implementation of ICMP in IPv6.
IPSec (Internet Protocol Security)- It is a security add-on upon IPv4 and an integrated part of IPv6. The mechanism for encrypting the packets over an IP network. Also, the base of the secure connection like a Virtual Private Network (VPN).
IGMP(Internet Group Management Protocol)- Mostly used by the routers to manage the multicast groups in IPv4.
ARP(Address Resolution Protocol) – Protocol for mapping network to link-layer. It is used to get the MAC-address for a known IP address.
RARP(Reverse Address Resolution Protocol) – Reverse of ARP, a protocol used for mapping MAC address to an IP address. ARP sends IP to get MAC, whereas RARP sends MAC to get IP.
Link Layer
PPP (Point to Point Protocol) - PPP itself is a network layer protocol, but two extensions of PPP, viz. PPPoE and PPPoA, PPP over Ethernet, and PPP over ATM are link layer protocols for encapsulating PPP frames into Ethernet, and ATM respectively. These protocols are used by ISPs to deliver DSL lines.
SLIP(Serial Line Internet Protocol) - Encapsulation of IP over serial lines. It is mostly replaced by PPP.
LLDP (Link Layer Discovery Protocol) - Protocol used by network devices for advertising their various parameters. It is mostly used for network monitoring and management.
DLCI (Data Link Connection Identifier) - Identification of the virtual circuit used by Frame Relay.
HDLC(High-Level Data Link Control) - An extension of IBM’s SLDC (Synchronous Data Link Control) used in SNA (Systems Network Architecture). Allows transmission of frames over a synchronous or asynchronous serial link.