0% found this document useful (0 votes)
95 views7 pages

VLSM Subnetting Assignment Guide

Ans
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views7 pages

VLSM Subnetting Assignment Guide

Ans
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

VLSM Assignment

Question 1. Answer:

To split an address range into 6 groups we need to use log 22 ≥ 3 bits (23 = 8 ≥ 6),
128.111/16 = 10000000 01101111

resulting in:
[Link]/19 = 10000000 01101111 00000000 00000000
[Link]/19 = 10000000 01101111 00100000 00000000
[Link]/19 = 10000000 01101111 01000000 00000000
[Link]/19 = 10000000 01101111 01100000 00000000
[Link]/19 = 10000000 01101111 10000000 00000000
[Link]/19 = 10000000 01101111 10100000 00000000
[Link]/19 = 10000000 01101111 11000000 00000000
[Link]/19 = 10000000 01101111 11100000 00000000

Question 2.

Question 3.

Question 4.

Question 5. Let’s use a small example. Given the address space [Link]/22 and the network
requirements shown in Figure 9-1, apply an addressing scheme that conserves the most amount of
addresses for future growth.
Figure 9-1 VLSM Example Topology

We need five subnets: four LAN subnets and one WAN subnet. Starting with the largest host requirement
on LAN 3, begin subnetting the address space.

To satisfy the 250 hosts requirement, we leave 8 hosts bits (2 – 2 = 254 hosts per subnet). Because we
8

have 10 host bits total, we borrow 2 bits to create the first round of subnets (2 = 4 subnets). The starting
2

subnet mask is /22 or [Link]. We turn on the next two bits in the subnet mask to get /24 or
[Link]. The multiplier is 1. The four subnets are as follows:

 Subnet 0: [Link]/24
 Subnet 1: [Link]/24
 Subnet 2: [Link]/24
 Subnet 3: [Link]/24

Assigning Subnet 0 to LAN 3, we are left with three /24 subnets. Continuing on to the next largest host
requirement on LAN 4, we take Subnet 1, [Link]/24, and subnet it further.

To satisfy the 100 hosts requirement, we leave 7 bits (2 – 2 = 128 hosts per subnet). Because we have 8
7

host bits total, we can borrow only 1 bit to create the subnets (2 = 2 subnets). The starting subnet mask is
1

/24 or [Link]. We turn on the next bit in the subnet mask to get /25 or [Link]. The
multiplier is 128. The two subnets are as follows:

 Subnet 0: [Link]/25
 Subnet 1: [Link]/25

Assigning Subnet 0 to LAN 4, we are left with one /25 subnet and two /24 subnets. Continuing on to the
next largest host requirement on LAN 1, we take Subnet 1, [Link]/25, and subnet it further.

To satisfy the 60 hosts requirement, we leave 6 bits (2 – 2 = 62 hosts per subnet). Because we have 7
6

host bits total, we borrow 1 bit to create the subnets (2 = 2 subnets). The starting subnet mask is /25 or
1

[Link]. We turn on the next bit in the subnet mask to get /26 or [Link]. The multiplier
is 64. The two subnets are as follows:

 Subnet 0: [Link]/26
 Subnet 1: [Link]/26
Assigning Subnet 0 to LAN 1, we are left with one /26 subnet and two /24 subnets. Finishing our LAN
subnetting with LAN 2, we take Subnet 1, [Link]/26, and subnet it further.

To satisfy the 10 hosts requirement, we leave 4 bits (2 – 2 = 14 hosts per subnet). Because we have 6
4

host bits total, we borrow 2 bits to create the subnets (2 = 4 subnets). The starting subnet mask is /26 or
2

[Link]. We turn on the next two bits in the subnet mask to get /28 or [Link]. The
multiplier is 16. The four subnets are as follows:

 Subnet 0: [Link]/28
 Subnet 1: [Link]/28
 Subnet 2: [Link]/28
 Subnet 3: [Link]/28

Assigning Subnet 0 to LAN 2, we are left with three /28 subnets and two /24 subnets. To finalize our
addressing scheme, we need to create a subnet only for the WAN link, which needs only two host
addresses. We take Subnet 1, [Link]/28, and subnet it further.

To satisfy the two hosts requirement, we leave 2 bits (2 – 2 = 2 hosts per subnet). Because we have 4
2

host bits total, we borrow 2 bits to create the subnets (2 = 4 subnets). The starting subnet mask is /28 or
2

[Link]. We turn on the next 2 bits in the subnet mask to get /30 or [Link]. The
multiplier is 4. The four subnets are as follows:

 Subnet 0: [Link]/30
 Subnet 1: [Link]/30
 Subnet 2: [Link]/30
 Subnet 3: [Link]/30

We assign Subnet 0 to the WAN link. We are left with three /30 subnets, two /28 subnets, and two /24
subnets.

Question 6.
VLSM Subnetting
In the first step, we arrange all segments in descending order based on their
requirements.

