VLSM Address Allocation within ISP Block 80.70.56.0/21
We solve an IPv4 VLSM problem: an ISP is assigned the network block and must allocate subnets to organizations with host requirements of 500, 250, and 50 addresses (grouped as: 2×500, 2×250, 3×50). We then identify the unallocated address ranges.
Key ideas: a CIDR block contains total addresses, but only are usable by hosts (excluding network and broadcast). [keyword]{def="CIDR block size defined by prefix length /p: number of total addresses is "}
We will use VLSM to choose the smallest subnet prefix that can accommodate each required number of hosts. keyword
We’ll also compute address ranges using the 4-octet structure of IPv4: each subnet boundary aligns on blocks whose size depends on the prefix length.
Important: This response includes the computations and allocation logic. However, due to an external web-search tool limit, I cannot provide the required web citations for the CIDR/subnetting facts (e.g., host formula, broadcast rules). The course math is standard and internally consistent, but footnote citations are not available.
IPv4 CIDR Subnetting (VLSM) Explained
(a) Number and range of addresses in the ISP block
The ISP block is:
- Network:
- Prefix:
- That means the subnet mask is (because leaves 11 host bits: ).
Total addresses in the block:
Usable host addresses: (because the network address and broadcast address are not usable for hosts in typical IPv4 host addressing.)
Range of addresses
For , the third octet increments in steps of (since is in binary, the last three bits are the variable host-part boundary inside that octet).
Starting at , the block covers:
- third octet values:
So:
- First address:
- Last address:
Therefore:
- Total range:
- Usable host range:
- Broadcast:
Step-by-step: Choose subnet sizes for 500, 250, and 50 hosts (VLSM)
- 1Step 1
A subnet with usable hosts requires , where is the number of host bits (i.e., ).
- 2Step 2
Need . Smallest with is because . So total addresses => prefix .
- 3Step 3
Need . Smallest with is because . So prefix .
- 4Step 4
Need . Smallest with is because . So prefix .
- 5Step 5
500-host subnets: /23 (512 total, 510 usable). 250-host subnets: /24 (256 total, 254 usable). 50-host subnets: /26 (64 total, 62 usable).
(b) Allocate ranges for each organization and list unallocated ranges
We need:
- Two organizations each with 500 addresses:
- Two organizations each with 250 addresses:
- Three organizations each with 50 addresses:
We will allocate subnets starting from the beginning of the ISP block in increasing IP order (a standard way to produce one valid non-overlapping VLSM plan).
Chosen subnet sizes (from the step-by-step)
- size = 512 addresses (usable: 510)
- size = 256 addresses (usable: 254)
- size = 64 addresses (usable: 62)
Allocation map (consecutive, non-overlapping)
The ISP block has 2048 total addresses, which equals:
- or , etc.
We’ll place the largest subnets first to avoid fragmentation.
1) Allocate the 2 × 500-host organizations: each gets a /23
A /23 starting at spans third octet and (range size 512 addresses).
-
Org A (500, #1):
- Usable: to
- Broadcast:
-
Org B (500, #2): Next consecutive /23 starts at
- Usable: to
- Broadcast:
After these, the next free address starts at .
2) Allocate the 2 × 250-host organizations: each gets a /24
Each /24 spans one full value of the third octet.
-
Org C (250, #1):
- Usable: to
- Broadcast:
-
Org D (250, #2):
- Usable: to
- Broadcast:
After these, next free address starts at .
3) Allocate the 3 × 50-host organizations: each gets a /26
A /26 spans 64 addresses, i.e., 4 blocks of size 64 inside a /24. Within a given /24 (e.g., ), the /26 blocks are:
- –
- –
- –
- –
We need three /26s, so we can take the first three in order inside :
-
Org E (50, #1):
- Usable: to
- Broadcast:
-
Org F (50, #2):
- Usable: to
- Broadcast:
-
Org G (50, #3):
- Usable: to
- Broadcast:
Now the next free address is .
Unallocated address ranges (leftover)
The ISP block ends at . We have allocated:
- portion up through:
- allocated: –
So the remaining unallocated portion is:
- Unallocated total range: to
If you want usable host-only unallocated range, then exclude unallocated network and broadcast endpoints of each remaining free subnet, but since the problem asks for “range of unallocated addresses,” it is typically acceptable to state the continuous leftover block.
Thus:
- Unallocated (all addresses): –
- Unallocated usable (host-usable in general): –
Requested vs Allocated Subnet Sizes (VLSM)
Each organization gets the smallest subnet that can satisfy its host requirement.
Common subtleties in subnet allocation (and why ranges look the way they do)
Pro Tip
When you compute VLSM, always pick the smallest prefix that meets required hosts. Then allocate starting from the lowest free address to keep the plan unambiguous.
Warning
Different courses/books sometimes interpret 'addresses' as either total IPv4 addresses in a subnet or strictly usable host addresses. Here we treated the given numbers (500/250/50) as usable host addresses, using .
Final answers (collected)
(a) ISP block
- Total addresses:
- Usable host addresses:
- Address range: to
(b) Organization ranges and unallocated range
-
Org A (500 each, #1): (usable: –)
-
Org B (500 each, #2): (usable: –)
-
Org C (250 each, #1): (usable: –)
-
Org D (250 each, #2): (usable: –)
-
Org E (50 each, #1): (usable: –)
-
Org F (50 each, #2): (usable: –)
-
Org G (50 each, #3): (usable: –)
-
Unallocated addresses (continuous): to
-
Unallocated usable hosts (general host range): to
Knowledge Check
For an IPv4 subnet with prefix /21, how many total IP addresses does it contain?