Soru

Zorluk: KolayIPv4 Addressing and Subnetting

A network administrator allocates the IPv4 network block 192.168.10.0/27192.168.10.0/27 to a remote branch office subnet. What is the maximum number of usable host IP addresses that can be assigned to host devices on this subnet?

  1. 30 usable host addressesCevap
  2. B
    32 usable host addresses
  3. C
    62 usable host addresses
  4. D
    14 usable host addresses

Cevap

The maximum number of usable host IP addresses on a /27 subnet is 30.
A CIDR prefix of /27 leaves 5 bits for host addresses (3227=532 - 27 = 5). Calculating 252^5 gives 32 total IP addresses in the subnet block. Subtracting 2 for the Network ID and Broadcast address (32232 - 2) gives 30 usable host IP addresses.

Adım Adım Çözüm

1
Calculate the number of available host bits from the CIDR prefix.
Host bits = 3227=532 - 27 = 5 bits.
An IPv4 address consists of 32 total bits. Subtracting the 27 network bits yields the remaining host bits.
2
Calculate the total number of IP addresses in the block.
Total addresses = 25=322^5 = 32 addresses.
The total capacity of a subnet is equal to 2 raised to the power of the number of host bits.
3
Subtract the reserved network and broadcast addresses to determine assignable host IPs.
Usable addresses = 322=3032 - 2 = 30 host addresses.
The first address serves as the Network ID and the final address serves as the Subnet Broadcast Address; neither can be assigned to individual host network interfaces.

Anahtar Kavram

Calculating usable host IP addresses using CIDR subnet notation
Tahmini Süre:45s
Bu soruyu puanla