RouteDuck

IP addressing

VLSM Calculator and Subnet Planner

Enter a parent block and the hosts each segment needs. The planner gives every segment the smallest subnet that fits and lists what is left.

Plan

Everything fits. The subnets use 228 of 256 addresses.

SegmentNeededSubnetMaskUsable rangeBroadcastUsableSpare
Users100192.168.1.0/25255.255.255.128192.168.1.1 - 192.168.1.126192.168.1.12712626
Servers50192.168.1.128/26255.255.255.192192.168.1.129 - 192.168.1.190192.168.1.1916212
Voice25192.168.1.192/27255.255.255.224192.168.1.193 - 192.168.1.222192.168.1.223305
WAN link2192.168.1.224/30255.255.255.252192.168.1.225 - 192.168.1.226192.168.1.22720

Left over

Free blockAddresses
192.168.1.228/304
192.168.1.232/298
192.168.1.240/2816

What VLSM is

Variable-length subnet masking gives each segment a subnet sized for it, instead of cutting a block into equal parts. A 100-host LAN and a two-address router link can then come from the same block without wasting most of it.

How subnets are placed

Each segment gets the smallest block that holds the hosts you asked for plus the network and broadcast addresses. The largest block is placed first and the rest follow in order of size. Because each block is a power of two and no larger than the one before, every subnet starts on its own boundary and there are no gaps between them. What remains is listed as free blocks.

Point-to-point links

A link between two routers needs two addresses. A /30 provides them and spends two more on the network and broadcast addresses. A /31 uses both of its addresses (RFC 3021). Tick the box to give a /31 to any segment that needs one or two hosts, after checking that both ends of the link support it.

Related tools