Soru

Zorluk: KolayIPv4 Addressing and Subnetting

A network administrator provisions a small subnetwork for a server cluster using a subnet mask with a prefix length of /29/29. How many usable host IPv4 addresses are available on this subnet?

Cevap: 6 usable host addresses

Cevap

The subnet provides 6 usable host IPv4 addresses.
With a prefix length of /29/29, there are 3229=332 - 29 = 3 host bits available. The formula to calculate usable host addresses is 2n22^n - 2, where nn is the host bit count. Calculating 232=82=62^3 - 2 = 8 - 2 = 6 yields 6 usable host addresses.

Adım Adım Çözüm

1
Determine host bits from CIDR prefix
3 host bits
An IPv4 address consists of 32 bits, so 3229=332 - 29 = 3 bits remain for host identification.
2
Calculate total IP address space
8 total addresses
Total address space equals 2n2^n where nn is the host bit count (23=82^3 = 8).
3
Subtract reserved addresses
6 usable host addresses
The network address (all host bits 0) and broadcast address (all host bits 1) cannot be assigned to end devices.

Anahtar Kavram

IPv4 Usable Host Calculation
Tahmini Süre:45s
Bu soruyu puanla