Design Addressing for a 50-Person Office
Intermediate DesignQuestion
You need to design an IP addressing scheme for a 50-person office using the network 192.168.1.0/24. The office has four departments: Staff (30 hosts), Servers (10 hosts), IoT (5 hosts), and Guest WiFi (20 hosts). Allocate a subnet for each department using VLSM. Minimize wasted addresses while leaving room for growth.
Given
{
"network": "192.168.1.0/24",
"departments": [
{
"name": "Staff",
"hosts": 30
},
{
"name": "Servers",
"hosts": 10
},
{
"name": "IoT",
"hosts": 5
},
{
"name": "Guest WiFi",
"hosts": 20
}
]
}
Answer
{
"subnets": [
{
"department": "Staff",
"subnet": "192.168.1.0/26",
"usable_hosts": 62,
"range": "192.168.1.1 - 192.168.1.62",
"broadcast": "192.168.1.63"
},
{
"department": "Guest WiFi",
"subnet": "192.168.1.64/26",
"usable_hosts": 62,
"range": "192.168.1.65 - 192.168.1.126",
"broadcast": "192.168.1.127"
},
{
"department": "Servers",
"subnet": "192.168.1.128/28",
"usable_hosts": 14,
"range": "192.168.1.129 - 192.168.1.142",
"broadcast": "192.168.1.143"
},
{
"department": "IoT",
"subnet": "192.168.1.144/28",
"usable_hosts": 14,
"range": "192.168.1.145 - 192.168.1.158",
"broadcast": "192.168.1.159"
}
],
"remaining": "192.168.1.160/27, 192.168.1.192/26",
"total_allocated": 152,
"total_usable": 256
}
Try to solve it first, then click Reveal Answer
Step-by-Step Explanation
Step 1: Sort departments by required hosts (largest first)
VLSM allocates subnets greedily from largest to smallest to avoid fragmentation:
| Department | Required Hosts |
|---|---|
| Staff | 30 |
| Guest WiFi | 20 |
| Servers | 10 |
| IoT | 5 |
Step 2: Choose prefix length for each department
Formula: 2^(32 - prefix) - 2 >= required hosts
- Staff (30 hosts): Need at least 32 addresses → 2^6 = 64, prefix = /26 (62 usable) ✓
- Guest WiFi (20 hosts): Same calculation → /26 (62 usable) ✓
- Servers (10 hosts): Need at least 12 → 2^4 = 16, prefix = /28 (14 usable) ✓
- IoT (5 hosts): Need at least 7 → 2^4 = 16, prefix = /28 (14 usable) ✓
Step 3: Allocate subnets sequentially
Starting from 192.168.1.0:
192.168.1.0/26 → Staff (192.168.1.0 - 192.168.1.63)
192.168.1.64/26 → Guest WiFi (192.168.1.64 - 192.168.1.127)
192.168.1.128/28 → Servers (192.168.1.128 - 192.168.1.143)
192.168.1.144/28 → IoT (192.168.1.144 - 192.168.1.159)
192.168.1.160/27 → (reserved/future, 30 usable)
192.168.1.192/26 → (reserved/future, 62 usable)
Step 4: Verify no overlaps
Each subnet block ends before the next begins: - /26 = 64 addresses: 0–63, 64–127 - /28 = 16 addresses: 128–143, 144–159
No overlaps exist. ✓
Step 5: Key outputs per subnet
| Subnet | Network | First Host | Last Host | Broadcast |
|---|---|---|---|---|
| Staff | 192.168.1.0 | .1 | .62 | .63 |
| Guest | 192.168.1.64 | .65 | .126 | .127 |
| Servers | 192.168.1.128 | .129 | .142 | .143 |
| IoT | 192.168.1.144 | .145 | .158 | .159 |
Design Notes
- Guest WiFi is isolated in its own subnet, preventing guests from reaching Staff or Server subnets without routing policy
- IoT isolation is critical for security — limit routing from IoT subnet to Servers
- 96 addresses remain unallocated for future growth
Related Terms
More Design Worksheets
Home Lab Network Segmentation
Beginner
Allocate /30 Subnets for 15 Router Links
Intermediate
Cloud VPC CIDR Planning with 3 Availability Zones
Intermediate
Subnet Allocation for a Server Rack
Intermediate
VLAN Addressing for a Multi-Floor Building
Intermediate
Address Plan for 4 Branch Offices
Advanced