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

Module Two

๐Ÿ“– 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.
3
Networking Basics โ€“ Level Three **Module Two: Advanced IP Addressing and Subnetting This module introduces IP addressing and subnetting using simple explanations, everyday examples, step-by-step calculations, tables, and practical exercises suitable for a 13-year-old learner. ``` Networking Basics Level Three - Module Two

NETWORKING BASICS โ€“ LEVEL THREE

MODULE TWO: ADVANCED IP ADDRESSING AND SUBNETTING

Introduction

Welcome to Module Two of Networking Basics Level Three! In Module One, you learned about network architecture, network topologies, different types of networks, and network performance.

In this module, we are going to learn how computers identify themselves and communicate with other devices on a network. We will explore IP addresses, IPv4, IPv6, subnet masks, CIDR notation, subnetting, and VLSM.

Imagine a large school with 500 students. Every student has a unique admission number that helps the school identify them. Without these numbers, it would be difficult to know which student belongs to a particular record.

Computer networks work in a similar way. Devices use IP addresses to identify themselves and communicate across networks.

Learning Objectives

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

  • Explain the meaning of an IP address.
  • Understand the difference between IPv4 and IPv6.
  • Identify public and private IP addresses.
  • Understand IPv4 address classes.
  • Explain subnet masks.
  • Understand CIDR notation.
  • Identify network and host portions of an IP address.
  • Perform basic subnetting calculations.
  • Understand Variable Length Subnet Masking (VLSM).
  • Explain the meaning of supernetting.

LESSON ONE: UNDERSTANDING IP ADDRESSES

1.1 What Is an IP Address?

An IP address is a unique logical address assigned to a device on an IP network. It helps devices identify one another and send information to the correct destination.

IP stands for Internet Protocol.

Think about your home address. If someone wants to send a letter to you, they need to know where you live. Without an address, the letter may not reach the correct person.

An IP address performs a similar job in computer networking. It helps information reach the correct device.

1.2 Why Do Computers Need IP Addresses?

IP addresses are important for several reasons:

  1. Identification: They help identify devices on an IP network.
  2. Communication: They allow devices to send and receive information.
  3. Routing: Routers use IP addresses to forward data towards its destination.
  4. Network Organisation: They help organise devices into different networks.

1.3 Example of an IP Address

An example of an IPv4 address is:

192.168.1.10

This address contains four numbers separated by full stops. Each number is called an octet.

The four octets are:

192 . 168 . 1 . 10
 |     |   |    |
 1st   2nd 3rd  4th
Octet Octet Octet Octet

Each octet can contain a number between 0 and 255.

1.4 Understanding an IP Address Through an Example

Imagine a school with four computer laboratories. Each computer needs an address so that the network can identify it.

Device IP Address
Computer 1 192.168.1.10
Computer 2 192.168.1.11
Computer 3 192.168.1.12
Printer 192.168.1.20
Router 192.168.1.1

These devices have different IP addresses within the same example network. This helps the network distinguish between them.

1.5 Important Things to Know About IP Addresses

  • IP addresses help identify devices on IP networks.
  • Two devices should not have the same IP address on the same network at the same time.
  • IP addresses can be assigned manually or automatically.
  • Routers use IP addresses to forward information.

Remember This

An IP address works like a digital address. It helps information find the correct device on a network.


LESSON TWO: UNDERSTANDING IPv4 ADDRESSING

2.1 What Is IPv4?

IPv4 stands for Internet Protocol Version 4. It is one of the most widely used systems for assigning addresses to devices on computer networks.

IPv4 uses a 32-bit address. This means every IPv4 address contains 32 binary digits.

A binary digit is called a bit. It can only have one of two values:

  • 0
  • 1

An IPv4 address is divided into four groups of eight bits. Each group is called an octet.

2.2 Structure of an IPv4 Address

Consider this IPv4 address:

192.168.1.10

It contains four octets:

192       168       1         10
 |         |        |          |
8 bits   8 bits   8 bits    8 bits

Total = 32 bits

2.3 Understanding Binary Numbers

Computers use binary numbers to process information. Unlike the decimal number system we use every day, binary uses only 0 and 1.

The decimal system uses ten digits, from 0 to 9. The binary system uses only two digits.

Each position in an 8-bit binary number has a value.

Bit Position Value
1st128
2nd64
3rd32
4th16
5th8
6th4
7th2
8th1

2.4 Converting Binary to Decimal

Let us convert the binary number 00001010 into a decimal number.

The binary number is:

0 0 0 0 1 0 1 0

Now look at the positions containing 1.

128 64 32 16 8 4 2 1
 0   0  0  0 1 0 1 0

Add the values where 1 appears:

8 + 2 = 10

Therefore:

00001010 = 10

2.5 Converting Decimal to Binary

Now let us convert the decimal number 13 into binary.

We look for values that can be added together to make 13.

8 + 4 + 1 = 13

The 8-bit positions are:

128 64 32 16 8 4 2 1
 0   0  0  0 1 1 0 1

Therefore:

13 = 00001101

2.6 Why Is Binary Important in Networking?

Binary is important because computers process information using binary values. IP addresses and subnet masks are also represented in binary when computers perform network calculations.

2.7 Range of an IPv4 Octet

An IPv4 octet contains eight bits. The smallest possible value is 0, while the largest is 255.

Binary Decimal
00000000 0
00000001 1
00001010 10
01100100 100
11111111 255

Remember This

IPv4 uses 32 bits divided into four octets. Each octet contains eight bits and has a decimal range from 0 to 255.


LESSON THREE: UNDERSTANDING IPv6 ADDRESSING

3.1 What Is IPv6?

IPv6 stands for Internet Protocol Version 6. It was developed to provide a much larger number of IP addresses than IPv4.

As more computers, smartphones, smart televisions, cameras, and other devices connect to the internet, the number of available IPv4 addresses becomes limited.

IPv6 helps solve this problem by providing an extremely large address space.

3.2 Structure of an IPv6 Address

IPv6 uses a 128-bit address. Unlike IPv4, which uses four decimal numbers separated by dots, IPv6 uses hexadecimal numbers separated by colons.

An example of an IPv6 address is:

2001:0db8:0000:0000:0000:ff00:0042:8329

This address contains eight groups called hextets. Each group represents 16 bits.

2001 : 0db8 : 0000 : 0000 : 0000 : ff00 : 0042 : 8329
  |      |      |      |      |      |      |      |
 16     16     16     16     16     16     16     16
bits   bits   bits   bits   bits   bits   bits   bits

Total = 128 bits

3.3 What Is Hexadecimal?

Hexadecimal is a number system that uses 16 symbols. It includes the numbers 0 to 9 and the letters A to F.

Decimal Hexadecimal
00
11
22
33
44
55
66
77
88
99
10A
11B
12C
13D
14E
15F

3.4 IPv6 Address Shortening

IPv6 addresses can sometimes contain many zeros. To make them easier to write, certain zeros can be removed using shortening rules.

For example:

Full address:
2001:0db8:0000:0000:0000:ff00:0042:8329

Shortened address:
2001:db8::ff00:42:8329

Two important rules are:

  1. Leading zeros in an individual group can be removed.
  2. A continuous sequence of zero groups can be replaced by a double colon (::), but only once in an address.

3.5 Differences Between IPv4 and IPv6

Feature IPv4 IPv6
Address Size 32 bits 128 bits
Format Decimal Hexadecimal
Separator Full stop (.) Colon (:)
Example 192.168.1.10 2001:db8::1
Address Capacity About 4.3 billion addresses About 3.4 ร— 1038 addresses

3.6 Advantages of IPv6

  • Provides a much larger number of addresses.
  • Supports modern internet communication.
  • Provides features that support efficient routing.
  • Supports automatic address configuration.
  • Reduces the need for address conservation techniques such as NAT in many network designs.

Remember This

IPv4 uses 32 bits, while IPv6 uses 128 bits. IPv6 provides a much larger address space for the growing number of internet-connected devices.


LESSON FOUR: PUBLIC AND PRIVATE IP ADDRESSES

4.1 What Is a Public IP Address?

A public IP address is an address that can be used for communication across the public internet. It is normally assigned by an internet service provider or another authorised address management organisation.

Imagine your home has an internet connection. Your internet service provider may assign your router a public IP address so that your home network can communicate with internet services.

4.2 What Is a Private IP Address?

A private IP address is an address used inside a private network, such as a home, school, or office network.

Private addresses are not directly routed across the public internet. A router commonly uses Network Address Translation (NAT) to allow devices with private addresses to communicate with internet services.

Common private IPv4 address ranges include:

Range Address Range
Private Range 1 10.0.0.0 โ€“ 10.255.255.255
Private Range 2 172.16.0.0 โ€“ 172.31.255.255
Private Range 3 192.168.0.0 โ€“ 192.168.255.255

4.3 Example of Public and Private Addresses

              INTERNET
                  |
             PUBLIC IP
                  |
                ROUTER
                  |
              PRIVATE LAN
             /     |     \
           PC 1   PC 2   PHONE
         192.168  192.168 192.168
          .1.10    .1.11   .1.12

In this example, the router connects the private home network to the internet. The computers and phone use private IP addresses. The router uses its internet connection to communicate outside the local network.

4.4 Differences Between Public and Private IP Addresses

Public IP Private IP
Used for public internet communication. Used inside private networks.
Assigned from publicly available address space. Selected from designated private address ranges.
Must be globally unique while in use. Can be reused in separate private networks.
Example: A public address assigned by an ISP. Example: 192.168.1.10.

4.5 Important Note About Security

Using a private IP address does not automatically make a network secure. Firewalls, strong passwords, software updates, and access controls are still important.

Remember This

Public IP addresses support communication across the internet, while private IP addresses are used inside private networks.


LESSON FIVE: IPV4 ADDRESS CLASSES

5.1 What Are IP Address Classes?

In the traditional classful IPv4 addressing system, IP addresses were divided into five classes: A, B, C, D, and E.

The classes were created to organise IPv4 address allocation according to different network sizes and purposes.

Modern networks commonly use CIDR instead of relying on the old classful system, but understanding address classes helps learners understand the history and structure of IPv4.

5.2 The Five IPv4 Address Classes

Class First Octet Range Traditional Purpose
A 1 โ€“ 126 Large networks
B 128 โ€“ 191 Medium-sized networks
C 192 โ€“ 223 Smaller networks
D 224 โ€“ 239 Multicast communication
E 240 โ€“ 255 Reserved and experimental purposes

The addresses beginning with 127 are reserved for loopback testing. They are not ordinary Class A host addresses.

5.3 Class A

Class A was designed for very large networks. Its traditional default subnet mask is:

255.0.0.0

Example:

25.10.5.1

5.4 Class B

Class B was designed for medium-sized networks. Its traditional default subnet mask is:

255.255.0.0

Example:

150.20.5.1

5.5 Class C

Class C was designed for smaller networks. Its traditional default subnet mask is:

255.255.255.0

Example:

200.10.5.1

5.6 Class D

Class D is used for multicast communication. Multicast allows information to be sent to a selected group of interested devices.

Its address range is:

224.0.0.0 โ€“ 239.255.255.255

5.7 Class E

Class E is reserved for special purposes and experimental use. It is not used for ordinary public host addressing.

Its address range is:

240.0.0.0 โ€“ 255.255.255.255

5.8 Understanding the Classes

Remember the classes using this simple guide:

  • Class A: Large networks.
  • Class B: Medium-sized networks.
  • Class C: Smaller networks.
  • Class D: Multicast communication.
  • Class E: Reserved and experimental purposes.

Remember This

Traditional IPv4 addressing has five classes. Modern networking mainly uses CIDR, which allows more flexible network address allocation.


LESSON SIX: SUBNET MASKS AND CIDR NOTATION

6.1 What Is a Subnet Mask?

A subnet mask is a 32-bit number used with an IPv4 address to identify which part belongs to the network and which part belongs to the host.

In simple language, a subnet mask helps a computer understand which devices belong to its local IP network.

Consider this example:

IP Address:  192.168.1.10
Subnet Mask: 255.255.255.0

The subnet mask tells the computer that the first three octets identify the network portion, while the final octet identifies the host portion.

6.2 Understanding Network and Host Portions

An IPv4 address contains two important parts:

  1. Network Portion: Identifies the network to which a device belongs.
  2. Host Portion: Identifies a particular device within that network.

Example:

IP Address: 192.168.1.10
Mask:       255.255.255.0

Network:    192.168.1
Host:       10

This example uses a /24 network, meaning 24 bits identify the network and eight bits remain for host addressing.

6.3 Common Subnet Masks

CIDR Subnet Mask Host Bits
/8 255.0.0.0 24
/16 255.255.0.0 16
/24 255.255.255.0 8
/25 255.255.255.128 7
/26 255.255.255.192 6
/27 255.255.255.224 5
/28 255.255.255.240 4
/29 255.255.255.248 3
/30 255.255.255.252 2

6.4 What Is CIDR?

CIDR stands for Classless Inter-Domain Routing. It is a method of organising IP addresses that allows flexible network sizes.

CIDR uses a slash followed by a number to show how many bits belong to the network portion.

Example:

192.168.1.10/24

The /24 means that the first 24 bits identify the network. The remaining eight bits are available for host addressing.

6.5 Understanding CIDR With a Simple Example

Imagine a school has a network:

192.168.10.0/24

This means:

  • Network address: 192.168.10.0
  • Subnet mask: 255.255.255.0
  • Broadcast address: 192.168.10.255
  • Usable host addresses: 192.168.10.1 to 192.168.10.254
  • Usable host capacity: 254 devices.

6.6 How Do We Calculate the Number of Hosts?

For a normal IPv4 subnet, the common formula for calculating usable host addresses is:

Usable Hosts = 2^h - 2

Where:

  • 2 represents the two possible binary values: 0 and 1.
  • h represents the number of host bits.
  • 2 is subtracted for the network and broadcast addresses.

Let us calculate the usable hosts in a /24 network.

IPv4 address size = 32 bits
Network bits = 24
Host bits = 32 - 24
Host bits = 8

Usable Hosts = 2^8 - 2
             = 256 - 2
             = 254

Therefore, a typical /24 IPv4 subnet supports 254 usable host addresses.

6.7 CIDR and Host Capacity Table

CIDR Host Bits Usable Hosts
/248254
/257126
/26662
/27530
/28414
/2936
/3022

Note: These are the usual usable host counts for ordinary IPv4 subnets. Special-purpose networks may follow different rules.

Remember This

A subnet mask separates the network portion from the host portion. CIDR notation shows the number of network bits using a slash number.


LESSON SEVEN: INTRODUCTION TO SUBNETTING

7.1 What Is Subnetting?

Subnetting is the process of dividing one larger IP network into smaller networks called subnets.

Imagine a large school with four departments:

  • Administration.
  • Teachers.
  • Students.
  • Computer laboratory.

Instead of placing every computer into one large network, the school can divide its network into smaller sections. Each department can have its own subnet.

This makes network management and access control easier.

7.2 Why Is Subnetting Important?

  1. Better Organisation: It allows organisations to group devices by department.
  2. Improved Management: Smaller networks can be easier to manage.
  3. Security: Network segmentation can help control communication between departments.
  4. Efficient Address Allocation: Addresses can be allocated according to actual needs.
  5. Reduced Broadcast Traffic: Subnetting creates smaller broadcast domains when implemented using routers or Layer 3 switches.

7.3 Understanding Subnetting With a School Example

Imagine a school has been given this network:

192.168.1.0/24

The school wants to create four smaller networks. It can divide the original /24 network into four /26 subnets.

Each /26 subnet contains 64 total addresses, with 62 normally available for devices.

Subnet Network Address Usable Host Range Broadcast
1 192.168.1.0/26 192.168.1.1 โ€“ 192.168.1.62 192.168.1.63
2 192.168.1.64/26 192.168.1.65 โ€“ 192.168.1.126 192.168.1.127
3 192.168.1.128/26 192.168.1.129 โ€“ 192.168.1.190 192.168.1.191
4 192.168.1.192/26 192.168.1.193 โ€“ 192.168.1.254 192.168.1.255

7.4 Step-by-Step Subnetting Calculation

Let us learn how to divide a /24 network into four equal subnets.

Step One: Identify the original network.

192.168.1.0/24

Step Two: Determine how many subnets are needed.

We need four subnets.

Step Three: Find the number of bits to borrow.

Use this formula:

Number of Subnets = 2^n

We need four subnets:

2^1 = 2
2^2 = 4

Therefore, we borrow two bits.

Step Four: Calculate the new prefix.

Original Prefix = /24
Borrowed Bits = 2

New Prefix = 24 + 2
           = /26

Step Five: Calculate the host bits.

Host Bits = 32 - 26
          = 6

Step Six: Calculate addresses per subnet.

Total Addresses = 2^6
                = 64

Step Seven: Calculate usable host addresses.

Usable Hosts = 64 - 2
             = 62

We now have four subnets, each with 64 total addresses and 62 normally usable host addresses.

7.5 Understanding the Subnet Increment

The subnet increment helps us identify where each subnet begins. For a /26 subnet, the subnet mask is:

255.255.255.192

Subtract the last mask value from 256:

256 - 192 = 64

Therefore, the subnet increment is 64.

The subnet network addresses are:

192.168.1.0
192.168.1.64
192.168.1.128
192.168.1.192

7.6 Network Address, Host Address and Broadcast Address

Every ordinary IPv4 subnet has important address types.

  • Network Address: Identifies the subnet itself.
  • Host Addresses: Addresses normally assigned to devices.
  • Broadcast Address: Identifies the destination used to send information to all devices on that IPv4 subnet.

Example:

Network:   192.168.1.0/26
First Host: 192.168.1.1
Last Host:  192.168.1.62
Broadcast:  192.168.1.63

Remember This

Subnetting divides a large network into smaller networks. It helps with network organisation, address management, and traffic control.


LESSON EIGHT: VARIABLE LENGTH SUBNET MASKING (VLSM)

8.1 What Is VLSM?

VLSM stands for Variable Length Subnet Masking. It is a subnetting method that allows different subnets to use different subnet mask sizes.

In simple language, VLSM allows us to create subnetworks based on how many devices each department actually needs.

Imagine a company has three departments:

  • Administration needs 50 IP addresses.
  • Teachers need 25 IP addresses.
  • Security needs 10 IP addresses.

Giving every department the same number of addresses may waste many addresses. VLSM allows each department to receive a subnet that is suitable for its requirements.

8.2 Why Is VLSM Important?

  • It reduces unnecessary IP address waste.
  • It supports networks with different department sizes.
  • It allows more flexible network design.
  • It helps organisations use their available address space efficiently.

8.3 Understanding VLSM With an Example

Suppose an organisation has the network:

192.168.10.0/24

It needs to create networks for three departments:

Department Required Hosts
Administration 50
Teachers 25
Security 10

8.4 Step-by-Step VLSM Planning

The first rule is to arrange the departments from the largest host requirement to the smallest.

Administration = 50 hosts
Teachers       = 25 hosts
Security       = 10 hosts

Step One: Allocate the largest subnet.

Administration requires 50 usable host addresses. A /26 subnet provides 62 usable addresses.

Network:   192.168.10.0/26
Mask:      255.255.255.192
Usable:    192.168.10.1 - 192.168.10.62
Broadcast: 192.168.10.63

Step Two: Allocate the second subnet.

Teachers require 25 usable host addresses. A /27 subnet provides 30 usable addresses.

Network:   192.168.10.64/27
Mask:      255.255.255.224
Usable:    192.168.10.65 - 192.168.10.94
Broadcast: 192.168.10.95

Step Three: Allocate the third subnet.

Security requires 10 usable host addresses. A /28 subnet provides 14 usable addresses.

Network:   192.168.10.96/28
Mask:      255.255.255.240
Usable:    192.168.10.97 - 192.168.10.110
Broadcast: 192.168.10.111

8.5 VLSM Allocation Summary

Department Network Prefix Usable Hosts
Administration 192.168.10.0 /26 62
Teachers 192.168.10.64 /27 30
Security 192.168.10.96 /28 14

Notice that each department receives a subnet that is large enough for its requirements without giving every department the same size.

8.6 Important VLSM Rule

Always plan the largest subnet first. Then allocate smaller subnets from the remaining available address space.

Remember This

VLSM allows a network administrator to create different-sized subnets based on the number of devices each network needs.


LESSON NINE: INTRODUCTION TO SUPERNETTING

9.1 What Is Supernetting?

Supernetting is a method of combining multiple smaller, continuous IP networks into a larger network address block.

It is also known as route aggregation or route summarisation in many networking situations.

Imagine you have four small groups of files that belong together. Instead of managing every group separately, you can organise them under one larger folder.

Supernetting follows a similar idea by combining suitable network address blocks into a larger address block.

9.2 Why Is Supernetting Important?

  • It can reduce the number of routing table entries.
  • It can make routing information easier to manage.
  • It helps organise continuous network address blocks.
  • It supports efficient routing in larger networks.

9.3 Simple Supernetting Example

Consider these four consecutive networks:

192.168.0.0/24
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24

These four networks can be summarised as:

192.168.0.0/22

This summary represents the address range:

192.168.0.0 - 192.168.3.255

The four /24 networks are combined into one /22 address block. This is possible because the networks are continuous and correctly aligned.

9.4 Difference Between Subnetting and Supernetting

Subnetting Supernetting
Divides a larger network into smaller networks. Combines smaller networks into a larger address block.
Creates more specific network divisions. Creates a broader network summary.
Often increases the network prefix length. Often decreases the network prefix length.

Remember This

Subnetting divides networks into smaller parts, while supernetting combines suitable smaller networks into a larger address block.


LESSON TEN: PRACTICAL IP ADDRESSING AND SUBNETTING

10.1 Introduction to Practical Networking

Learning networking is not only about reading explanations. You must also practise assigning addresses, identifying subnet masks, and understanding how devices communicate.

In this lesson, we will use a simple school network example.

10.2 Practical Example: Computer Laboratory

Imagine a school has a computer laboratory with 20 computers, one printer, and one router. The school wants to connect all these devices.

The network administrator selects this network:

192.168.20.0/27

The network information is:

  • Network address: 192.168.20.0
  • Subnet mask: 255.255.255.224
  • First usable address: 192.168.20.1
  • Last usable address: 192.168.20.30
  • Broadcast address: 192.168.20.31
  • Usable addresses: 30

10.3 Assigning IP Addresses

Device IP Address
Router 192.168.20.1
Computer 1 192.168.20.2
Computer 2 192.168.20.3
Computer 3 192.168.20.4
Computer 4 192.168.20.5
Printer 192.168.20.25

The remaining usable addresses can be assigned to additional computers and devices.

10.4 Using Windows to View an IP Address

Windows provides a command called ipconfig. It displays information about the computer's network connection.

Follow these steps:

  1. Open the Start menu.
  2. Search for Command Prompt.
  3. Open Command Prompt.
  4. Type the command shown below.
  5. Press Enter.
ipconfig

You may see information such as:

  • IPv4 Address.
  • Subnet Mask.
  • Default Gateway.

10.5 Understanding the Default Gateway

A default gateway is the device that a computer uses to send information to destinations outside its local network. It is commonly the IP address of a router on the local network.

Example:

IPv4 Address: 192.168.20.2
Subnet Mask:  255.255.255.224
Gateway:      192.168.20.1

In this example, the computer uses the router at 192.168.20.1 when it needs to communicate with destinations outside its local subnet.

10.6 Testing Network Communication

The ping command helps test whether another device can be reached over an IP network.

Example:

ping 192.168.20.1

This command tests communication with the example router. The result may show replies or an indication that the destination could not be reached.

A failed ping does not always mean a device is switched off. Firewalls, network settings, and other conditions may block the test.

10.7 Recommended Practice Tools

  • Cisco Packet Tracer: A learning tool for building and testing simulated networks.
  • Windows Command Prompt: Useful for viewing and testing network information.
  • Linux Terminal: Provides commands for viewing and managing network settings.

KEY VOCABULARY

Term Meaning
IP Address A logical address used to identify a device on an IP network.
IPv4 Internet Protocol Version 4, which uses 32-bit addresses.
IPv6 Internet Protocol Version 6, which uses 128-bit addresses.
Octet A group of eight bits in an IPv4 address.
Binary A number system that uses 0 and 1.
Hexadecimal A number system that uses 16 symbols.
Subnet Mask A value used to separate network and host portions of an IPv4 address.
CIDR Classless Inter-Domain Routing.
Subnetting Dividing a larger network into smaller networks.
VLSM Variable Length Subnet Masking.
Supernetting Combining suitable smaller networks into a larger address block.
Broadcast Address An address used to send information to all devices on an IPv4 subnet.
Default Gateway A device used to reach destinations outside the local network.
Network Address An address that identifies a particular subnet.
Host Address An address assigned to a device within a subnet.

IMPORTANT CONCEPTS TO REMEMBER

  1. An IP address helps identify devices on an IP network.
  2. IPv4 uses 32 bits, while IPv6 uses 128 bits.
  3. Each IPv4 address contains four octets.
  4. An IPv4 octet has a range from 0 to 255.
  5. Public IP addresses are used for public internet communication.
  6. Private IP addresses are used inside private networks.
  7. Traditional IPv4 addressing has five classes.
  8. A subnet mask identifies the network and host portions.
  9. CIDR uses slash notation, such as /24 and /26.
  10. Subnetting divides a network into smaller networks.
  11. VLSM allows subnets of different sizes.
  12. Supernetting combines suitable smaller networks into a larger block.
  13. The ping command can help test network communication.
  14. The ipconfig command displays Windows IP configuration.

MODULE TWO REVIEW QUESTIONS

PART A: MULTIPLE-CHOICE QUESTIONS

1. What does IP stand for?

  1. Internet Protocol
  2. Internal Program
  3. Internet Processing
  4. Information Provider

2. How many bits does an IPv4 address contain?

  1. 8 bits
  2. 16 bits
  3. 32 bits
  4. 128 bits

3. How many octets are in an IPv4 address?

  1. Two
  2. Three
  3. Four
  4. Eight

4. What is the largest decimal value of an IPv4 octet?

  1. 100
  2. 128
  3. 200
  4. 255

5. Which IP version uses 128 bits?

  1. IPv1
  2. IPv2
  3. IPv4
  4. IPv6

6. Which of the following is a private IPv4 address?

  1. 8.8.8.8
  2. 192.168.1.10
  3. 1.1.1.1
  4. 200.10.10.10

7. What does CIDR stand for?

  1. Computer Internet Data Routing
  2. Classless Inter-Domain Routing
  3. Central Internet Data Resource
  4. Computer Internal Domain Rules

8. What does a /24 prefix mean?

  1. 24 host bits
  2. 24 network bits
  3. 24 computers
  4. 24 routers

9. What is subnetting?

  1. Combining computers into one file
  2. Dividing a larger network into smaller networks
  3. Removing an IP address
  4. Switching off a router

10. What does VLSM stand for?

  1. Variable Length Subnet Masking
  2. Virtual Local Server Management
  3. Variable Local System Method
  4. Virtual Link Subnet Management

11. Which command displays IP configuration on Windows?

  1. mkdir
  2. ipconfig
  3. dir
  4. copy

12. Which command can test network communication?

  1. ping
  2. format
  3. rename
  4. delete

PART B: SHORT-ANSWER QUESTIONS

  1. Explain the meaning of an IP address.
  2. What is the difference between IPv4 and IPv6?
  3. Explain the meaning of binary numbers.
  4. What is the difference between public and private IP addresses?
  5. List the five traditional IPv4 address classes.
  6. What is a subnet mask?
  7. Explain the meaning of CIDR notation.
  8. What is the difference between a network address and a host address?
  9. Explain subnetting in your own words.
  10. What is VLSM and why is it useful?
  11. Explain the difference between subnetting and supernetting.
  12. What is a default gateway?

PART C: PRACTICAL CALCULATION QUESTIONS

Question 1:

Convert the binary number 00001010 into a decimal number.

Question 2:

Convert the decimal number 15 into an 8-bit binary number.

Question 3:

An IPv4 address uses 32 bits. If 24 bits are used for the network, how many bits remain for the host?

Question 4:

Calculate the number of usable host addresses in a normal IPv4 /26 subnet.

Question 5:

Identify the subnet mask for the following CIDR notation:

192.168.1.0/24

Question 6:

A school has the network 192.168.5.0/24. The administrator wants to divide it into four equal subnets. Determine:

  1. The number of bits to borrow.
  2. The new CIDR prefix.
  3. The number of total addresses in each subnet.
  4. The number of usable host addresses in each subnet.

Question 7:

A company has been given the network 192.168.30.0/24. It needs:

  • Administration: 50 hosts.
  • Marketing: 25 hosts.
  • Security: 10 hosts.

Determine suitable subnet sizes using VLSM.

PART D: PRACTICAL ACTIVITIES

Activity One: Find Your Computer's IP Address

  1. Open Command Prompt on a Windows computer.
  2. Type ipconfig.
  3. Press Enter.
  4. Locate the IPv4 Address.
  5. Locate the Subnet Mask.
  6. Locate the Default Gateway.

Write down what each of these values means. Use a school computer or another authorised device.

Activity Two: Create an IP Addressing Plan

Imagine you are creating a network for a small office. The office has:

  • Five desktop computers.
  • Two laptops.
  • One printer.
  • One router.

Create a simple table showing a suitable private IP address for each device.

Activity Three: Subnetting Challenge

Use the network 192.168.50.0/24. Divide it into two equal subnets. Identify:

  1. The new prefix.
  2. The subnet mask.
  3. The first network address.
  4. The second network address.
  5. The broadcast address of each subnet.
  6. The usable host range of each subnet.

Activity Four: Understand IPv6

Write down the following IPv6 address:

2001:0db8:0000:0000:0000:0000:0000:0001

Try to shorten the address using the IPv6 shortening rules.


MODULE SUMMARY

In this module, you learned how IP addresses help computers identify one another and communicate across networks.

You explored IPv4, which uses 32-bit addresses, and IPv6, which uses 128-bit addresses. You also learned the differences between public and private IP addresses.

You studied the traditional IPv4 address classes and discovered how subnet masks and CIDR notation separate network and host portions.

You also learned subnetting, which divides a large network into smaller networks, and VLSM, which allows different-sized subnets to be created according to actual requirements.

Finally, you explored supernetting, practical IP address assignment, and basic Windows commands used to examine network configurations.

FINAL THOUGHT

Every computer, smartphone, and network device needs a way to communicate with other devices. IP addressing provides an important part of that communication.

Learning how IP addresses and subnetting work is an important step towards becoming a network administrator, network engineer, or cybersecurity professional.

Congratulations! You have completed Module Two.

Get ready for Module Three: Routing and Routing Protocols, where you will learn how routers help information travel between different networks.

๐Ÿ† 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.
โ†’