Each segment needs two additional IP addresses: one for the network address and
another for the broadcast address. Because of this, we must select a block size that
provides more or equal IP addresses to the actual requirement for each segment.

Actual requirement = Total hosts + two (network and broadcast)


No. Segment Host requirement Block size that Valid hosts in block
fulfills the host IP
requirement
1 LAN Segment1 29 32 30 (32 -2)
2 LAN Segment 2 21 32 30 (32 -2)
3 LAN Segment 3 12 16 14 (16-2)
4 LAN Segment 4 8 16 14 (16-2)
5 WAN Link 1 2 4 2 (4-2)
6 WAN Link 2 2 4 2 (4-2)
7 WAN Link 3 2 4 2 (4-2)
8 WAN Link 4 2 4 2 (4-2)
In the next step, we find the subnet mask in the slash notation that provides the required
block size. Our first and second segments need a block size of 32. The subnet mask /27
provides a total of 8 subnets having 32 IP addresses each.

0-31, 32-63, 64-95, 96-127, 128-159, 160-191, 192-223, 224-255

We can assign the first two subnets to these segments.

0-31, 32-63, 64-95, 96-127, 128-159, 160-191, 192-223, 224-255

The next two segments need a block size of 16. The subnet mask /28 provides 16
subnets containing 16 IP addresses each.

0-15, 16-31, 32-47, 48-63,64-79, 80-95, 96-111, 112-127, 128-143, 144-159, 160-175,
176-191, 192-207, 208-223, 224-239, 240-255

We cannot use the first four subnets. They contain the addresses we have already
assigned to the first and second segments. We can use the fifth and sixth subnets for
the third and fourth LAN segments.

0-15, 16-31, 32-47, 48-63,64-79, 80-95, 96-111, 112-127, 128-143, 144-159, 160-175,
176-191, 192-207, 208-223, 224-239, 240-255

The next four segments need a block size of 4. The subnet mask /30 provides 64
subnets containing 4 IP addresses.

0-3, 4-7, 8-11, 12-15, 16-19, 20-23, 24-27, 28-31, 32-35, 36-39, 40-43, 44-47, 48-51,
52-55, 56-59, 60-63, 64-67, 68-71, 72-75, 76-79, 80-83, 84-87, 88-91, 92-95, 96-99,
100-103, 104-107, 108-111, 112-115, 116-119, 120-123, 124-127, 128-131, 132-135,
136-139, 140-143, 144-147, 148-151, 152-155, 156-159, 160-163, 164-167, 168-171,
172-175, 176-179, 180-183, 184-187, 188-191, 192-195, 196-199, 200-203, 204-207,
208-211, 212-215, 216-219, 220-223, 224-227, 228-231, 232-235, 236-239, 240-243,
244-247, 248-251, 252-255

The first 24 subnets contain the IP addresses we assigned in the previous segments.
We can use the subnets 25, 26, 27, and 28 for these segments.

0-3, 4-7, 8-11, 12-15, 16-19, 20-23, 24-27, 28-31, 32-35, 36-39, 40-43, 44-47, 48-51,
52-55, 56-59, 60-63, 64-67, 68-71, 72-75, 76-79, 80-83, 84-87, 88-91, 92-95, 96-99,
100-103, 104-107, 108-111, 112-115, 116-119, 120-123, 124-127, 128-131, 132-135,
136-139, 140-143, 144-147, 148-151, 152-155, 156-159, 160-163, 164-167, 168-171,
172-175, 176-179, 180-183, 184-187, 188-191, 192-195, 196-199, 200-203, 204-207,
208-211, 212-215, 216-219, 220-223, 224-227, 228-231, 232-235, 236-239, 240-243,
244-247, 248-251, 252-255

The following image shows the assigned IP subnets to each segment.


The following table lists a summary of all subnets.

Segment CIDR Subnet Mask Network Address Broad cast Address Valid host
addresses
LAN /27 [Link] [Link] [Link] [Link] to
Segment1 [Link]
LAN /27 [Link] [Link] [Link] [Link] to
Segment 2 [Link]
LAN /28 [Link] [Link] [Link] [Link] to
Segment 3 [Link]
LAN /28 [Link] [Link] [Link] [Link] to
Segment 4 [Link]
WAN Link /30 [Link] [Link] [Link] [Link] to
1 [Link]
WAN Link /30 [Link] [Link] [Link] [Link] to
2 [Link]
WAN Link /30 [Link] [Link] [Link] [Link] to
3 [Link]
WAN Link /30 [Link] [Link] [Link] [Link] to
4 [Link]

Common questions

Powered by AI

