Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
โ† Networking Basics Level Three ยท Lesson 7 of 11

Module Six

๐Ÿ“– Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
7
Networking Basics Level Three - Module Six

MODULE SIX: NETWORK PROTOCOLS AND COMMUNICATION

1. Introduction

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.

2. Learning Objectives

At the end of this module, learners should be able to:

  • Explain what a network protocol means.
  • Identify common network protocols.
  • Explain the purpose of TCP and UDP.
  • Understand the roles of IP and DNS.
  • Explain how DHCP assigns IP addresses.
  • Understand HTTP and HTTPS.
  • Identify common network port numbers.
  • Explain how information travels across a network.
  • Recognise basic network troubleshooting commands.

3. What Is a Network Protocol?

Definition

A network protocol is a set of rules that allows computers and other network devices to communicate with one another.

Simple Explanation

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.

Example

When you open a website, your computer uses network protocols to communicate with the website's server and request information.

Why Are Protocols Important?

  • They help devices communicate.
  • They organise how information is transferred.
  • They help information reach the correct destination.
  • They support reliable communication.
  • They help protect information during communication.

4. Common Network Protocols

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.

5. Transmission Control Protocol (TCP)

Definition

TCP stands for Transmission Control Protocol. It is a communication protocol that helps deliver data reliably between devices.

Simple Explanation

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.

Important Features of TCP

  • Reliable delivery: It helps ensure data arrives.
  • Ordering: It helps arrange data in the correct order.
  • Error checking: It detects certain transmission errors.
  • Retransmission: Missing data can be sent again.
  • Connection-oriented: It establishes a connection before transferring data.

Where Is TCP Used?

  • Loading many websites.
  • Sending emails.
  • Transferring files.
  • Some remote computer connections.

6. User Datagram Protocol (UDP)

Definition

UDP stands for User Datagram Protocol. It is a communication protocol that sends data without establishing a connection first.

Simple Explanation

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.

Features of UDP

  • It does not establish a connection before sending data.
  • It has low communication overhead.
  • It can be useful when speed is important.
  • It does not guarantee delivery or correct ordering.

Where Is UDP Used?

  • Some online games.
  • Live audio and video communication.
  • Some DNS queries.
  • Real-time communication applications.

Difference Between TCP and UDP

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

7. Internet Protocol (IP)

Definition

IP stands for Internet Protocol. It helps identify devices using IP addresses and guides data towards its destination across networks.

What Is an IP Address?

An IP address is a numerical address assigned to a network interface. It helps devices identify where information should go.

Example of an IPv4 Address

192.168.1.10

This is an example of a private IPv4 address commonly used inside home and office networks.

Types of IP Addresses

  1. IPv4: Uses four groups of numbers separated by dots, such as 192.168.1.10.
  2. IPv6: Uses a longer address format made up of hexadecimal characters.

Why Are IP Addresses Important?

  • They identify network interfaces.
  • They help data reach the correct destination.
  • They support communication between different networks.
  • They help routers decide where to forward information.

8. Domain Name System (DNS)

Definition

DNS stands for Domain Name System. It translates domain names into IP addresses that computers use to communicate.

Simple Explanation

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.

Example

When you enter www.example.com into a browser, the computer can use DNS to find the IP address associated with that domain name.

How DNS Works

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
    

Why Is DNS Important?

  • It makes websites easier to remember.
  • It helps computers locate internet services.
  • It reduces the need to remember numerical IP addresses.

9. Dynamic Host Configuration Protocol (DHCP)

Definition

DHCP stands for Dynamic Host Configuration Protocol. It automatically provides devices with network settings.

Simple Explanation

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.

Information DHCP Can Provide

  • IP address.
  • Subnet mask.
  • Default gateway.
  • DNS server address.

How DHCP Works

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).

10. HTTP and HTTPS

What Is HTTP?

HTTP stands for Hypertext Transfer Protocol. It is used for communication between web browsers and web servers.

What Is HTTPS?

HTTPS stands for Hypertext Transfer Protocol Secure. It uses encryption to protect communication between a browser and a website.

Difference Between HTTP and HTTPS

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.

Why Is HTTPS Important?

  • It helps protect information sent between users and websites.
  • It helps protect login sessions and form submissions.
  • It helps reduce the risk of information being read during transmission.

Remember: HTTPS helps secure communication, but it does not automatically mean that every website is trustworthy.

11. File Transfer Protocol (FTP)

Definition

FTP stands for File Transfer Protocol. It is designed to transfer files between computers over a network.

Simple Explanation

Imagine sending a document from your computer to another computer. FTP is one protocol designed for transferring files.

Common Uses

  • Transferring files to a server.
  • Managing files on some web servers.
  • Moving files between computers.

Standard FTP does not encrypt information. More secure alternatives include SFTP, which uses SSH, and FTPS, which adds TLS protection.

12. Simple Mail Transfer Protocol (SMTP)

Definition

SMTP stands for Simple Mail Transfer Protocol. It is commonly used to send email messages between email systems.

Simple Explanation

When you send an email to a friend, email servers use SMTP to transfer the message towards its destination.

