Soru

Zorluk: OrtaIPv4 Addressing and Subnetting

A network administrator is allocating an IPv4 subnet for a new IP telephony pool that requires host IP addresses for 5858 VoIP phones and 22 dedicated administrative consoles. What is the maximum number of usable host IP addresses available in the smallest standard subnet prefix that satisfies this requirement?

  1. 6262Cevap
  2. B
    6464
  3. C
    126126
  4. D
    3030

Cevap

6262 usable host IP addresses
The scenario requires addressing for 60 total host devices (58+2=6058 + 2 = 60). The smallest standard IPv4 subnet block that can accommodate this requirement is a /26/26 network prefix, which allocates 66 host bits (3226=632 - 26 = 6). A 6-bit host portion provides 26=642^6 = 64 total IP addresses. Subtracting 22 reserved addresses for the network ID and broadcast address gives 642=6264 - 2 = 62 usable host IP addresses.

Adım Adım Çözüm

1
Calculate the total number of host IP addresses required.
58 (phones)+2 (consoles)=60 total host IP addresses required58 \text{ (phones)} + 2 \text{ (consoles)} = 60 \text{ total host IP addresses required}.
Both phones and administrative consoles require valid, assignable IPv4 addresses.
2
Determine the smallest power of 2 that accommodates at least the required usable host count.
The smallest power of 22 greater than or equal to 60+2=6260 + 2 = 62 is 26=642^6 = 64. This corresponds to a /26/26 prefix length.
Subnet blocks are allocated in powers of 2 (2n2^n), where nn is the number of host bits.
3
Calculate usable host IP addresses by applying the formula 2n22^n - 2.
262=642=62 usable host IP addresses2^6 - 2 = 64 - 2 = 62 \text{ usable host IP addresses}.
The first address in the block is reserved as the Network ID, and the final address is reserved as the Network Broadcast address.

Anahtar Kavram

Usable IPv4 Host Address Calculation
Tahmini Süre:1m 30s
Bu soruyu puanla