Subnetting allows you to create multiple logical networks that exist within a single Class A/B/C network.

You are tasked to setup a network given a address. We have 16 bits to work with for subnetting.

  • 15 states
  • 6 data centers in each state
  • 50 servers per data center


Keep in mind we need point-to-point connections from HQ to the 15 regions and from the regions to each data center. That means we need at least 2 x 15 = 30 WAN IPs in the first subnet division.

# of Hosts (3rd octet) Subnet Mask
128 /17
64 /18
32 /19
16 /20
8 /21
4 /22

So we need to borrow 3 bits from the mask for a /19 mask with 32 hosts.

State Network

I’m not showing all the states but each network will be at increments of 32. Let’s take a look at the Colorado ( network. There are 6 data centers. This means at least we need a subnet with at least (2×6) 12 hosts. Luckily we need a minimum of 50 hosts per subnet anyway. Depending on their growth intent (subnets vs more IPs). If the customer decides 50 clients are enough per data center, but they may add additional data centers, we should make sure we can accommodate the clients first. We’ll need to borrow 2 bits from the 4th octet (64 hosts), so our mask will be /26

# of Hosts Subnet Mask
128 /25
64 /26
32 /27
16 /28
8 /29
4 /30

The six data center networks:

Each center has a router that needs to be linked to the Colorado router. The point-to-point connections total to (5 x 2) 10 IPs. We can start from


You can use this calculator to check: