Soru

Zorluk: KolayIPv4 Addressing and Subnetting

A network administrator is assigning IP addresses to devices within the 172.16.10.16/28172.16.10.16/28 subnet. Which TWO of the following IPv4 addresses are valid host addresses that can be assigned to network interfaces on this subnet? (Select TWO.)

  1. 172.16.10.17Cevap
  2. 172.16.10.28Cevap
  3. C
    172.16.10.16
  4. D
    172.16.10.31

Cevap

The IPv4 addresses 172.16.10.17 and 172.16.10.28 are valid assignable host addresses.
For the prefix 172.16.10.16/28172.16.10.16/28, the subnet mask is 255.255.255.240255.255.255.240, giving a subnet block size of 1616. The subnet range spans from 172.16.10.16172.16.10.16 to 172.16.10.31172.16.10.31. Within this subnet, 172.16.10.16172.16.10.16 is the reserved network ID and 172.16.10.31172.16.10.31 is the reserved subnet broadcast address. The usable host address range is 172.16.10.17172.16.10.17 through 172.16.10.30172.16.10.30. Therefore, 172.16.10.17172.16.10.17 and 172.16.10.28172.16.10.28 are the two valid host addresses.

Adım Adım Çözüm

1
Determine the subnet block size from the prefix length.
A /28 prefix corresponds to a subnet mask of 255.255.255.240. The block size in the 4th octet is 256240=16256 - 240 = 16.
Knowing the block size helps establish the boundaries of the subnet.
2
Calculate the network address, broadcast address, and usable host range.
Network address = 172.16.10.16; Broadcast address = 172.16.10.16+161=172.16.10.31172.16.10.16 + 16 - 1 = 172.16.10.31; Usable host range = 172.16.10.17 to 172.16.10.30.
The first address in the subnet is reserved for the network ID, and the last address is reserved for the broadcast address.
3
Evaluate each given option against the usable host range.
172.16.10.17 and 172.16.10.28 fall within 172.16.10.17-172.16.10.30, whereas 172.16.10.16 is the network ID and 172.16.10.31 is the broadcast address.
Only IP addresses strictly between the network ID and broadcast address are assignable to host interfaces.

Anahtar Kavram

IPv4 Subnet Boundaries and Usable Host Address Calculation
Bu soruyu puanla