Introduction to computer network: ICT-1202 – Sem1 2024-2025
Name: Mohamed Saleh Al Seiari
ID No: M00009189
Assignment 4 Date: 27/10/2024
Assignment 4 – Calculate IPv4 Subnets
Objectives
Part 1: Determine IPv4 Address Subnetting
Part 2: Calculate IPv4 Address Subnetting
Background / Scenario
The ability to work with IPv4 subnets and determine network and host information based on a given
IP address and subnet mask is critical to understanding how IPv4 networks operate. The first part is
designed to reinforce how to compute network IP address information from a given IP address and
subnet mask. When given an IP address and subnet mask, you will be able to determine other
information about the subnet.
Instructions
Calculate the following subnets using the same methodology used in the lecture. Write your
calculation in your notebook and paste the picture of your solution for each exercise. Fill out the
tables below with appropriate answers given the IPv4 address, original subnet mask, and new subnet
mask.
Exercise 1
Given:
Host IP Address: 192.168.200.139
Original Subnet Mask 255.255.255.0
New Subnet Mask: 255.255.255.224
Find:
Number of Subnet Bits The difference between (/24 )and (/27) is 3 bits.
Number of Subnets Created 3
2 =8 subnets
Number of Host Bits per Subnet 32 (total bits) - 27 (subnet mask) = 5 bits
Introduction to computer network: ICT-1202 – Sem1 2024-2025
Name: Mohamed Saleh Al Seiari
ID No: M00009189
Assignment 4 Date: 27/10/2024
Find:
Number of Hosts per Subnet 5
2 −2=30 Hosts
Network Address of this Subnet 192.168.200.128
IPv4 Address of First Host on this Subnet 192.168.200.129
IPv4 Address of Last Host on this Subnet 192.168.200.158
IPv4 Broadcast Address on this Subnet 192.168.200.159
Exercise 2
Given:
Host IP Address: 10.101.99.228
Original Subnet Mask 255.0.0.0
New Subnet Mask: 255.255.128.0
Find:
Number of Subnet Bits The difference between /8 and /17 is 9 bits.
2 =512 subnets
Number of Subnets Created 9
Number of Host Bits per Subnet 32−17=15 bits .
Number of Hosts per Subnet 215−2=32,766 hosts
Network Address of this Subnet 10.101.0.0
IPv4 Address of First Host on this Subnet 10.101.0.1
IPv4 Address of Last Host on this Subnet 10.101.127.254
IPv4 Broadcast Address on this Subnet 10.101.127.255
Introduction to computer network: ICT-1202 – Sem1 2024-2025
Name: Mohamed Saleh Al Seiari
ID No: M00009189
Assignment 4 Date: 27/10/2024
Exercise 3
Given:
Host IP Address: 172.22.32.12
Original Subnet Mask 255.255.0.0
New Subnet Mask: 255.255.224.0
Find:
Number of Subnet Bits The difference between /16 and /19 is 3 bits.
Number of Subnets Created 3
2 =8 subnets
Number of Host Bits per Subnet 32−19=13 bits
Number of Hosts per Subnet 213−2=8190 Hosts
Network Address of this Subnet 172.22.32.0
IPv4 Address of First Host on this Subnet 172.22.32.1
IPv4 Address of Last Host on this Subnet 172.22.63.254
IPv4 Broadcast Address on this Subnet 172.22.63.255
Exercise 4
Given:
Host IP Address: 192.168.1.245
Original Subnet Mask 255.255.255.0
New Subnet Mask: 255.255.255.252
Find:
Number of Subnet Bits The difference between /24 and /30 is 6 bits.
2 =64 subnets
Number of Subnets Created 6
Number of Host Bits per Subnet 32−30=2 bits
Introduction to computer network: ICT-1202 – Sem1 2024-2025
Name: Mohamed Saleh Al Seiari
ID No: M00009189
Assignment 4 Date: 27/10/2024
Find:
Number of Hosts per Subnet 2
2 −2=2 h osts
Network Address of this Subnet 192.168.1.244
IPv4 Address of First Host on this Subnet 192.168.1.245
IPv4 Address of Last Host on this Subnet 192.168.1.246
IPv4 Broadcast Address on this Subnet 192.168.1.247
Exercise 5
Given:
Host IP Address: 128.107.0.55
Original Subnet Mask 255.255.0.0
New Subnet Mask: 255.255.255.0
Find:
Number of Subnet Bits The difference between /16 and /24 is 8 bits.
2 =256 subnets
Number of Subnets Created 8
Number of Host Bits per Subnet 32−24=8 bits
Number of Hosts per Subnet 8
2 −2=254 hosts
Network Address of this Subnet 128.107.0.0
IPv4 Address of First Host on this Subnet 128.107.0.1
IPv4 Address of Last Host on this Subnet 128.107.0.254
IPv4 Broadcast Address on this Subnet 128.107.0.255
Introduction to computer network: ICT-1202 – Sem1 2024-2025
Name: Mohamed Saleh Al Seiari
ID No: M00009189
Assignment 4 Date: 27/10/2024
Exercise 6
Given:
Host IP Address: 192.135.250.180
Original Subnet Mask 255.255.255.0
New Subnet Mask: 255.255.255.248
Find:
Number of Subnet Bits The difference between /24 and /29 are 5 bits.
Number of Subnets Created 5
2 =32 subnets
Number of Host Bits per Subnet 32−29=3 bits
Number of Hosts per Subnet 3
2 −2=6 hosts
Network Address of this Subnet 192.135.250.176
IPv4 Address of First Host on this Subnet 192.135.250.177
IPv4 Address of Last Host on this Subnet 192.135.250.182
IPv4 Broadcast Address on this Subnet 192.135.250.183
Reflection Question
Why is the subnet mask so important when analyzing an IPv4 address?
The subnet mask is important in analyzing an IPv4 address because it defines the network and host portions
of the IP address. It enables efficient IP allocation, helps create subnetworks, ensures accurate routing, and
manages broadcast domains within the network.
Introduction to computer network: ICT-1202 – Sem1 2024-2025
Name: Mohamed Saleh Al Seiari
ID No: M00009189
Assignment 4 Date: 27/10/2024
Assessment: St_Name: --------------------------------------- ID:------------
NOTE: The entire solution to each exercise is required (same as the explanation in the lecture
and video tutorial). You must write all the steps to show how you solved the exercise. If you fill
out the table without the solution or the answer is generated by AI, it will not be considered a
correct answer and will be graded with 0 marks.
Max. Marks Awarded Marks
Exercise 1 4
Exercise 2 6
Exercise 3 5
Exercise 4 4
Exercise 5 5
Exercise 6 4
Reflection Question 2
Total 30