VLSM Subnet Design for 190.100.0.0/16: Allocating 64×256, 128×128, 128×64 Addresses
We are given an IPv4 CIDR block , which contains total addresses. CIDR uses the “slash notation” to indicate the network prefix length; the remaining bits determine the number of addresses in the block.2
We must use VLSM to carve the /16 space into subblocks that can satisfy each customer-group requirement, then determine how many addresses remain unallocated.
Key idea: a CIDR prefix corresponds to a block size of addresses (total addresses, including network/broadcast in the raw count).
Footnotes
-
RIPE NCC, “Understanding IP Addressing and CIDR Charts — RIPE Network Coordination Centre” (https://www.ripe.net/about-us/press-centre/understanding-ip-addressing) - Explains IPv4 CIDR slash notation and how prefix length relates to bits. ↩
-
Wikipedia, “Classless Inter-Domain Routing (CIDR)” (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) - Describes CIDR syntax and prefix-length meaning. ↩
-
ITU Online IT Training, “Calculating CIDR Ranges for Efficient IP Address Management” (https://www.ituonline.com/blogs/calculating-cidr-ranges-for-efficient-ip-address-management) - Provides prefix host-bit relationship and example block sizing. ↩
VLSM example: 190.100.0.0/16 subnet design
Step 0: Convert each requirement to the smallest power-of-two block size (CIDR)
For a required number of addresses , we choose the smallest CIDR block size such that . The resulting prefix length is .
We will also use subnet-mask sizing relationships as commonly shown in VLSM materials (e.g., /24→256 addresses, /25→128 addresses, /26→64 addresses).2
Address-to-prefix mapping
- addresses →
- addresses →
- addresses →
These are consistent with standard classless subnet sizing charts.
Footnotes
-
ComputerNetworkingNotes.com, “VLSM Subnetting Examples and Calculation Explained” (https://www.computernetworkingnotes.com/ccna-study-guide/vlsm-subnetting-examples-and-calculation-explained.html) - Discusses network/broadcast impacting usable hosts vs block size. ↩
-
Das Blinken Lichten / subnetting resources (https://www.dasblinkenlichten.com/subnetting-a-subnet-vlsm) - Shows subnet-mask sizing table including /24=256, /25=128, /26=64 relationships. ↩ ↩2
Step-by-step VLSM allocation plan (largest needs first)
- 1Step 1
Group 1: addresses. Group 2: addresses. Group 3: addresses.
- 2Step 2
256→, 128→, 64→ (using block sizing).
- 3Step 3
Start from the lowest available address and carve out subnets of the required size for Group 1, then continue with Group 2, then Group 3. (This is the standard VLSM approach: allocate largest first to minimize waste.)
Footnotes
-
Comparitech, “Variable Length Subnet Mask (VLSM) Tutorial - Fully Explained” (https://www.comparitech.com/net-admin/variable-length-subnet-mask-vlsm-tutorial) - Outlines VLSM procedure including allocating from largest needs and selecting appropriate subnets sequentially. ↩
-
- 4Step 4
Add the total addresses allocated to all groups.
- 5Step 5
Remaining (sum of allocated addresses).
Calculations: total allocated addresses
Group (a): 64 customers, each needs 256 addresses
Each customer needs a -address CIDR block: (block size ).
Total allocated:
Group (b): 128 customers, each needs 128 addresses
Each customer needs a -address CIDR block: (block size ).
Total allocated:
Group (c): 128 customers, each needs 64 addresses
Each customer needs a -address CIDR block: (block size ).
Total allocated:
Grand total allocated
Addresses remaining in 190.100.0.0/16
Total in /16: (since )2
Remaining:
Footnotes
-
Das Blinken Lichten / subnetting resources (https://www.dasblinkenlichten.com/subnetting-a-subnet-vlsm) - Shows subnet-mask sizing table including /24=256, /25=128, /26=64 relationships. ↩ ↩2 ↩3
-
RIPE NCC, “Understanding IP Addressing and CIDR Charts — RIPE Network Coordination Centre” (https://www.ripe.net/about-us/press-centre/understanding-ip-addressing) - Explains IPv4 CIDR slash notation and how prefix length relates to bits. ↩
-
ITU Online IT Training, “Calculating CIDR Ranges for Efficient IP Address Management” (https://www.ituonline.com/blogs/calculating-cidr-ranges-for-efficient-ip-address-management) - Provides prefix host-bit relationship and example block sizing. ↩
Subblock design (network ranges)
We allocate from the start of the given block, i.e., beginning at and using increasing subnet addresses. This follows the common sequential VLSM planning method.
We only need the boundaries for remaining-space computation, but we can still list the actual subnet boundaries per group at a high level:
Group 1 (/24 blocks): 64 subnets of /24
- Number of /24 blocks:
- Each /24 is addresses, and consecutive /24 blocks increase by in the last octet.
So Group 1 consumes:
In terms of the /16’s second+third octets, this corresponds to consuming:
- space up through as /24 chunks (i.e., the first 64 blocks).
Group 2 (/25 blocks): 128 subnets of /25
Next available boundary after consuming 64×/24 aligns at .
- 128 blocks of /25 consumes: So Group 2 consumes up to .
Group 3 (/26 blocks): 128 subnets of /26
Next available boundary: .
- 128 blocks of /26 consumes: So Group 3 consumes up to .
Remaining address space
The overall /16 is through . If the first of the possible “/24 chunks” worth of space are consumed (0–159), remaining is “/16 from 160 to 255”, which has:
- “/24 chunk equivalents”
- addresses
This matches the arithmetic remainder above.
Footnotes
-
Comparitech, “Variable Length Subnet Mask (VLSM) Tutorial - Fully Explained” (https://www.comparitech.com/net-admin/variable-length-subnet-mask-vlsm-tutorial) - Outlines VLSM procedure including allocating from largest needs and selecting appropriate subnets sequentially. ↩
Allocated vs. Remaining Addresses (VLSM within 190.100.0.0/16)
Total addresses per group based on chosen CIDR block sizes.
Pro Tip: Choose the smallest CIDR that meets (not exceeds) the requirement
For VLSM, each customer-group’s requirement must map to a block size via . Using the smallest power-of-two block reduces waste.
Footnotes
-
Das Blinken Lichten / subnetting resources (https://www.dasblinkenlichten.com/subnetting-a-subnet-vlsm) - Shows subnet-mask sizing table including /24=256, /25=128, /26=64 relationships. ↩
Be careful: “usable hosts” vs “total addresses”
Some textbooks talk about usable hosts as (network + broadcast). Here, the question states “needs 256 addresses”, so we match CIDR block size in total addresses. If it instead asked for usable hosts, the answer could differ.
Footnotes
-
ComputerNetworkingNotes.com, “VLSM Subnetting Examples and Calculation Explained” (https://www.computernetworkingnotes.com/ccna-study-guide/vlsm-subnetting-examples-and-calculation-explained.html) - Discusses network/broadcast impacting usable hosts vs block size. ↩
VLSM Allocation Roadmap
Map needs to block sizes
1) Interpret requirementsTranslate 256/128/64 address needs into /24, /25, /26."
Carve largest first
2) Allocate in descending orderAllocate /24 subnets first, then /25, then /26 to prevent fragmentation/waste."
Sum allocated space
3) Track consumptionCompute total allocated addresses across groups and compare to /16 total."
Compute remainder
4) FinalizeRemaining = 65,536 − allocated."
Common Questions
VLSM Key Terms & Checks
Knowledge Check
190.100.0.0/16 contains how many total IPv4 addresses?
Explore Related Topics
Applications of Queue Data Structure: Choosing the Correct Option
Single Sideband (SSB) and Vestigial Sideband (VSB) Modulation: Detailed Study
TCP/IP Networking: The Architecture of the Internet
This course covers the TCP/IP suite’s four‑layer architecture, key protocols, connection setup, addressing, and security considerations.
- Each TCP/IP layer adds its own header via encapsulation, moving data from a process to the physical medium.
- TCP is reliable and connection‑oriented; UDP is fast, connectionless with a small 8‑byte header.
- The 3‑way handshake uses SYN, SYN‑ACK, then ACK to establish a TCP connection.
- IPv4 uses 32‑bit addresses; IPv6 uses 128‑bit, and subnet masks define network vs host bits.
- Ports 0‑1023 are well‑known (e.g., 80 for HTTP); IP spoofing is a security threat.