ISP Allocating /29 Blocks to Customers

Advanced Design

Question

As an ISP, you have been assigned 198.51.100.0/24 to distribute to small business customers. Each customer receives a /29 block (6 usable host addresses). How many customers can you serve from this block? List the first 8 customer allocations with their network address, usable range, and broadcast.

Given

{
  "block": "198.51.100.0/24",
  "customer_size": 29
}

Answer

{
  "total_addresses": 256,
  "addresses_per_customer": 8,
  "max_customers": 32,
  "usable_per_customer": 6,
  "first_8_customers": [
    {
      "customer": 1,
      "subnet": "198.51.100.0/29",
      "network": "198.51.100.0",
      "first_host": "198.51.100.1",
      "last_host": "198.51.100.6",
      "broadcast": "198.51.100.7"
    },
    {
      "customer": 2,
      "subnet": "198.51.100.8/29",
      "network": "198.51.100.8",
      "first_host": "198.51.100.9",
      "last_host": "198.51.100.14",
      "broadcast": "198.51.100.15"
    },
    {
      "customer": 3,
      "subnet": "198.51.100.16/29",
      "network": "198.51.100.16",
      "first_host": "198.51.100.17",
      "last_host": "198.51.100.22",
      "broadcast": "198.51.100.23"
    },
    {
      "customer": 4,
      "subnet": "198.51.100.24/29",
      "network": "198.51.100.24",
      "first_host": "198.51.100.25",
      "last_host": "198.51.100.30",
      "broadcast": "198.51.100.31"
    },
    {
      "customer": 5,
      "subnet": "198.51.100.32/29",
      "network": "198.51.100.32",
      "first_host": "198.51.100.33",
      "last_host": "198.51.100.38",
      "broadcast": "198.51.100.39"
    },
    {
      "customer": 6,
      "subnet": "198.51.100.40/29",
      "network": "198.51.100.40",
      "first_host": "198.51.100.41",
      "last_host": "198.51.100.46",
      "broadcast": "198.51.100.47"
    },
    {
      "customer": 7,
      "subnet": "198.51.100.48/29",
      "network": "198.51.100.48",
      "first_host": "198.51.100.49",
      "last_host": "198.51.100.54",
      "broadcast": "198.51.100.55"
    },
    {
      "customer": 8,
      "subnet": "198.51.100.56/29",
      "network": "198.51.100.56",
      "first_host": "198.51.100.57",
      "last_host": "198.51.100.62",
      "broadcast": "198.51.100.63"
    }
  ]
}

Try to solve it first, then click Reveal Answer

Step-by-Step Explanation

Step 1: Calculate /29 block size and customer count

/29 = 2^(32-29) = 2^3 = 8 addresses per customer block. Usable hosts per block: 8 - 2 = 6 hosts (subtract network + broadcast).

Total customers: 256 ÷ 8 = 32 customers from the /24.

Step 2: Understand /29 alignment

/29 blocks must start at multiples of 8: 0, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248

Step 3: First 8 customer allocations

Customer Network First Host Last Host Broadcast
1 198.51.100.0/29 .1 .6 .7
2 198.51.100.8/29 .9 .14 .15
3 198.51.100.16/29 .17 .22 .23
4 198.51.100.24/29 .25 .30 .31
5 198.51.100.32/29 .33 .38 .39
6 198.51.100.40/29 .41 .46 .47
7 198.51.100.48/29 .49 .54 .55
8 198.51.100.56/29 .57 .62 .63

Step 4: What customers typically do with a /29

With 6 usable addresses, a small business can host: - 1 IP for their edge router (WAN interface) - 1–4 IPs for servers in their DMZ - 1 IP reserved for ISP network management

Step 5: ISP-side considerations

Reverse DNS delegation: ISP must delegate the in-addr.arpa zone for each /29 to the customer's DNS server, allowing customers to set their own PTR records.

Route announcement: The ISP aggregates all customer /29s and announces just 198.51.100.0/24 to the upstream transit provider, keeping the global BGP table small.

Address exhaustion: Once all 32 /29 blocks are assigned, the ISP must request additional address space from their RIR (ARIN, RIPE, etc.). This illustrates why IPv4 address conservation matters.

Note: 198.51.100.0/24 is TEST-NET-2, reserved for documentation (RFC 5737). Real ISPs use actual public address space.

Related Terms

More Design Worksheets