Allocating IP Subnets
When allocating IP subnets within a network, take care to allocate them in a logical fashion. You should strive for two goals:
Allow for the largest possible remaining addressable space (i.e., the largest subnets possible in the remaining space).
Allow as many subnets as possible to be expanded into the surrounding available space.
As you will see, achieving both of these goals is a balancing act.
Iâve encountered three methods for allocating IP subnets. Iâll call these methods sequential, divide by half, and reverse binary.
Sequential
Most peopleâs first inclination seems to be to allocate IP addresses and IP subnets in numerical order. That is, they allocate the first numerical subnet, then the next, and so on. If such a person were subnetting the 192.168.100.0/24 network into /30 subnets, she would likely allocate them in this order: 0, 4, 8, 12, etc. Sequential allocation of subnets in a network is what most admins seem naturally prone to do. It works, itâs easy to understand, and itâs pretty easy to tell where the next available network will be.
Of the three methods Iâll discuss here, this is the least desirable and the most often deployed. There are some serious problems with this method. First, there is no room for expansion in any of the subnets, except for possibly the last one used. If the subnet 192.168.100.16 grows and now needs 18 addresses instead of 16, the entire subnet must be renumbered to a larger subnet space elsewhere. Second, this ...
Get Network Warrior, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.