Types of Internet Protocols

Key Types of Internet Protocols

To move data across the massive web of the internet, systems rely on a combination of different protocols working together at different layers. Here are the most critical internet protocols you must know.


1. Transmission Control Protocol (TCP)

TCP operates at the Transport Layer. It is a Connection-Oriented protocol, meaning it establishes a formal connection between the sender and receiver before sending any data (using a "Three-Way Handshake").

The TCP 3-Way Handshake

Before TCP sends any actual data, the two computers must formally agree to communicate. This is exactly how it works:

Client Server 1. SYN (Synchronize) 2. SYN-ACK (Acknowledge) 3. ACK (Acknowledge)

(Security Note: Hackers exploit this process using a "SYN Flood DDoS Attack". They send millions of step 1 "SYN" requests to a server, but intentionally never reply with step 3. The server leaves millions of connections half-open, waiting forever, until its memory is completely exhausted and it crashes).

2. User Datagram Protocol (UDP)

UDP also operates at the Transport Layer, but it is Connectionless. It simply fires the data at the receiver as fast as possible without checking to see if it actually arrived.

3. Internet Protocol (IP)

IP is the foundational protocol of the Internet Layer. Its sole job is to provide the logical addressing mechanism so packets know where to go.

4. Internet Control Message Protocol (ICMP)

ICMP is a supporting protocol used by network devices (like routers) to send error messages and operational information.

5. Address Resolution Protocol (ARP)

ARP is the protocol that bridges the gap between logical and physical networking. It translates a known IP Address (Layer 3) into an unknown MAC Address (Layer 2) on a local network.


Deep Dive: IPv4 vs IPv6

Why did we have to upgrade from IPv4 to IPv6?

Subnetting and CIDR

Because IPv4 addresses are so rare and expensive, network engineers use Subnetting to divide a single large network into smaller, efficient chunks so no IP addresses are wasted. You will often see IP addresses written with a slash, like 192.168.1.0/24. This slash is called CIDR notation (Classless Inter-Domain Routing), and it tells routers exactly how big the subnet block is.


Knowledge Check

?

Which protocol is "connectionless," extremely fast, and frequently used for live video streaming and online gaming?