Soru

Zorluk: OrtaPrivate IPv4 Addressing and RFC 1918

Match each RFC 1918 private IPv4 address range to its defined default CIDR block and maximum number of usable host addresses.

  • 10.0.0.0 to 10.255.255.255/8 CIDR block (16,777,21416,777,214 usable hosts)
  • 172.16.0.0 to 172.31.255.255/12 CIDR block (1,048,5741,048,574 usable hosts)
  • 192.168.0.0 to 192.168.255.255/16 CIDR block (65,53465,534 usable hosts)

Cevap

10.0.0.0 to 10.255.255.255 matches the /8 CIDR block (16,777,21416,777,214 usable hosts); 172.16.0.0 to 172.31.255.255 matches the /12 CIDR block (1,048,5741,048,574 usable hosts); 192.168.0.0 to 192.168.255.255 matches the /16 CIDR block (65,53465,534 usable hosts).
Under RFC 1918, the three private IPv4 address allocations have distinct prefix masks and sizes: 10.0.0.0/8 provides a single large block with 24 host bits (16,777,21416,777,214 usable hosts); 172.16.0.0/12 encompasses 16 Class B ranges spanning 172.16.0.0 through 172.31.255.255 with 20 host bits (1,048,5741,048,574 usable hosts); and 192.168.0.0/16 encompasses 256 Class C ranges spanning 192.168.0.0 through 192.168.255.255 with 16 host bits (65,53465,534 usable hosts).

Adım Adım Çözüm

1
Analyze the 10.0.0.0/8 Class A private block
The range 10.0.0.0 to 10.255.255.255 reserves 24 host bits (328=2432 - 8 = 24).
Calculating usable host count yields 2242=16,777,2142^{24} - 2 = 16,777,214 addresses.
2
Analyze the 172.16.0.0/12 Class B private block
The range 172.16.0.0 to 172.31.255.255 spans from second octet 16 to 31, reserving 20 host bits (3212=2032 - 12 = 20).
Calculating usable host count yields 2202=1,048,5742^{20} - 2 = 1,048,574 addresses.
3
Analyze the 192.168.0.0/16 Class C private block
The range 192.168.0.0 to 192.168.255.255 reserves 16 host bits (3216=1632 - 16 = 16).
Calculating usable host count yields 2162=65,5342^{16} - 2 = 65,534 addresses.

Anahtar Kavram

RFC 1918 Private IPv4 Address Allocation and CIDR Prefix Boundaries
Bu soruyu puanla