Introduction to Networking Protocols
Network protocols are a set of well-defined rules through which a user communicates over the internet or intranet. Both ends of the communication channel adhere to these rules for proper information exchange.
Protocols are developed by industry-based people, research institutions, etc. and then once published and accepted by means of international conferences.
These protocols are categorized on multiple bases like some are associated with the transport layer, some are associated with the network layer.
Understanding Networking Protocols
When we look to define the networking models, two kinds of layered models appear into the picture on which the roots of networking are laid –
- OSI Model
- TCP/IP Model
The OSI model is a 7 Layer model which comprises of following layers handling their tasks :
- Application Layer.
- Presentation Layer.
- Session Layer.
- Transport Layer.
- Network Layer.
- Data link layer.
- Physical Layer.
The TCP/IP model contains 4 Layers only in contrast to the OSI model and they only handle the tasks:
- Application Layer.
- Transport Layer.
- Network Access.
- Application layer has the user’s data, handles the encoding mechanisms.
- Transport layer supports communication between the end devices.
- The Internet layer provides logical addressing.
- Network layer controls hardware devices like routers.
- Data link layer is responsible for mac addressing etc and to communicate with the physical layer.
- The physical layer carries all stuff at the hardwired level.
Now let’s understand what an IP address is and what are the networking protocols in association with it.
The IP address is a decimal representation of binary numbers, unique in nature for each device such that it acts as an identity of the device connected to the network. There are two protocols put up in association with this, which are IPv4 and IPv6.
- In the IPv4 addressing, there are public and private IPs. The private IP is accessible inside the network while the public IP is accessible throughout the internet.
How do Networking Protocols Work?
Here let’s first understand how DNS works –
Let’s understand what happens when you click at www.google.com, the client represents your system’s browser here from which you submit a request at the internet, once you hit this URL, the call via channel gets transported to DNS server and it asks a query “what is the address mapped against this URL ?” Now the DNS server has cache installed, it is possible that it may have result already or in the otherwise case it will communicate with other DNS servers and return back an IP. So after the IP resolution, the request from the client reaches the web server of that host.
Types of Networking Protocols
Below are the different types of networking protocols which are as follows:
Refers to Internet Protocol version 6, is the future addressing format, as soon we can see the IPv4 addresses getting exhausted with a rising number of machines and the public IPs being structured up will go into version 6. It offers 3.4*10^34 unique combinations in which addressing can be done and hence could represent a large number of machines connected to the internet. It’s obvious that once it has to be introduced, the routing protocols and hardware may see ample changes in architecture.
This is already an existing technique that we discussed above.
3. The TCP/IP based protocols are further classified into the following :
a. Web Protocols
- HTTP – It stands for HyperText Transfer Protocol, the format of messages, their transmission and web actions associated at client and server end are managed by this protocol. Worldwide web uses it. Runs on port 80.
- HTTPS – It stands for Hyper Text Transfer Protocol Secure, so it seems to be an enhancement of HTTP only. This is used for secure communication hence whenever you are out of the local host world then go by this.
- TLS – It stands for Transport Layer Security, this is a cryptographic protocol that provides end to end communications security over networks, commonly used in transactions, the security is maintained by forgery prevention, data leak prevention, etc.
- SSL – It stands for Secure Sockets Layer, establishes encrypted link between browser and server, SSL certificate is required by the web server. A public and a private key are created cryptographically.
b. File Transfer Protocols
- FTP – File Transfer Protocol is used for file transfer between client and server on a computer network.
- TFTP – Trivial File Transfer Protocol is a way in which the client can get a file and put it into a remote host, the nodes which boot from LAN use it.
- SFTP – SSH File Transfer Protocol, provides a secure connection to transfer files and traverse the file system on local and remote systems.
- FTPS – It’s a secure File Transfer Protocol, TLS support and SSL are added here, we are not using secure shell based protocol.
- SMB – Server Message Block, is used by windows, allows computers within the same network to share files.
- NFS – Network File system is a distributed file system, used in UNIX generally to access files among computers on the same network.
c. Email Protocols
- SMTP – Simple Mail Transfer Protocol, is a push protocol to send an email and Post Office Protocol or Internet Message Access Protocol is used to retrieve those at the receiver side. It is implemented at the application layer.
d. Management Protocols
- Telnet – It is used on the internet and LAN for bilateral text communication, it uses a virtual terminal connection.
- SSH – It is a secure shell based remote login from one computer into another computer. Authentication and security can be taken care of too.
- SNMP – Simple Network Management Protocol, is used for collecting and organizing information about devices in the network and modify the information.
e. Media Protocols
- RTP – Real-time transport protocol, is used for audio and video communication over the network.
- RTSP – Real-time streaming protocol, is a protocol for streaming, it establishes media sessions between endpoints.
We took a superficial idea of the kind of network protocols available and what they have to offer us. How DNS server works and helps in address resolution, IPv4, IPv6 along with some other protocols were discussed.
This has been a guide to What is Networking Protocols. Here we discussed the concepts, different types of Networking Protocols. You can also go through our other suggested articles to learn more-