Home Lab Network Segmentation

Beginner Design

Question

You want to segment your home lab network (192.168.0.0/24) into four isolated segments: LAN (main devices), IoT (smart home devices), Guest (visitor WiFi), and Management (network equipment). Assign a /26 subnet to each segment. List the network address, usable host range, and broadcast for each.

Given

{
  "network": "192.168.0.0/24",
  "segments": [
    "LAN",
    "IoT",
    "Guest",
    "Management"
  ]
}

Answer

{
  "subnets": [
    {
      "segment": "LAN",
      "subnet": "192.168.0.0/26",
      "network": "192.168.0.0",
      "first_host": "192.168.0.1",
      "last_host": "192.168.0.62",
      "broadcast": "192.168.0.63",
      "usable_hosts": 62
    },
    {
      "segment": "IoT",
      "subnet": "192.168.0.64/26",
      "network": "192.168.0.64",
      "first_host": "192.168.0.65",
      "last_host": "192.168.0.126",
      "broadcast": "192.168.0.127",
      "usable_hosts": 62
    },
    {
      "segment": "Guest",
      "subnet": "192.168.0.128/26",
      "network": "192.168.0.128",
      "first_host": "192.168.0.129",
      "last_host": "192.168.0.190",
      "broadcast": "192.168.0.191",
      "usable_hosts": 62
    },
    {
      "segment": "Management",
      "subnet": "192.168.0.192/26",
      "network": "192.168.0.192",
      "first_host": "192.168.0.193",
      "last_host": "192.168.0.254",
      "broadcast": "192.168.0.255",
      "usable_hosts": 62
    }
  ]
}

Try to solve it first, then click Reveal Answer

Step-by-Step Explanation

Step 1: Choose the right prefix length

A /24 (256 addresses) divided by 4 equal segments = 64 addresses each. 64 = 2^6, so the prefix length is 32 - 6 = /26. Each /26 provides 2^6 - 2 = 62 usable host addresses.

Step 2: Identify /26 block boundaries

/26 boundaries occur at multiples of 64 within the /24:

Offset Block
0 192.168.0.0/26
64 192.168.0.64/26
128 192.168.0.128/26
192 192.168.0.192/26

Step 3: Assign segments to blocks

Segment Subnet Network First Host Last Host Broadcast
LAN /26 .0.0 .0.1 .0.62 .0.63
IoT /26 .0.64 .0.65 .0.126 .0.127
Guest /26 .0.128 .0.129 .0.190 .0.191
Management /26 .0.192 .0.193 .0.254 .0.255

Step 4: Understanding network and broadcast addresses

For each subnet: - Network address: First IP (cannot be assigned to a host) - Broadcast address: Last IP (sends to all hosts on segment) - Usable range: Everything between network and broadcast

Example for 192.168.0.64/26: - Binary: 192.168.0.01000000 (network, 26 bits fixed) - Network: 192.168.0.01000000 = .64 - Broadcast: 192.168.0.01111111 = .127 - Usable: .65 through .126 (62 addresses)

Step 5: Why segment your home lab?

Reason Benefit
IoT isolation A compromised smart device cannot reach your LAN
Guest isolation Visitors cannot sniff your traffic or reach NAS
Management isolation Router/switch admin only accessible from Management VLAN
Broadcast reduction Each segment has its own broadcast domain

Configure your router/firewall with inter-VLAN routing rules to control what each segment can reach.

Related Terms

More Design Worksheets