Question

Difficulty: MediumIPv4 Addressing and Subnetting

A network administrator is auditing interface configurations across an enterprise network. A host interface is assigned the IPv4 address 172.20.108.90172.20.108.90 with a subnet mask of 255.255.255.224255.255.255.224. Which IPv4 address represents the broadcast address for this subnetwork?

  1. 172.20.108.95172.20.108.95Answer
  2. B
    172.20.108.94172.20.108.94
  3. C
    172.20.108.96172.20.108.96
  4. D
    172.20.108.127172.20.108.127

Answer

The broadcast address for the subnetwork is 172.20.108.95172.20.108.95.
For a /27/27 subnet mask (255.255.255.224255.255.255.224), the subnet block size is 256224=32256 - 224 = 32. The subnets increment by 3232 in the fourth octet (0,32,64,96,1280, 32, 64, 96, 128). The host address 172.20.108.90172.20.108.90 falls into the subnet starting at 172.20.108.64172.20.108.64. The broadcast address is the highest IP address within this range, which is 172.20.108.95172.20.108.95 (one less than the next subnet ID of 172.20.108.96172.20.108.96).

Step-by-Step Solution

1
Determine the CIDR prefix length and block size from the subnet mask.
The mask 255.255.255.224255.255.255.224 corresponds to a /27/27 prefix (24+324 + 3 bits). The block size in the fourth octet is 256224=32256 - 224 = 32.
The subnet mask defines the boundary between the network and host portions of the IP address.
2
Identify the network ID for the given IP address.
Subnet multiples of 3232 in the fourth octet are 0,32,64,96,128...0, 32, 64, 96, 128... Since 9090 lies between 6464 and 9595, the network ID is 172.20.108.64172.20.108.64.
The network ID is the lowest address in the subnet block.
3
Calculate the broadcast address.
The next subnet starts at 172.20.108.96172.20.108.96. Subtracting 11 from the next network ID yields the broadcast address 172.20.108.95172.20.108.95.
The broadcast address is always the last address in the subnet range where all host bits are set to 1.

Key Concept

IPv4 Subnet Boundaries and Broadcast Address Calculation
Estimated Time:1m 0s
Rate this question