Soru

Zorluk: KolayPrivate IPv4 Addressing and RFC 1918

A system administrator is setting up an internal application server and needs to assign an IPv4 address from the RFC 1918 Class B private address space. Which of the following IPv4 addresses is a valid private IP address within this Class B block?

  1. 172.20.15.5Cevap
  2. B
    172.33.5.10
  3. C
    192.169.50.1
  4. D
    172.15.100.1

Cevap

172.20.15.5 is a valid RFC 1918 Class B private IPv4 address.
RFC 1918 defines the Class B private IPv4 space as 172.16.0.0 to 172.31.255.255 (172.16.0.0/12). The address 172.20.15.5 falls directly inside this range because its second octet (20) is within the 16–31 boundary.

Adım Adım Çözüm

1
Identify the RFC 1918 Class B private IPv4 address block boundaries.
The Class B private address range is 172.16.0.0 to 172.31.255.255 (with a /12 prefix length).
RFC 1918 reserves specific IPv4 address spaces for internal, non-globally routable enterprise networks.
2
Evaluate the candidate IPv4 addresses against the Class B boundary range.
172.20.15.5 has a second octet value of 20, which lies inclusively between 16 and 31.
Any IP address starting with 172.16.x.x through 172.31.x.x is part of the RFC 1918 Class B private allocation.

Anahtar Kavram

RFC 1918 Private IPv4 Addressing
Bu soruyu puanla