← 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
/24 1 network + 3 bits 2³ = 8 subnets /27 255.255.255. 224 8 × 30 = 240 hosts
Key vocabulary
Term Meaning Example
subnet mask a number that separates network and host part The subnet mask is 255.255.255.224.
prefix length (CIDR) the number of network bits, e.g. /27 A /27 network has 32 addresses.
host bits the bits used for device addresses Five host bits give 30 usable hosts.
network address the first address of a subnet, not usable for hosts 192.168.30.32 is a network address.
broadcast address the last address of a subnet The broadcast address of the first subnet is .31.
block size the step between subnets With /27 the block size is 32.
Useful phrases
to borrow bits from the host part We borrow three bits from the host part.
two to the power of … Two to the power of three is eight.
minus two for network and broadcast 32 minus two for network and broadcast is 30.
to divide a network into subnets We divided the network into eight subnets.
Talk about it
Explain the calculation step by step in English, as if you were teaching a classmate.
Now divide 10.0.0.0/24 into 4 subnets. What is the mask and how many hosts per subnet?
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.