← All questions
Card 80 · Networking

The company network 192.168.30.0/24 is to be divided into 8 subnets. What is the correct subnet mask, and how many host IP addresses can be used in all 8 subnets together?

Answer

1. Subnet bits: 8 subnets = 2³ → you need 3 extra bits from the host part.

2. New mask: /24 + 3 = /27 = 255.255.255.224 (last octet 1110 0000).

3. Hosts per subnet: 32 − 27 = 5 host bits → 2⁵ = 32 addresses, minus network address and broadcast address = 30 usable hosts.

4. Total: 8 × 30 = 240 usable host addresses.

The subnets are 192.168.30.0, .32, .64, .96, .128, .160, .192 and .224 (block size 32).

Diagram

/241 network+ 3 bits2³ = 8 subnets/27255.255.255.2248 × 30= 240 hosts

Key vocabulary

TermMeaningExample
subnet maska number that separates network and host partThe subnet mask is 255.255.255.224.
prefix length (CIDR)the number of network bits, e.g. /27A /27 network has 32 addresses.
host bitsthe bits used for device addressesFive host bits give 30 usable hosts.
network addressthe first address of a subnet, not usable for hosts192.168.30.32 is a network address.
broadcast addressthe last address of a subnetThe broadcast address of the first subnet is .31.
block sizethe step between subnetsWith /27 the block size is 32.

Useful phrases

Talk about it

  1. Explain the calculation step by step in English, as if you were teaching a classmate.
  2. Now divide 10.0.0.0/24 into 4 subnets. What is the mask and how many hosts per subnet?
  3. Why would a company divide its network into subnets at all?

IHK hint

German: Subnetting: 8 Subnetze = 2³ → /27 = 255.255.255.224; pro Subnetz 2⁵ − 2 = 30 Hosts; insgesamt 8 × 30 = 240 Host-Adressen.