Professional Documents
Culture Documents
11/30/2023 2
Presentation_ID
Traditional
Subnetting an IPv4 Network
Subnetting
Borrowing Bits to Create Subnets
Borrowing 1 bit 21 = 2 subnets
Borrowing 1 Bit from the host portion creates 2 subnets with the same subnet
mask
Subnet 0 Subnet 1
Network 192.168.1.0-127/25 Network 192.168.1.128-255/25
Mask: 255.255.255.128 Mask: 255.255.255.128
11/30/2023 3
Presentation_ID
Subnetting an IPv4 Network
Subnets in Use
Subnets in Use
Subnet 0
Network 192.168.1.0-127/25
Subnet 1
Network 192.168.1.128-255/25
11/30/2023 4
Presentation_ID
Subnetting an IPv4 Network
Subnetting Formulas
Calculate number
of subnets
Calculate number
of hosts
11/30/2023 5
Presentation_ID
Subnetting an IPv4 Network
Creating 4 Subnets
Borrowing 2 bits to create 4 subnets. 22 = 4 subnets
Creating 4 Subnets
11/30/2023 6
Presentation_ID
Subnetting an IPv4 Network
Creating Eight Subnets
Borrowing 3 bits to Create 8 Subnets. 23 = 8 subnets
11/30/2023 7
Presentation_ID
Subnetting an IPv4 Network
11/30/2023 8
Presentation_ID
Subnetting an IPv4 Network
11/30/2023 9
Presentation_ID
Determining the Subnet Mask
Subnetting Based on Host Requirements
Two considerations when planning subnets:
Number of subnets required
Number of host addresses required
11/30/2023 10
Presentation_ID
Determining the Subnet Mask
Subnetting Network-Based Requirements
Calculate the
number of subnets:
2^n (where n is the
number of bits
borrowed)
Subnet needed for
each department.
11/30/2023 11
Presentation_ID
Determining the Subnet Mask
Subnetting To Meet Network Requirements
Balance the
required number of
subnets and hosts
for the largest
subnet.
Design the
addressing scheme
to accommodate
the maximum
number of hosts for
each subnet.
Allow for growth in
each subnet.
11/30/2023 12
Presentation_ID
Determining the Subnet Mask
Subnetting To Meet Network Requirements
11/30/2023 13
Presentation_ID
Benefits of Variable Length Subnet Masking
Traditional Subnetting Wastes Addresses
Traditional subnetting –
Uses the same number
of addresses is allocated
for each subnet.
Subnets that require
fewer addresses have
unused (wasted)
addresses; for example,
WAN links only need two
addresses.
11/30/2023 14
Presentation_ID
Benefits of Variable Length Subnet Masking
Variable Length Subnet Masks (VLSM)
The variable-length subnet
mask (VLSM) or
subnetting a subnet
provides more efficient
use of addresses.
VLSM allows a network
space to be divided in
unequal parts.
Subnet mask varies,
depending on how many
bits have been
borrowed for a
particular subnet.
Network is first subnetted,
and then the subnets are
resubnetted.
11/30/2023 15
Presentation_ID
Characteristics of VLSM
• It creates subnets with different number of hosts
• Subnets have different subnet masks
• Ideal modern type of subnetting which conserves IP address
unlike traditional subnetting which wastes IP addresses by
creating equal subnets with fixed number of hosts.
• Calculated using host bits
Example
Given the IP address 10.10.20.8/22 to subnet across 3 subnets with
the following requirement subnet A – 600 hosts, subnet b – 200 hosts
and subnet C 20 hosts. For each subnet derive the following showing
all working (a) NID, (b) 1st usable IP address (c) Last usable IP address
broadcast IP address and (d)subnet mask
11/30/2023 16
VLSM EXAMPLE
Step 1
You have to find the valid NID where to start to subnet from. This is
done by ANDing the IP address and the subnet mask.
11/30/2023 17
VLSM Example
• We start with the subnet with highest number of hosts which is
subnet A with 600.
• We use the formulae 2n – 2 , where n is the number of host bits
Subnet Mask
255. 255. 11111100 00000000 = 255.255.252.0
11/30/2023 18
VLSM Subnetting
• You can use the same principle to calculate subnet B and Subnet C
Example 2
Given the IP address 172.18.89.23/23 to subnet across 4 subnets with
the following number of hosts. Subnet A – 40, subnet B – 400 and
Subnet C – 120.
• Example 3
Given the IP address 192.168.50.9/23 to subnet across 4 subnets with
the following number of hosts. Subnet A – 500, subnet B – 250 and
Subnet C – 6.
11/30/2023 20