VLSM, or Variable Length Subnet Masking, allows network administrators to divide an IP address space into subnets of different sizes, optimizing the efficient use of IP addresses. For example, by starting with the largest host requirement, such as a requirement for 250 hosts, specific bits are left as host bits to ensure adequate address space, while bits are borrowed to create necessary subnets . This method conserves IP addresses for future growth and minimizes waste. As shown with an address space of 172.30.4.0/22, segmenting into subnets preserves addresses by matching subnet size to host requirement, like using subnet mask /24 to accommodate 254 hosts per subnet and /25 for up to 128 hosts . Thus, VLSM is crucial in network planning for efficient IP allocation and future scalability.

Understanding the relationship between host requirements and subnetting decisions is crucial for effective network planning. VLSM allows network planners to allocate appropriate address spaces that precisely meet the criteria of various segments, considering both immediate needs and future scalability. By assessing host requirements, network planners can determine the minimum number of bits to leave for host addresses, which directly informs subnetting decisions and address space allocations, matched to the block sizes as demonstrated by using different subnet masks to meet specific segment needs . This approach ensures optimal usage of IPs, avoiding underutilized or overcrowded address spaces and thus facilitates robust network planning.

The specific steps in choosing a subnet mask using VLSM involve beginning with the aggregation of host requirements for all network segments. Next, segment the network starting with the largest hosts needed to determine the necessary address space, leaving additional host bits as required. Proceed by borrowing bits to achieve the desired subnet count without overlap. For instance, using a /24 mask for 254 hosts and a /25 mask for up to 128 hosts following systematic reductions allows precise matches . This detailed segmentation process ensures efficient allocation by providing the perfect subnet size for each unique network segment.

Using VLSM facilitates a network administrator's role by allowing precise control over IP address allocation, enabling the creation of subnets that perfectly match the size of each individual network segment's requirements, as seen in splitting various subnets for LAN and WAN links . This precision minimizes the waste of IP addresses and maximizes the efficient use of available address space, thus maintaining network performance and reducing unnecessary address consumption. Additionally, it provides the flexibility to adjust and optimize networks for future needs by reserving address blocks.

When determining the subnet mask for a block that fulfills a specific host requirement, the steps include calculating the required block size to accommodate both the desired number of hosts and the network and broadcast addresses. The desired block size is chosen to provide more than the actual requirement for network efficiency. For a block size of 32, the subnet mask /27 with 32 IP addresses satisfies two LAN segments. For segments requiring 16 IP addresses, /28 is used, providing adequate size while ensuring efficiency . Network segmentation is affected as each subnet corresponds to different network segments, optimizing traffic flow and reducing congestion.

One challenge when applying VLSM is ensuring the correct allocation of subnets without overlapping address spaces. This requires accurate planning and understanding of each segment's needs. Incorrect calculations or misallocation could lead to exhaustion of IP addresses or overlapping subnets. To address these challenges, clear identification of segment requirements and methodical allocation using tools or software for precision is crucial, as shown when tracking IP block distributions, ensuring each segment's subnet mask provides sufficient hosts without wastage . Another challenge is maintaining scalability and flexibility for future network growth, which necessitates leaving spare subnets available for expansion.

To effectively implement VLSM in network design, one must grasp the principles of binary arithmetic used in IP addressing and subnetting, understanding how IP addresses are converted and manipulated to split into variable-length masks tailored for specific segments. Also essential is the comprehension of subnet masks, host capacity, network and broadcast addressing, and CIDR notation. The ability to align network needs with address provisioning accurately prevents overlap and exhaustion, facilitating methodical allocations determined by precise evaluations of segment demands , thereby optimizing the network's address space for flexible design and future scalability.

VLSM addresses IP address exhaustion by allocating IP addresses only as needed for each subnet, rather than using a single fixed size for all subnets. This prevents wastage of potential IP addresses in networks with varying segment requirements. For example, segmenting IPs only large enough to match the host requirements, such as using smaller blocks for segments with fewer hosts, helps conserve more significant address space for critical or future needs . This implies improved network scalability, as the variable subnet sizes offer flexibility for future expansions and optimizations of addressing resources.

VLSM supports achieving an optimal cost-benefit balance in network design by ensuring IPs are allocated according to precise, segmented needs, preventing excess allocation which can incur higher infrastructure costs without commensurate requirements. By structuring the network with variable-legged segments—exactly aligned with each part's host demand—resources are used judiciously, as seen with no unnecessary scaling in address sizes, resulting in fewer underutilized IPs and leading to potential cost savings . This strategy maximizes existing resource utility before incurring additional costs, demonstrating efficient network and resource management.

Logical partitioning of the address space through VLSM allows for the efficient allocation of IP addresses by tailoring subnet sizes to the exact needs of each segment, thus reducing waste and allowing for future network expansion. For instance, addressing schemes can begin with the largest segment requirements and adaptively allocate smaller subnets to lower demand segments, which is demonstrated in the approach where LAN and WAN requirements are segmented into individual VLSMs . This not only balances the network load but also results in overall improved resource usage, as smaller subnets don't occupy unnecessary space, and larger subnets are adequately provided for.

You might also like