Professional Documents
Culture Documents
21UG0512 Laboratory 04
21UG0512 Laboratory 04
The purpose of this lab is to design and implement a subnetted IPv4 addressing scheme for a network.
The lab involves three main parts: designing the subnetting scheme, configuring the network devices,
and testing the network connectivity.
The scenario involves starting with a single network address and network mask and subnetting it into
multiple subnets based on the number of host computers required in each subnet and other network
considerations such as future expansion. These are addressed in this report.
What is IP Address?
An IP address, short for Internet Protocol address, is a unique numerical identifier assigned to each
device connected to a computer network. It serves as the device's location address in the network,
enabling communication and data transfer between different devices and networks across the internet.
IP addresses are essential for identifying and routing data packets to their intended destinations. They
consist of a series of binary digits, typically represented in a human-readable format called dotted
decimal notation, where each segment of the address is separated by periods. For example, an IPv4
address may look like 192.168.0.1.
There are two main versions of IP addresses in use today: IPv4 and IPv6. IPv4 addresses are 32-bit
addresses and are the most widely used format. However, due to the exponential growth of the internet
and the limited number of available IPv4 addresses, the newer IPv6 addresses were introduced. IPv6
addresses are 128 bits long and are represented in a different format, using hexadecimal digits separated
by colons.
IP addresses are structured into two parts: the network portion and the host portion. The network
portion identifies the specific network to which a device belongs, while the host portion distinguishes
individual devices within that network. Subnetting allows for the further division of the host portion,
enabling the creation of multiple subnetworks or subnets within a larger network.
What is Subnet?
Subnetting is the process of dividing a larger network into smaller subnetworks, known as subnets.
It allows for efficient utilization of IP addresses and better management of network resources. By
subnetting a network, you can create separate logical networks within the larger network, each
with its own network address range.
Subnetting involves borrowing bits from the host portion of an IP address to create a subnet mask.
This subnet mask determines the number of subnets and the number of hosts per subnet that can
be accommodated. By customizing the subnet mask, you can allocate the appropriate number of
IP addresses for each subnet based on the specific requirements of the network.
The benefits of subnetting include improved network performance, enhanced security, and
simplified network administration. Subnetting enables efficient routing by reducing broadcast
traffic, limiting the scope of network failures, and allowing for more precise control over network
access through the use of subnet-specific policies.
The number of subnets in a network can be determined using the 2n formula, where n is the number
of borrowed 1 bits in the host component, and the number of hosts in a subnet can be determined
using the 2N-2 formula, where N is the number of bits remaining on the host portion.
Using the above formulas, the number of hosts and the number of subnets in a typical subnet mask.
Procedure
In this lab, we will start with a single network address and subnet mask and work our way
around the network to divide it into many subnets. Subnets will be divided based on the number
of host computers necessary in each subnet, as well as potential expansions of the network's host
capacity.
Once the subnetting scheme has been created, we will setup the host PCs and router interfaces,
including the construction of loopback interfaces. These settings will allow us to simulate extra
LANs connected to the router. The ping command will be used to check successful configuration
and network connectivity.
→ One Router
→ One Switch
→ Two PCs
→ Console cables (for configuring the devices via console ports)
→ Ethernet cables (as indicated in the lab topology)
In this section, we will create an appropriate IP plan based on the given scenario. The scenario
involves a large company that needs to create multiple subnets using the network address
192.168.0.0/24.
1) How many host addresses are needed in the largest required subnet? 25 Hosts
3) The network that you are tasked to subnet is 192.168.0.0/24. What is the /24
subnet mask in binary? 11111111.11111111.11111111.00000000
4) The subnet mask is made up of two portions, the network portion, and the host
portion. This is represented in the binary by the ones and the zeros in the subnet
mask.
- In the network mask, what do the ones represent? Ones represent the
network portion
- In the network mask, what do the zeros represent? Zeros represent the host
portion
5) To subnet a network, bits from the host portion of the original network mask are
changed into subnet bits. The number of subnet bits defines the number of
subnets. Given each of the possible subnet masks depicted in the following
binary format, how many subnets and how many hosts are created in each
example?
(/25) 11111111.11111111.11111111.10000000
Dotted decimal subnet mask equivalent: 255.255.255.128
Number of subnets? (2^1) = 2 subnets
Number of hosts? (2^7)-2= 126
(/26) 11111111.11111111.11111111.11000000
Dotted decimal subnet mask equivalent: 255.255.255.192
Number of subnets? (2^2) = 4 subnets
Number of hosts? (2^6)-2= 62
(/27) 11111111.11111111.11111111.11100000
Dotted decimal subnet mask equivalent: 255.255.255.224
Number of subnets? (2^3) = 8 subnets
Number of hosts? (2^5)-2= 30
(/28) 11111111.11111111.11111111.11110000
Dotted decimal subnet mask equivalent: 255.255.255.240
Number of subnets? (2^4) = 16 subnets
Number of hosts? (2^4)-2= 14
(/29) 11111111.11111111.11111111.11111000
Dotted decimal subnet mask equivalent: 255.255.255.248
Number of subnets? (2^5) = 32 subnets
Number of hosts? (2^3)-2= 6
(/30) 11111111.11111111.11111111.11111100
Dotted decimal subnet mask equivalent: 255.255.255.252
Number of subnets? (2^6) = 64 subnets
Number of hosts? (2^2)-2= 2
6) Considering your answers, which subnet masks meet the required number of
minimum host addresses? /25, /26, /27
7) Considering your answers, which subnet masks meets the minimum number of
subnets required? /27, /28, /29, /30 gives required subnets
8) Considering your answers, which subnet mask meets both the required minimum
number of hosts and the minimum number of subnets required? 8 subnets with
a total of 30 hosts in /27, which is more than the 25 hosts needed for the first
subnet.
9) When you have determined which subnet mask meets all of the stated
network requirements, you will derive each of the subnets starting from the
original network address. List the subnets from first to last below.
Remember that the first subnet is 192.168.0.0 with the newly acquired
subnet mask.
Step 2: Complete the diagram showing where the host IP addresses will be
applied.
Addressing Table
In this part, the network topology will be set up and the devices will be configured. This includes
configuring basic settings on the PCs and router, such as the IP addresses for the router's Gigabit
Ethernet interfaces and the IP addresses, subnet masks, and default gateways for the PCs. The
device names and address information can be found in the Addressing Table.
1) Subnetting one larger network into multiple smaller subnetworks allows for greater
flexibility and security in network design. However, what do you think some of the
drawbacks are when the subnets are limited to being the same size?
Some subnetworks require many ip addresses and others require only a few,
having all of the subnets the same size is not the most efficient way to divide
the subnets.
2) Why do you think the gateway/router IP address is usually the first usable IP address
in the network?
The router or gateway is like a door to the network and therefore it is logical
that its address is at the beginning of the network. It is purely a convention
however.
Discussion
Conclusion
This laboratory exercise provided valuable hands-on experience with IPv4 addresses and the creation of a subnet
scheme. Throughout the activities, the practical application of network operations at Layer 3 of the OSI Reference
Model was demonstrated. Subnetting, subnet masks, network addresses, and broadcast addresses were studied,
allowing students to apply their theoretical knowledge in a practical setting.
The network's efficiency and scalability were improved by effectively subdividing a large subnet into smaller
subnets. Students practiced calculations involving network address and broadcast address derivation, allowing them
to determine practical IP address ranges and configure routers based on the assigned IP plan and subnet design
considerations.
In addition, the laboratory session gave students hands-on experience with network testing using the Ping command.
The results of testing connectivity between configured default gateways and PCs provided a conclusive assessment
of the network's functionality.
Modern network infrastructures require the development and implementation of a subnetted IPv4 addressing
scheme. This laboratory session improved students' understanding of subnetting concepts while also providing them
with the practical skills needed to successfully deploy and maintain subnetted networks. Students are better prepared
to address the evolving demands of today's interconnected world and contribute to the creation of reliable and
efficient network designs if they understand these principles.
References
• https://www.tutorialspoint.com/ipv4/ipv4_subnetting.htm
• https://www.cisco.com/c/en/us/support/docs/ip/routing-information-protocol-rip/13788-
3.html
• https://www.cbtnuggets.com/blog/technology/networking/networking-basics-what-is-
ipv4-subnetting
Appendix