A network architect is designing an IPv4 subnetting plan for a new high-availability database cluster. The cluster requires IP assignments for 28 database server nodes, 1 dedicated out-of-band monitoring probe, 1 management appliance, and a redundant default gateway deployment using HSRP (which requires 2 physical interface IP addresses and 1 Virtual IP address). Furthermore, enterprise policy dictates that the provisioned subnet must accommodate at least a 25% growth headroom above the total initial IP requirements. Which CIDR prefix length represents the most efficient (smallest) IPv4 subnet that satisfies all requirements, and how many usable host IP addresses will remain unassigned after the initial deployment?
- /26 prefix length with 29 remaining usable host IP addressesCevap
- B/26 prefix length with 31 remaining usable host IP addresses
- C/27 prefix length with 0 remaining usable host IP addresses
- D/25 prefix length with 93 remaining usable host IP addresses
Cevap
The most efficient subnet is a /26 prefix length, which leaves 29 remaining usable host IP addresses.
The total required IP count for the deployment is 33 (28 database nodes + 1 probe + 1 appliance + 3 HSRP gateway addresses). Adding 25% headroom requires supporting at least 42 usable IP addresses. A /26 subnet yields usable host IP addresses, which is the smallest subnet that accommodates at least 42 hosts. Subtracting the initial 33 assigned addresses leaves 29 unassigned usable host IPs.
Adım Adım Çözüm
Anahtar Kavram
IPv4 Subnet Mask Calculation and Usable Host Address Estimation
Tahmini Süre:3m 0s