Example

A student sends an assignment to a teacher through an email service. SMTP can help transfer the outgoing message.

13. Secure Shell (SSH)

Definition

SSH stands for Secure Shell. It is a protocol that allows authorised users to access and manage another computer securely over a network.

Simple Explanation

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.

Features of SSH

  • Encrypts communication.
  • Supports secure remote access.
  • Helps administrators manage computers.
  • Can use password or cryptographic-key authentication.

SSH should only be used on systems you own or have permission to administer.

14. Common Network Port Numbers

What Is a Network Port?

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.

15. How Information Travels Across a Network

When you send a message or open a website, information is divided into smaller pieces for transmission. These pieces are commonly called packets.

What Is a Packet?

A packet is a formatted unit of data carried across a network. It contains information that helps the network deliver it.

Simple Network Communication Diagram

       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.

16. Understanding Encapsulation

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
    

17. What Is a Default Gateway?

Definition

A default gateway is the device, usually a router, that a computer sends traffic to when the destination is outside its local network.

Simple Explanation

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.

18. Basic Network Troubleshooting Commands

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.

1. ipconfig

On Windows, the ipconfig command displays information about network settings, such as IP addresses.

ipconfig
    

2. ping

The ping command checks whether another device or server responds over a network.

ping example.com
    

3. nslookup

The nslookup command helps find DNS information for a domain name.

nslookup example.com
    

4. tracert

On Windows, tracert helps show the network route that packets take towards a destination.

tracert example.com
    

5. hostname

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.

19. Practical Activities

Activity One: Identify Your Computer's Network Settings

Goal: Learn how a computer displays its network information.

  1. Use your own Windows computer.
  2. Open Command Prompt.
  3. Type ipconfig.
  4. Press Enter.
  5. Look for the IPv4 address and default gateway.
  6. Write down what each term means.

Activity Two: Understand DNS

Goal: Learn how a domain name is connected to an IP address.

  1. Open Command Prompt on your own computer.
  2. Type nslookup example.com.
  3. Press Enter.
  4. Observe the DNS information displayed.
  5. Explain what the result tells you.

Activity Three: Understand Network Connectivity

Goal: Learn how to check whether a destination responds.

  1. Open Command Prompt.
  2. Type ping example.com.
  3. Press Enter.
  4. Observe whether replies are received.
  5. Explain what a successful reply means.

20. Key Vocabulary

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.

21. Important Things to Remember

  • Network protocols are rules that help devices communicate.
  • TCP provides reliable data delivery.
  • UDP is useful when low delay is important.
  • IP helps address and route information.
  • DNS translates domain names into IP addresses.
  • DHCP automatically provides network settings.
  • HTTP supports communication between browsers and web servers.
  • HTTPS protects web communication with encryption.
  • Ports help identify network services.
  • Routers help move data between networks.

22. Module Six Assessment

Part A: Multiple-Choice Questions

1. What is a network protocol?

  1. A computer screen
  2. A set of communication rules
  3. A keyboard
  4. A printer

2. What does TCP stand for?

  1. Transfer Computer Process
  2. Transmission Control Protocol
  3. Technical Communication Program
  4. Transport Computer Protection

3. Which protocol provides reliable data delivery?

  1. TCP
  2. UDP
  3. DNS
  4. DHCP

4. What does DNS do?

  1. Prints documents
  2. Translates domain names into IP addresses
  3. Charges a computer battery
  4. Creates passwords

5. Which protocol automatically provides network settings?

  1. FTP
  2. HTTP
  3. DHCP
  4. SMTP

6. What is the default port number for HTTPS?

  1. 21
  2. 22
  3. 80
  4. 443

7. Which protocol is commonly used to send emails?

  1. SMTP
  2. DNS
  3. DHCP
  4. IP

8. Which command checks whether a network destination responds?

  1. hostname
  2. ping
  3. mkdir
  4. copy

9. What is a network packet?

  1. A computer cable
  2. A formatted unit of data sent across a network
  3. A computer mouse
  4. A type of monitor

10. Which protocol provides secure remote access?

  1. SSH
  2. HTTP
  3. FTP
  4. POP3

Part B: Short-Answer Questions

  1. Explain what a network protocol means.
  2. State three differences between TCP and UDP.
  3. What is an IP address?
  4. Explain the purpose of DNS.
  5. What does DHCP do?
  6. Explain the difference between HTTP and HTTPS.
  7. What is a network port?
  8. State three network troubleshooting commands.
  9. What is a default gateway?
  10. Explain what a network packet is.

23. Module Summary

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.

End of Module Six

Next Module: Module Seven - Network Security Fundamentals: Understanding network threats, firewalls, encryption and safe networking practices.

๐Ÿ† Get Certified

๐Ÿ”’

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (โ‚ฆ2,000 or 20,000 coins), and get a verified certificate with your name on it.

๐ŸŽ“ Sign Up to Get Certified
๐Ÿ› ๏ธ Practice Tools
Hands-on simulators & labs - subscription required.
โ†’
๐ŸŽฏ Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
โ†’