Soru

Zorluk: ZorIPv4 Addressing and Subnetting

A network administrator is reconfiguring a branch office network segment. The segment currently contains 118118 desktop computers, 66 network printers, and 22 router interface gateways. System monitoring indicates upcoming team expansion will require an additional 88 IP addresses next month. If the administrator wants to use the smallest possible IPv4 subnet mask that accommodates all current and projected devices while reserving required network and broadcast addresses, which CIDR notation subnet mask should be applied?

  1. A
    /25
  2. /24Cevap
  3. C
    /23
  4. D
    /26

Cevap

/24
The total number of required usable host IP addresses is calculated as 118+6+2+8=134118 + 6 + 2 + 8 = 134. To determine the smallest suitable subnet, we apply the formula 2h21342^h - 2 \ge 134, where hh is the number of host bits. A subnet with h=7h = 7 bits (/25) yields 272=1262^7 - 2 = 126 usable host addresses, which falls short. Increasing host bits to h=8h = 8 bits (/24) yields 282=2542^8 - 2 = 254 usable host addresses, which fully accommodates all 134 devices without unnecessary over-allocation.

Adım Adım Çözüm

1
Calculate total host IP addresses required.
Current devices: 118+6+2=126118 + 6 + 2 = 126 hosts. With projected growth: 126+8=134126 + 8 = 134 host IP addresses needed.
All active interfaces and future devices require unique usable host IP addresses on the network segment.
2
Determine the required host bits (hh) using the usable host formula 2h21342^h - 2 \ge 134.
For h=7h = 7: 272=1262^7 - 2 = 126 usable hosts (insufficient). For h=8h = 8: 282=2542^8 - 2 = 254 usable hosts (sufficient).
Subnet calculations must subtract 2 addresses (2h22^h - 2) to reserve the network ID and broadcast address.
3
Calculate the CIDR prefix from the host bits.
CIDR prefix = 328=/2432 - 8 = /24.
An IPv4 address consists of 32 bits, so subtracting 8 host bits leaves 24 network prefix bits.

Anahtar Kavram

IPv4 CIDR Subnetting and Usable Host Address Calculation
Bu soruyu puanla