Learn about various network protocols and the TCP/IP model.
Network protocols are sets of rules or standards used by devices to communicate with each other over a network.
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:
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.
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:
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:
ping
to test connectivityOkay! We've looked at the first two layers of the TCP/IP model. Two to go.
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:
There are a few other not so popular ones too (like RUDP, DCCP etc.), but TCP & UDP are the most common ones.
Okay, onto our final 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.
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: