Notification texts go here Contact Us Buy Now!

Network Protocols

Network protocols are sets of rules or standards used by devices to communicate with each other over a network.

Some examples of network protocols are:

  • HTTP, used for web browsing
  • SMTP, used for email
  • FTP, used for file transfers

Network protocols can be broadly categorized into "layers". Each layer relies on the layer below it and provides services to the layer above it.

One model that categorizes network protocols into layers is the TCP/IP model. It has 4 layers:

We'll go over each layer individually and look at some examples.


The TCP/IP model has 4 layers.

Link Layer

Let's start by looking at the Link Layer, the bottom-most layer.

It is responsible for sending data over a physical medium, such as a cable or a wireless connection.

Some examples of Link Layer protocols are:

  • Ethernet
  • Wi-Fi
  • Bluetooth


Ethernet is a Link Layer protocol. HTTP, FTP & SMTP are Application Layer protocols.

Internet Layer

The Internet Layer is the next layer. It is responsible for routing data across different networks to get it to the right destination.

The Internet Layer relies on services provided by the Link Layer.

The fundamental protocol in this layer is the Internet Protocol (IP). But there are others too:

  • ICMP, used by programs like ping to test connectivity
  • ARP, used to map IP addresses to MAC addresses

Okay! We've looked at the first two layers of the TCP/IP model. Two to go.

Transport Layer

This layer's job is to provide reliable data transfer between two devices.

The Transport Layer relies on services provided by the Internet Layer.

The most commonly used Transport Layer protocols are:

  • TCP, for reliable delivery of data
  • UDP, for fast but less reliable delivery

There are a few other not so popular ones too (like RUDP, DCCP etc.), but TCP & UDP are the most common ones.

UDP is a good choice for real-time video streaming because it is a fast but not-so-reliable protocol. It doesn't try to retransmit lost packets like TCP, which could cause delays.

Okay, onto our final layer!

Application Layer

This is the top-most layer, where most of the actual applications that we use live.

The Application Layer relies on protocols like TCP/UDP in the Transport Layer.

HTTP, SMTP, FTP etc. are all Application Layer protocols.

Summary

You've now learnt about the TCP/IP model, which categorizes network protocols into 4 layers. This model is also referred to as the "Internet Protocol Suite".

Here's a quick overview of the layers and examples of protocols in each layer them:

Links for further reading:




About the Author

Coding | Riding | Music, Embracing the beauty of code, the thrill of the ride, and the rhythm of life. Let's explore the journey together!

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.
Code Copied!