A network administrator is configuring a dedicated VLAN for a new branch office security system. The system requires static IPv4 addresses for 12 IP cameras, 2 Network Video Recorders (NVRs), and 1 router default gateway interface. Which of the following CIDR subnet masks is the smallest mask that accommodates all required host IP addresses while minimizing wasted address space?
- /27Cevap
- B/28
- C/29
- D/26
Cevap
The subnet mask /27 is the smallest CIDR prefix that accommodates all 15 required host IP addresses.
The correct option is /27. The scenario requires 15 usable IPv4 addresses (12 cameras + 2 NVRs + 1 default gateway). A /27 subnet uses 5 host bits, yielding 2^5 - 2 = 30 usable host addresses. This is the smallest prefix length (most specific mask) that accommodates all 15 hosts without shortage.
Adım Adım Çözüm
Anahtar Kavram
IPv4 Subnet Masking and Host Allocation
Tahmini Süre:1m 30s