IP Addressing and Subnetting

Variable Length Subnetting

Learn how variable-length subnetting uses different prefix lengths to fit subnet sizes more closely, preserve address space, and support practical IPv4 network design.

Beginner12 min read
IP Addressing and Subnetting lessonNetworkingPractice

UNTIMED COACHING

Practice before the pressure

Use feedback to correct the model, not merely memorize an option position.

GUIDED PRACTICE

Practice the lesson questions

Answer normal lesson questions without a timer. Every answer includes an explanation, and incorrect answers can be tried again before continuing.

CONCEPT MODELS

See the lesson as a system

Use these visual guides to connect the key ideas before answering the questions.

Matching subnet capacity to network demandDifferent network requirements can receive different prefix lengths while preserving clear subnet boundaries.
Matching subnet capacity to network demandA large address block divides into unequal subnet allocations for a user network and a small link.
Parent address blockAvailable IPv4 space to divide
Larger subnetSupports larger host groups
Smaller subnetSupports smaller host groups
Point-to-point linkRequires carefully sized address
How a prefix divides an IPv4 addressA prefix length identifies the subnet portion, leaving the remaining bits for host addresses.
How a prefix divides an IPv4 addressAn IPv4 address is divided by a prefix boundary into subnet bits and host bits.
IPv4 address32-bit address value
Prefix portionLeading bits identify the subnet
Host portionRemaining bits address hosts
Subnet capacityDetermined by host-bit count
Sizing a small IPv4 linkSmall links require checking how many device addresses are needed before choosing a compact prefix.
Sizing a small IPv4 linkA link requirement is compared with available addresses in compact subnet choices.
Link requirementCount participating interfaces
Check prefix capacityCompare capacity with requirements
/30 choiceProvides two usable addresses
/31 choiceMore restrictive small subnet