Soru

Zorluk: OrtaIPv4 Addressing and Subnetting

A network engineer is provisioning static IP addresses for servers assigned to the subnetwork block 10.45.192.0/2110.45.192.0/21. Which TWO of the following IPv4 addresses are valid, usable host addresses within this subnetwork?

  1. A
    10.45.192.0
  2. 10.45.192.1Cevap
  3. 10.45.199.254Cevap
  4. D
    10.45.199.255

Cevap

The addresses 10.45.192.1 and 10.45.199.254 are valid usable host addresses.
For a /21 prefix (255.255.248.0255.255.248.0), the subnetwork spans from network address 10.45.192.010.45.192.0 to broadcast address 10.45.199.25510.45.199.255. The usable host range includes all IP addresses between the network address and broadcast address, which are 10.45.192.110.45.192.1 through 10.45.199.25410.45.199.254. Therefore, 10.45.192.110.45.192.1 and 10.45.199.25410.45.199.254 are both valid usable host addresses.

Adım Adım Çözüm

1
Determine the subnet mask and block size from the prefix length.
A /21 prefix corresponds to a subnet mask of 255.255.248.0. The block size in the third octet is 256 - 248 = 8.
Prefix length /21 leaves 11 bits for hosts (32 - 21 = 11).
2
Calculate the network address and broadcast address for 10.45.192.0/21.
Network Address: 10.45.192.0; Broadcast Address: 10.45.199.255.
The third octet increments in steps of 8 (192, 200, etc.). The current subnet spans from 10.45.192.0 to 10.45.199.255.
3
Identify the usable host address range.
Usable host range is 10.45.192.1 through 10.45.199.254.
Usable host addresses exclude the network address (first IP) and broadcast address (last IP).

Anahtar Kavram

Usable IPv4 Host Range Calculation
Bu soruyu puanla