Address Plan for 4 Branch Offices

Advanced Design

Question

Your company has a 10.10.0.0/16 block to allocate across four locations: HQ (8 VLANs, 250 hosts each), Branch-A (3 VLANs, 50 hosts each), Branch-B (3 VLANs, 50 hosts each), and Branch-C (2 VLANs, 25 hosts each). Design a hierarchical addressing plan that assigns a contiguous block to each site, then sub-divides within each site.

Given

{
  "network": "10.10.0.0/16",
  "branches": [
    {
      "name": "HQ",
      "vlans": 8,
      "hosts_per_vlan": 250
    },
    {
      "name": "Branch-A",
      "vlans": 3,
      "hosts_per_vlan": 50
    },
    {
      "name": "Branch-B",
      "vlans": 3,
      "hosts_per_vlan": 50
    },
    {
      "name": "Branch-C",
      "vlans": 2,
      "hosts_per_vlan": 25
    }
  ]
}

Answer

{
  "site_allocations": [
    {
      "site": "HQ",
      "block": "10.10.0.0/19",
      "vlans": [
        {
          "vlan": 1,
          "subnet": "10.10.0.0/24",
          "usable": 254
        },
        {
          "vlan": 2,
          "subnet": "10.10.1.0/24",
          "usable": 254
        },
        {
          "vlan": 3,
          "subnet": "10.10.2.0/24",
          "usable": 254
        },
        {
          "vlan": 4,
          "subnet": "10.10.3.0/24",
          "usable": 254
        },
        {
          "vlan": 5,
          "subnet": "10.10.4.0/24",
          "usable": 254
        },
        {
          "vlan": 6,
          "subnet": "10.10.5.0/24",
          "usable": 254
        },
        {
          "vlan": 7,
          "subnet": "10.10.6.0/24",
          "usable": 254
        },
        {
          "vlan": 8,
          "subnet": "10.10.7.0/24",
          "usable": 254
        }
      ]
    },
    {
      "site": "Branch-A",
      "block": "10.10.32.0/22",
      "vlans": [
        {
          "vlan": 1,
          "subnet": "10.10.32.0/26",
          "usable": 62
        },
        {
          "vlan": 2,
          "subnet": "10.10.32.64/26",
          "usable": 62
        },
        {
          "vlan": 3,
          "subnet": "10.10.32.128/26",
          "usable": 62
        }
      ]
    },
    {
      "site": "Branch-B",
      "block": "10.10.36.0/22",
      "vlans": [
        {
          "vlan": 1,
          "subnet": "10.10.36.0/26",
          "usable": 62
        },
        {
          "vlan": 2,
          "subnet": "10.10.36.64/26",
          "usable": 62
        },
        {
          "vlan": 3,
          "subnet": "10.10.36.128/26",
          "usable": 62
        }
      ]
    },
    {
      "site": "Branch-C",
      "block": "10.10.40.0/23",
      "vlans": [
        {
          "vlan": 1,
          "subnet": "10.10.40.0/27",
          "usable": 30
        },
        {
          "vlan": 2,
          "subnet": "10.10.40.32/27",
          "usable": 30
        }
      ]
    }
  ]
}

Try to solve it first, then click Reveal Answer

Step-by-Step Explanation

Step 1: Calculate required address space per site

Site VLANs Hosts/VLAN Total Hosts Block Needed
HQ 8 250 2,000 /19 (8,190 usable)
Branch-A 3 50 150 /22 (1,022 usable)
Branch-B 3 50 150 /22 (1,022 usable)
Branch-C 2 25 50 /23 (510 usable)

For HQ: 8 VLANs × 254 = 2,032 hosts required. A /19 = 8,192 addresses = 8 full /24s with room to grow.

Step 2: Assign site blocks from 10.10.0.0/16

Assign non-overlapping blocks, each aligned to its size boundary:

10.10.0.0/19   → HQ        (10.10.0.0 - 10.10.31.255)
10.10.32.0/22  → Branch-A  (10.10.32.0 - 10.10.35.255)
10.10.36.0/22  → Branch-B  (10.10.36.0 - 10.10.39.255)
10.10.40.0/23  → Branch-C  (10.10.40.0 - 10.10.41.255)
10.10.42.0/23+ → (reserved for future sites)

Step 3: Sub-divide HQ into VLANs

Each VLAN needs 250 hosts → /24 (254 usable). Assign 8 sequential /24s within the /19:

VLAN 1: 10.10.0.0/24
VLAN 2: 10.10.1.0/24
VLAN 3: 10.10.2.0/24
VLAN 4: 10.10.3.0/24
VLAN 5: 10.10.4.0/24
VLAN 6: 10.10.5.0/24
VLAN 7: 10.10.6.0/24
VLAN 8: 10.10.7.0/24

Remaining 10.10.8.0–10.10.31.255 (24 × /24 subnets) reserved for HQ expansion.

Step 4: Sub-divide Branch-A and Branch-B

Each needs 50 hosts per VLAN → /26 (62 usable):

Branch-A VLAN 1: 10.10.32.0/26   (10.10.32.1 - 10.10.32.62)
Branch-A VLAN 2: 10.10.32.64/26  (10.10.32.65 - 10.10.32.126)
Branch-A VLAN 3: 10.10.32.128/26 (10.10.32.129 - 10.10.32.190)

Branch-B VLAN 1: 10.10.36.0/26
Branch-B VLAN 2: 10.10.36.64/26
Branch-B VLAN 3: 10.10.36.128/26

Step 5: Sub-divide Branch-C

Each needs 25 hosts per VLAN → /27 (30 usable):

Branch-C VLAN 1: 10.10.40.0/27  (10.10.40.1 - 10.10.40.30)
Branch-C VLAN 2: 10.10.40.32/27 (10.10.40.33 - 10.10.40.62)

Step 6: Summarization benefit

Each site block can be summarized in the routing table: - HQ: advertise 10.10.0.0/19 (single route) - Branch-A: advertise 10.10.32.0/22 - Branch-B: advertise 10.10.36.0/22 - Branch-C: advertise 10.10.40.0/23

This keeps the core routing table small regardless of the number of VLANs at each site.

Related Terms

More Design Worksheets