Imagine sending a letter to a friend who lives in another country. For the letter to reach your friend, you need an address, a delivery service and rules that guide how the letter should be delivered.
Computers also need rules when communicating with one another. These rules are called network protocols.
Network protocols help computers send, receive and understand information. Without them, devices on a network would find it difficult to communicate properly.
At the end of this module, learners should be able to:
A network protocol is a set of rules that allows computers and other network devices to communicate with one another.
Think about two people speaking different languages. They may find it difficult to understand each other.
Network protocols work like shared languages. They help devices understand how information should be sent and received.
When you open a website, your computer uses network protocols to communicate with the website's server and request information.
Different protocols perform different jobs. Some help deliver information, while others help users browse websites or send emails.
| Protocol | Main Purpose |
|---|---|
| TCP | Provides reliable data delivery. |
| UDP | Provides faster communication without guaranteeing delivery. |
| IP | Helps address and route data across networks. |
| DNS | Translates domain names into IP addresses. |
| DHCP | Automatically provides network configuration to devices. |
| HTTP | Supports communication between web browsers and web servers. |
| HTTPS | Provides encrypted communication for websites. |
| FTP | Transfers files between computers. |
| SMTP | Sends email messages. |
| SSH | Provides secure remote access to computers. |
TCP stands for Transmission Control Protocol. It is a communication protocol that helps deliver data reliably between devices.
Imagine sending a school assignment in several numbered pages. You want your friend to receive every page in the correct order.
TCP helps computers achieve something similar. It checks that data arrives correctly and helps arrange it in the right order.
UDP stands for User Datagram Protocol. It is a communication protocol that sends data without establishing a connection first.
Imagine a teacher making an announcement over a school loudspeaker. The announcement is sent quickly, but the teacher may not receive confirmation that every student heard it.
UDP works in a similar way. It sends information quickly but does not guarantee that every piece of data will arrive.
| TCP | UDP |
|---|---|
| Connection-oriented | Connectionless |
| Provides reliable delivery | Does not guarantee delivery |
| Uses acknowledgements | Does not require acknowledgements |
| Usually has more communication overhead | Usually has less communication overhead |
| Useful when reliable delivery matters | Useful when low delay is important |
IP stands for Internet Protocol. It helps identify devices using IP addresses and guides data towards its destination across networks.
An IP address is a numerical address assigned to a network interface. It helps devices identify where information should go.
192.168.1.10
This is an example of a private IPv4 address commonly used inside home and office networks.
DNS stands for Domain Name System. It translates domain names into IP addresses that computers use to communicate.
Imagine that you want to call a friend. You remember their name but not their phone number. You check your contacts to find it.
DNS works in a similar way. It helps a computer find the IP address connected to a domain name.
When you enter www.example.com into a browser, the computer can use DNS to find the IP address associated with that domain name.
You enter a website name
|
v
Your computer requests DNS information
|
v
A DNS resolver looks for the IP address
|
v
The IP address is returned
|
v
Your browser connects to the website
DHCP stands for Dynamic Host Configuration Protocol. It automatically provides devices with network settings.
Imagine joining a school where every student receives a seat number. The school organises the seats so students know where to sit.
DHCP helps a network organise devices by automatically assigning settings such as IP addresses.
Device joins a network
|
v
Device requests network settings
|
v
DHCP server offers settings
|
v
Device requests the offered settings
|
v
DHCP server confirms the assignment
|
v
Device can communicate on the network
The four main stages are commonly called Discover, Offer, Request and Acknowledgement (DORA).
HTTP stands for Hypertext Transfer Protocol. It is used for communication between web browsers and web servers.
HTTPS stands for Hypertext Transfer Protocol Secure. It uses encryption to protect communication between a browser and a website.
| HTTP | HTTPS |
|---|---|
| Does not provide transport encryption by itself. | Uses encryption to protect communication. |
| Uses port 80 by default. | Uses port 443 by default. |
| Provides no HTTPS-style protection for transmitted content. | Helps protect information from being read or changed while travelling. |
Remember: HTTPS helps secure communication, but it does not automatically mean that every website is trustworthy.
FTP stands for File Transfer Protocol. It is designed to transfer files between computers over a network.
Imagine sending a document from your computer to another computer. FTP is one protocol designed for transferring files.
Standard FTP does not encrypt information. More secure alternatives include SFTP, which uses SSH, and FTPS, which adds TLS protection.
SMTP stands for Simple Mail Transfer Protocol. It is commonly used to send email messages between email systems.
When you send an email to a friend, email servers use SMTP to transfer the message towards its destination.
A student sends an assignment to a teacher through an email service. SMTP can help transfer the outgoing message.
SSH stands for Secure Shell. It is a protocol that allows authorised users to access and manage another computer securely over a network.
Imagine a school computer administrator who needs to manage a computer in another room. SSH can provide a secure way to connect to that computer.
SSH should only be used on systems you own or have permission to administer.
A network port is a number used by transport protocols such as TCP and UDP to identify a particular application or service on a device.
Think of an IP address as the address of a large building. A port number is like the room number that helps identify a particular service inside that building.
| Port | Protocol or Service | Purpose |
|---|---|---|
| 20 and 21 | FTP | Traditional file transfer. |
| 22 | SSH | Secure remote access. |
| 25 | SMTP | Email transfer between servers. |
| 53 | DNS | Domain name resolution. |
| 67 and 68 | DHCP | Automatic network configuration using UDP. |
| 80 | HTTP | Web communication. |
| 110 | POP3 | Receiving email. |
| 143 | IMAP | Accessing email. |
| 443 | HTTPS | Secure web communication. |
| 3389 | RDP | Remote Desktop Protocol. |
These are common default port numbers. Some services can be configured to use different ports.
When you send a message or open a website, information is divided into smaller pieces for transmission. These pieces are commonly called packets.
A packet is a formatted unit of data carried across a network. It contains information that helps the network deliver it.
COMPUTER A
|
v
Network Router
|
v
Internet
|
v
Network Router
|
v
COMPUTER B
The sending device prepares information for transmission. Routers help move packets across networks until they reach the destination.
Encapsulation is the process of adding information to data as it moves through different networking layers.
Think about sending a letter inside an envelope. The letter contains your message, while the envelope contains delivery information.
Networking works in a similar way. Different layers add information needed to deliver data.
Application Data
|
v
Transport Information + Data
|
v
Network Information + Transport Data
|
v
Link Information + Network Data
|
v
Data is transmitted across the network
A default gateway is the device, usually a router, that a computer sends traffic to when the destination is outside its local network.
Imagine living in a neighbourhood and needing to travel to another town. You first use the main road leading out of your neighbourhood.
A default gateway performs a similar role for network traffic travelling to other networks.
Network troubleshooting means finding and understanding problems that stop a network from working correctly.
Network administrators use different commands to check connections and understand network settings.
On Windows, the ipconfig command displays information about network settings, such as IP addresses.
ipconfig
The ping command checks whether another device or server responds over a network.
ping example.com
The nslookup command helps find DNS information for a domain name.
nslookup example.com
On Windows, tracert helps show the network route that packets take towards a destination.
tracert example.com
The hostname command displays the name assigned to a computer.
hostname
| Command | Purpose |
|---|---|
| ipconfig | Displays network configuration on Windows. |
| ping | Checks whether a destination responds. |
| nslookup | Checks DNS information. |
| tracert | Shows the route towards a destination on Windows. |
| hostname | Displays the computer's name. |
Safety reminder: Practise these commands on your own computer or an authorised learning environment. Only test network systems when you have permission.
Goal: Learn how a computer displays its network information.
Goal: Learn how a domain name is connected to an IP address.
Goal: Learn how to check whether a destination responds.
| Word | Meaning |
|---|---|
| Protocol | A set of rules used for communication. |
| TCP | A protocol that provides reliable data delivery. |
| UDP | A protocol that sends data without guaranteeing delivery. |
| IP Address | A numerical address used to identify a network interface. |
| DNS | A system that translates domain names into IP addresses. |
| DHCP | A protocol that automatically provides network settings. |
| HTTP | A protocol used for web communication. |
| HTTPS | Encrypted web communication using HTTP over TLS. |
| Packet | A formatted unit of data sent across a network. |
| Port | A number used to identify an application or service. |
| Gateway | A device that connects a local network to other networks. |
| Encapsulation | The process of adding networking information to data. |
1. What is a network protocol?
2. What does TCP stand for?
3. Which protocol provides reliable data delivery?
4. What does DNS do?
5. Which protocol automatically provides network settings?
6. What is the default port number for HTTPS?
7. Which protocol is commonly used to send emails?
8. Which command checks whether a network destination responds?
9. What is a network packet?
10. Which protocol provides secure remote access?
In this module, we learned that network protocols are rules that allow computers to communicate with one another.
We studied TCP, UDP, IP, DNS, DHCP, HTTP, HTTPS, FTP, SMTP and SSH. We also learned about network ports, packets, encapsulation and default gateways.
Finally, we explored basic troubleshooting commands such as ipconfig, ping, nslookup, tracert and hostname.
Understanding network protocols is important because they form the foundation of communication across home, school, office and internet networks.
Next Module: Module Seven - Network Security Fundamentals: Understanding network threats, firewalls, encryption and safe networking practices.