Soru

Zorluk: KolayIPv4 Addressing and Subnetting

A network technician is configuring an interface on a router for a subnet assigned the /28/28 CIDR prefix. Which of the following statements regarding this subnet prefix are correct? (Select TWO.)

  1. The subnet mask in dotted-decimal notation is 255.255.255.240255.255.255.240.Cevap
  2. The total number of usable host IP addresses available on the subnet is 14.Cevap
  3. C
    The total number of usable host IP addresses available on the subnet is 16.
  4. D
    The subnet mask in dotted-decimal notation is 255.255.255.224255.255.255.224.

Cevap

The statement that the subnet mask in dotted-decimal notation is 255.255.255.240 and the statement that the total number of usable host IP addresses is 14 are correct.
For a /28/28 prefix, 2828 bits belong to the network identifier, leaving 44 host bits (3228=432 - 28 = 4). In dotted-decimal notation, 28 mask bits translate to 255.255.255.240255.255.255.240 because 128+64+32+16=240128 + 64 + 32 + 16 = 240. The usable host capacity is calculated using the formula 2h2=242=142^h - 2 = 2^4 - 2 = 14.

Adım Adım Çözüm

1
Calculate the subnet mask in dotted-decimal notation.
Prefix length /28/28 means 28 network bits and 3228=432 - 28 = 4 host bits. The binary mask is `11111111.11111111.11111111.11110000`, which translates to 255.255.255.240255.255.255.240.
Converting CIDR prefix length to octets yields the dotted-decimal subnet mask.
2
Calculate the number of usable host IP addresses.
Total IP addresses = 24=162^4 = 16. Usable host addresses = 242=142^4 - 2 = 14.
The network address (all host bits 0) and the broadcast address (all host bits 1) cannot be assigned to individual hosts.

Anahtar Kavram

Subnet Mask Dotted-Decimal Conversion and Usable Host IP Calculation
Bu soruyu puanla