Tüm alıştırma soruları

18 soru

Soru 1Soru

A network engineer is assigned the IPv4 subnetwork block 192.168.100.0/23192.168.100.0/23 for a high-density enterprise server rack. What is the maximum number of usable host IPv4 addresses that can be assigned to active network interfaces within this subnet?

Cevabı ve açıklamayı göster

Cevap: 510

Cevap

510 usable host addresses
A /23/23 prefix leaves 3223=932 - 23 = 9 bits for host addresses. Total addresses equal 29=5122^9 = 512. Subtracting 2 for the network address (192.168.100.0192.168.100.0) and broadcast address (192.168.101.255192.168.101.255) leaves exactly 510 usable host IP addresses.

Adım Adım Çözüm

1
Calculate the number of host bits from the prefix length.
Host bits = 3223=932 - 23 = 9 bits
An IPv4 address consists of 32 bits. Subtracting the prefix length yields the remaining host portion bits.
2
Calculate the total number of IPv4 addresses in the subnetwork block.
29=5122^9 = 512 total addresses
The formula 2n2^n gives the complete block size in total IP addresses.
3
Subtract reserved subnetwork and broadcast addresses to determine usable host capacity.
5122=510512 - 2 = 510 usable hosts
The lowest address in the subnet acts as the subnet ID, and the highest address acts as the directed broadcast address; neither can be assigned to host interfaces.

Anahtar Kavram

IPv4 Usable Host Calculation
Soru 2Soru

A network engineer is configuring a point-to-point connection and internal VLANs within an enterprise infrastructure. An interface is assigned the IPv4 address 10.144.67.100/2110.144.67.100/21. What is the decimal value of the third octet of the broadcast address for the subnet to which this host belongs?

Cevabı ve açıklamayı göster

Cevap: 71

Cevap

The third octet of the broadcast address is 71 (broadcast address is 10.144.71.255).
For the prefix /21 (subnet mask 255.255.248.0), the third octet operates with a block size of 8 (256 - 248 = 8). The third octet value 67 falls into the subnet starting at 64 (10.144.64.0). The next subnet starts at 72 (10.144.72.0), making the broadcast address for the current subnet 10.144.71.255. The third octet of this broadcast address is 71.

Adım Adım Çözüm

1
Convert CIDR prefix /21 to dotted-decimal mask.
Mask is 255.255.248.0 (21 network bits: 8 + 8 + 5).
The third octet contains 5 subnet bits and 3 host bits.
2
Calculate the block size (increment) for the third octet.
256 - 248 = 8.
Subnets increment in steps of 8 in the third octet.
3
Find the third octet network boundary for IP 10.144.67.100.
Network address is 10.144.64.0.
The greatest multiple of 8 less than or equal to 67 is 64.
4
Determine the broadcast address of the subnet.
Broadcast address is 10.144.71.255.
The subnet spans from 10.144.64.0 to 10.144.71.255, one value prior to the next subnet 10.144.72.0.

Anahtar Kavram

Subnet Boundary and Broadcast Address Calculation
Soru 3Soru

A network architect is implementing Variable Length Subnet Masking (VLSM) for an enterprise branch using the assigned summary prefix 172.20.0.0/19172.20.0.0/19. Four subnets must be allocated sequentially from the lowest available IP address of the block to support the following minimum host requirements:

- Location A: 1,000 usable hosts
- Location B: 480 usable hosts
- Location C: 250 usable hosts
- Location D: 120 usable hosts

Each subnet must be sized using the smallest possible prefix length to satisfy its host requirement. After completing these four allocations in order (Location A, then B, then C, then D), what is the maximum number of usable host IPv4 addresses that can be accommodated in the single largest contiguous unallocated subnet block remaining in the 172.20.0.0/19172.20.0.0/19 summary range?

Cevabı ve açıklamayı göster

Cevap: 4094

Cevap

The maximum number of usable host addresses in the single largest contiguous unallocated subnet block remaining is 4094.
The base block 172.20.0.0/19172.20.0.0/19 contains 213=81922^{13} = 8192 total IP addresses (ranging from 172.20.0.0172.20.0.0 to 172.20.31.255172.20.31.255). Allocating for Locations A (/22/22, 1024 IPs), B (/23/23, 512 IPs), C (/24/24, 256 IPs), and D (/25/25, 128 IPs) uses addresses 172.20.0.0172.20.0.0 through 172.20.7.127172.20.7.127. The remaining space (172.20.7.128172.20.7.128 to 172.20.31.255172.20.31.255) decomposes into three valid CIDR subnets: 172.20.7.128/25172.20.7.128/25 (128 IPs), 172.20.8.0/21172.20.8.0/21 (2048 IPs), and 172.20.16.0/20172.20.16.0/20 (4096 IPs). The largest single contiguous subnet is 172.20.16.0/20172.20.16.0/20, which accommodates 2122=40942^{12} - 2 = 4094 usable host addresses.

Adım Adım Çözüm

1
Calculate required prefix lengths and allocated address ranges for each location sequentially starting at 172.20.0.0
Location A (1000 hosts) requires /22 (1024 total IPs: 172.20.0.0 - 172.20.3.255). Location B (480 hosts) requires /23 (512 total IPs: 172.20.4.0 - 172.20.5.255). Location C (250 hosts) requires /24 (256 total IPs: 172.20.6.0 - 172.20.6.255). Location D (120 hosts) requires /25 (128 total IPs: 172.20.7.0 - 172.20.7.127).
Each subnet host capacity is calculated using 2^h - 2, where h is the host bits. Minimum prefix blocks must align on natural network boundaries.
2
Analyze the remaining unallocated address range within the 172.20.0.0/19 block
The total /19 block spans 172.20.0.0 to 172.20.31.255 (8192 total IPs). Address space used so far is 172.20.0.0 through 172.20.7.127 (1920 IPs). Unallocated range is 172.20.7.128 to 172.20.31.255.
Subtracting allocated IP space from the base summary block isolates the remaining contiguous unassigned addresses.
3
Partition remaining unallocated space into standard summary subnets and find the largest block
Remaining space partitions into 172.20.7.128/25 (128 IPs), 172.20.8.0/21 (2048 IPs), and 172.20.16.0/20 (4096 IPs). The largest block is 172.20.16.0/20.
Subnets must align on binary bit boundaries corresponding to their prefix lengths.
4
Calculate usable hosts for the largest unallocated block (172.20.16.0/20)
2^12 - 2 = 4096 - 2 = 4094 usable host IPv4 addresses.
Subtracting the network ID and broadcast address from total block addresses gives usable host count.

Anahtar Kavram

VLSM block allocation, binary boundary alignment, and unallocated subnet summarization
Tahmini Süre:3m 0s
Soru 4Soru

A network administrator assigns the IPv4 subnet mask 255.255.255.224255.255.255.224 to a VLAN interface on a Cisco switch. What is the maximum number of usable host IPv4 addresses that can be assigned to end devices in this subnet?

Cevabı ve açıklamayı göster

Cevap: 30

Cevap

The maximum number of usable host IPv4 addresses is 30.
A subnet mask of 255.255.255.224255.255.255.224 corresponds to a CIDR prefix of /27, leaving 5 bits for host addressing. Using the formula 2n22^n - 2 (where n=5n = 5), the calculation yields 252=322=302^5 - 2 = 32 - 2 = 30 usable host IP addresses.

Adım Adım Çözüm

1
Determine the number of host bits (nn) available in the 255.255.255.224255.255.255.224 subnet mask.
The mask has 27 network bits and 5 host bits (3227=532 - 27 = 5).
The last octet value 224224 in binary is 11100000211100000_2, meaning 3 bits belong to the network/subnet portion and 5 bits belong to the host portion.
2
Calculate the number of usable host IP addresses using the formula 2n22^n - 2.
252=322=302^5 - 2 = 32 - 2 = 30 usable host addresses.
The formula 2n22^n - 2 accounts for the total IP addresses (2n2^n) minus the reserved network identifier (all host bits set to 0) and the broadcast address (all host bits set to 1).

Anahtar Kavram

Usable Host Address Calculation
Soru 5Soru

A network administrator is designing an IPv4 addressing scheme for a local subnet that must support 6060 usable host IP addresses. The administrator assigns the smallest subnet prefix length (largest mask) that accommodates this host requirement. How many total usable host IPv4 addresses are provided by this assigned subnet?

Cevabı ve açıklamayı göster

Cevap: 62

Cevap

The assigned subnet provides 62 total usable host IPv4 addresses.
To support 60 host addresses, a subnet must allocate 6 host bits because 262=622^6 - 2 = 62 usable addresses. 5 host bits only provide 30 usable addresses (2522^5 - 2), which is insufficient.

Adım Adım Çözüm

1
Determine the required number of host bits.
6 host bits are required (262=622^6 - 2 = 62).
5 host bits only yield 252=302^5 - 2 = 30 usable IP addresses, which is not enough for 60 hosts.
2
Calculate the usable host capacity of the subnet.
62 usable host addresses.
With 6 host bits, the total IP space is 26=642^6 = 64. Subtracting the network address and the broadcast address leaves 62 usable host IP addresses.

Anahtar Kavram

IPv4 Usable Host Calculation
Tahmini Süre:45s
Soru 6Soru

A network technician is configuring a new subnet with an IPv4 prefix length of /28/28. How many usable host IPv4 addresses are available on this subnet?

Cevabı ve açıklamayı göster

Cevap: 14

Cevap

14 usable IPv4 host addresses are available on a /28 subnet.
For a /28/28 prefix, the host portion contains 3228=432 - 28 = 4 bits. The formula to calculate usable hosts is 2h22^h - 2, where hh is the number of host bits. Therefore, 242=162=142^4 - 2 = 16 - 2 = 14 usable host IPv4 addresses.

Adım Adım Çözüm

1
Determine the number of host bits available.
Host bits = 3228=432 - 28 = 4 bits.
An IPv4 address consists of 32 bits. Subtracting the prefix length (/28) leaves the host portion of the address.
2
Calculate total IP address space for the subnet.
Total addresses = 24=162^4 = 16 addresses.
The formula 2h2^h determines total IP address combinations, where hh is the number of host bits.
3
Subtract reserved addresses to get usable host addresses.
Usable addresses = 162=1416 - 2 = 14 addresses.
The first address (subnet ID) and last address (broadcast) cannot be assigned to individual hosts.

Anahtar Kavram

IPv4 Subnet Usable Host Calculation
Soru 7Soru

A network engineer is assigned the IPv4 network block 10.140.0.0/1810.140.0.0/18 to provision subnets for standard branch offices. Each branch office requires a subnet capable of accommodating at least 110110 usable host IP addresses. What is the maximum number of equal-sized subnets supporting this host requirement that can be created from the 10.140.0.0/1810.140.0.0/18 block?

Cevabı ve açıklamayı göster

Cevap: 128

Cevap

The maximum number of valid branch subnets that can be created is 128.
To support at least 110 usable hosts per subnet, 7 host bits are required (272=1262^7 - 2 = 126 usable hosts). Subtracting 7 host bits from 32 total IPv4 bits results in a /25/25 prefix length. Borrowing bits from the allocated /18/18 summary block gives 2518=725 - 18 = 7 subnet bits. Therefore, 27=1282^7 = 128 valid subnets can be created.

Adım Adım Çözüm

1
Determine the required host bits for at least 110 usable host IP addresses.
7 host bits are required because 272=1261102^7 - 2 = 126 \ge 110, whereas 6 host bits (262=622^6 - 2 = 62) are insufficient.
Every IPv4 subnet reserves two IP addresses for the network ID and the broadcast ID, making the usable host formula 2h22^h - 2.
2
Determine the required CIDR prefix length for each subnet.
The prefix length is /25/25 (327=2532 - 7 = 25).
An IPv4 address consists of 32 bits; subtracting the 7 host bits leaves 25 network bits.
3
Calculate the number of borrowed subnet bits relative to the parent block.
7 subnet bits are borrowed (2518=725 - 18 = 7).
Extending the parent network prefix from /18/18 to /25/25 borrows 7 bits for subnetting.
4
Calculate the total number of /25/25 subnets within the /18/18 parent block.
The total number of subnets is 27=1282^7 = 128.
Borrowing nn subnet bits yields 2n2^n distinct subnets.

Anahtar Kavram

Calculating IPv4 subnet capacity and prefix derivation based on host requirements
Tahmini Süre:2m 0s
Soru 8Soru

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?

Cevabı ve açıklamayı göster

Cevap: 6

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
Soru 9Soru

A network administrator is allocated the IPv4 address block 172.20.64.0/21172.20.64.0/21 for datacenter VLAN expansion. The architectural requirement mandates that the block be divided into the maximum possible number of equal-sized subnets such that each subnet can accommodate at least 5050 usable host addresses. If exactly 5050 hosts are assigned in every created subnet, how many usable host IP addresses across the entire /21/21 block remain unassigned?

Cevabı ve açıklamayı göster

Cevap: 384

Cevap

384 usable host IP addresses remain unassigned across all created subnets.
To satisfy the requirement of at least 5050 usable host addresses per subnet while maximizing the number of subnets, 66 host bits are required (262=622^6 - 2 = 62 usable host addresses per subnet), resulting in a /26/26 prefix length. Dividing the /21/21 block into /26/26 subnets produces 22621=322^{26-21} = 32 subnets. With 5050 host addresses assigned per subnet, each subnet has 6250=1262 - 50 = 12 unassigned usable host addresses. Across all 3232 subnets, the total number of unassigned usable host IP addresses is 32×12=38432 \times 12 = 384.

Adım Adım Çözüm

1
Determine the minimum host bits required to support at least 50 usable host addresses per subnet.
6 host bits (h=6h = 6), which yields 262=622^6 - 2 = 62 usable host addresses per subnet and a prefix length of /26/26.
Using 5 host bits (252=302^5 - 2 = 30) is insufficient for 50 hosts. 6 host bits meet the minimum requirement while maximizing subnet creation.
2
Calculate the total number of /26/26 subnets created from the /21/21 summary block.
22621=25=322^{26 - 21} = 2^5 = 32 subnets.
Borrowing 5 subnet bits from a /21/21 block creates 32 subnets of size /26/26.
3
Determine the unassigned usable host addresses per subnet when 50 hosts are assigned.
6250=1262 - 50 = 12 unassigned usable host addresses per subnet.
Network and broadcast addresses are already excluded when calculating the 62 usable host addresses.
4
Multiply the unassigned usable host addresses per subnet by the total number of created subnets.
32 subnets×12 addresses=38432 \text{ subnets} \times 12 \text{ addresses} = 384 total unassigned usable host IP addresses.
Aggregating the unused host capacity across all equal-sized subnets within the allocated block.

Anahtar Kavram

IPv4 Subnet Sizing and Usable Host Capacity Calculation
Soru 10Soru

An organization is assigned the IPv4 address block 172.28.0.0/19172.28.0.0/19 to provision subnetting for a multi-building campus network. The system architecture mandates dividing this entire block into equal-sized subnets where each subnet must support at least 120120 usable host IP addresses. What is the maximum number of such equal-sized subnets that can be created from this /19/19 prefix?

Cevabı ve açıklamayı göster

Cevap: 64

Cevap

64 subnets can be created.
To host at least 120 usable IP addresses, 7 host bits are required (272=1262^7 - 2 = 126 usable hosts). A block with 7 host bits corresponds to a /25/25 prefix. Subnetting a /19/19 block into /25/25 subnets borrows 2519=625 - 19 = 6 bits, resulting in 26=642^6 = 64 subnets.

Adım Adım Çözüm

1
Determine the required host bits
7 host bits (h=7h = 7)
The formula for usable IPv4 hosts per subnet is 2h22^h - 2. For 120 hosts, 2h2120    2h1222^h - 2 \ge 120 \implies 2^h \ge 122. The smallest power of two satisfying this is 27=1282^7 = 128 (1282=126128 - 2 = 126 usable host addresses).
2
Determine the required subnet prefix length
/25 prefix length
Subtracting 7 host bits from total 32 bits (327=2532 - 7 = 25) gives a subnet mask of /25/25 (255.255.255.128255.255.255.128).
3
Calculate the number of subnets derived from the parent prefix
64 subnets
The parent prefix is /19/19 and the subnet prefix is /25/25. The number of borrowed subnet bits is 2519=625 - 19 = 6 bits. The total number of subnets created is 26=642^6 = 64.

Anahtar Kavram

VLSM and Subnet Sizing Calculation
Soru 11Soru

A network administrator is assigned the IPv4 address block 10.50.0.0/2210.50.0.0/22 to provision subnets for an enterprise IP telephony deployment. Each subnet requires support for at least 5050 usable host IP addresses. If the administrator subnets the entire 10.50.0.0/2210.50.0.0/22 block using a uniform prefix length that meets this host requirement with minimal wasted host space, how many total subnets can be created?

Cevabı ve açıklamayı göster

Cevap: 16

Cevap

16 subnets can be created from the block.
To support at least 50 usable host IP addresses per subnet, 6 host bits are needed (262=622^6 - 2 = 62 usable IPs), which corresponds to a /26 prefix length (326=2632 - 6 = 26). Borrowing bits from the parent /22 prefix to create /26 subnets uses 2622=426 - 22 = 4 subnet bits, resulting in 24=162^4 = 16 total subnets.

Adım Adım Çözüm

1
Calculate the number of host bits required for 50 usable IP addresses
6 host bits are required
The formula for usable host IPs is 2h22^h - 2. With h=5h = 5, 252=302^5 - 2 = 30 hosts (insufficient). With h=6h = 6, 262=622^6 - 2 = 62 usable hosts, which satisfies the requirement of at least 50 hosts.
2
Determine the new subnet prefix length
The prefix length is /26
Subtracting the 6 host bits from the 32-bit IPv4 address space yields 326=2632 - 6 = 26.
3
Calculate the number of subnets derived from the parent /22 block
16 subnets
Subtracting the original prefix (/22) from the new prefix (/26) gives 2622=426 - 22 = 4 subnet bits. Borrowing 4 bits produces 24=162^4 = 16 subnets.

Anahtar Kavram

Subnet sizing and calculation of total subnets created using FLSM from a CIDR block.
Soru 12Soru

A network architect is assigned the IPv4 address block 10.116.0.0/1810.116.0.0/18 to provision subnets for remote office sites. Each site requires a dedicated subnet that can support at least 120120 usable host IP addresses. What is the maximum number of subnets of this size that can be created from the allocated block?

Cevabı ve açıklamayı göster

Cevap: 128

Cevap

The maximum number of subnets that can be created is 128.
To support at least 120 usable host IP addresses per subnet, 7 host bits are required because 272=1262^7 - 2 = 126 usable hosts (262=622^6 - 2 = 62 is insufficient). This results in a /25/25 prefix (327=2532 - 7 = 25). Borrowing bits from /18/18 to /25/25 gives 2518=725 - 18 = 7 subnet bits. The total number of subnets created is 27=1282^7 = 128.

Adım Adım Çözüm

1
Calculate the required host bits (hh) for at least 120120 usable host IP addresses.
7 host bits are required (272=1261202^7 - 2 = 126 \ge 120).
6 host bits provide only 262=622^6 - 2 = 62 usable hosts, which is insufficient. 7 host bits provide 126 usable hosts.
2
Determine the prefix length needed for 7 host bits.
The subnet prefix length is /25/25 (327=2532 - 7 = 25).
An IPv4 address consists of 32 bits, so subtracting 7 host bits leaves 25 network/subnet bits.
3
Determine the number of subnet bits borrowed from the allocated block.
7 bits are borrowed (2518=725 - 18 = 7).
The original allocation is /18/18 and the new subnets are /25/25.
4
Compute the total number of valid subnets.
The total number of subnets is 27=1282^7 = 128.
Borrowing 7 bits allows 272^7 distinct subnet combinations.

Anahtar Kavram

Subnet Sizing and Subnet Count Calculation
Tahmini Süre:1m 30s
Soru 13Soru

A network engineer is allocated the IPv4 address block 172.16.64.0/21172.16.64.0/21 to provision point-to-point WAN links between branch offices. Each link is configured with a /30/30 subnet mask to conserve address space. What is the maximum number of /30/30 subnets that can be created from this /21/21 block?

Cevabı ve açıklamayı göster

Cevap: 512

Cevap

The maximum number of /30/30 subnets that can be created is 512.
To calculate the total number of subnets created, subtract the starting prefix length from the target prefix length: 3021=930 - 21 = 9 borrowed subnet bits. Applying the formula 2n2^n yields 29=5122^9 = 512 subnets.

Adım Adım Çözüm

1
Calculate the number of borrowed subnet bits.
9 subnet bits borrowed (3021=930 - 21 = 9).
Subnetting a /21/21 network block into /30/30 subnets requires extending the prefix by 9 bits.
2
Calculate the total number of available subnets.
512 subnets (29=5122^9 = 512).
Each borrowed bit doubles the number of created subnets, yielding 29=5122^9 = 512 total subnets.

Anahtar Kavram

Calculating the total number of subnets created by borrowing host bits from an IPv4 CIDR prefix.
Soru 14Soru

An enterprise network team is allocated the IPv4 address block 10.240.16.0/2010.240.16.0/20 to provision subnets for remote branch offices. Each branch subnet must support at least 60 usable host addresses. What is the maximum number of equal-sized subnets that can be created from this address block?

Cevabı ve açıklamayı göster

Cevap: 64

Cevap

The maximum number of equal-sized subnets that can be created is 64.
To support 60 usable host addresses, a subnet requires 6 host bits because 262=622^6 - 2 = 62 usable addresses (252=302^5 - 2 = 30 is insufficient). A subnet with 6 host bits corresponds to a prefix length of /26 (326=2632 - 6 = 26). Subtracting the original block prefix (/20) from the subnet prefix (/26) yields 6 borrowed subnet bits. Calculating 262^6 gives 64 maximum equal-sized subnets.

Adım Adım Çözüm

1
Calculate required host bits for 60 usable hosts
6 host bits (262=62602^6 - 2 = 62 \ge 60)
Network and broadcast addresses are reserved and cannot be assigned to hosts, requiring subtraction of 2 from total addresses.
2
Determine target prefix length
Prefix length of /26
Subtracting 6 host bits from the 32 bits of an IPv4 address results in a 26-bit network prefix.
3
Calculate borrowed subnet bits
6 subnet bits
The difference between the new prefix (/26) and the allocated prefix (/20) represents the borrowed bits (2620=626 - 20 = 6).
4
Calculate total usable subnets
64 subnets
The formula 2s2^s, where ss is the number of borrowed bits, gives 26=642^6 = 64 available subnets.

Anahtar Kavram

IPv4 Subnetting and Host Requirement Sizing
Soru 15Soru

A network engineer is allocated the IPv4 address block 10.200.0.0/1910.200.0.0/19 to provision dedicated subnets for IP surveillance cameras across multiple industrial facilities. Each facility subnet must be configured using a 255.255.255.192255.255.255.192 subnet mask. How many distinct subnets can be created from this block?

Cevabı ve açıklamayı göster

Cevap: 128

Cevap

128 subnets can be created.
To determine the number of subnets created, convert the subnet mask 255.255.255.192255.255.255.192 to /26/26 CIDR notation. Borrowing bits from the original /19/19 prefix yields 2619=726 - 19 = 7 subnet bits. Calculating 272^7 gives exactly 128 subnets.

Adım Adım Çözüm

1
Determine the prefix length corresponding to the given subnet mask.
The dotted-decimal subnet mask 255.255.255.192255.255.255.192 corresponds to a /26/26 prefix (2424 network bits + 22 subnet bits in the fourth octet).
Converting the dotted-decimal mask to CIDR notation establishes the target prefix length.
2
Calculate the number of borrowed subnet bits.
26 bits (new prefix)19 bits (original prefix)=7 borrowed subnet bits26 \text{ bits (new prefix)} - 19 \text{ bits (original prefix)} = 7 \text{ borrowed subnet bits}.
Subnetting extends the network prefix length from /19/19 to /26/26.
3
Compute the total number of subnets.
27=1282^7 = 128 total subnets.
The formula to calculate the number of subnets generated by borrowing ss bits is 2s2^s.

Anahtar Kavram

Subnet Count Calculation
Soru 16Soru

A network engineer is allocated the IPv4 address block 172.30.128.0/20172.30.128.0/20 for an enterprise campus expansion project. The engineer needs to divide this block into smaller, equal-sized subnetworks using a prefix mask of /25/25. What is the total number of subnets that can be created from this original /20/20 block?

Cevabı ve açıklamayı göster

Cevap: 32

Cevap

The total number of subnets that can be created is 32.
Moving from a /20/20 prefix to a /25/25 prefix borrows 5 host bits (2520=525 - 20 = 5). Calculating 252^5 gives 32 distinct subnets.

Adım Adım Çözüm

1
Calculate the number of borrowed subnet bits
5 bits borrowed (2520=525 - 20 = 5)
The difference between the target prefix length and the starting prefix length represents the network bits borrowed from the host portion.
2
Calculate the total subnet count
32 subnets (25=322^5 = 32)
Each borrowed bit doubles the number of created subnets (2n2^n, where nn is the number of borrowed bits).

Anahtar Kavram

Subnet counting using CIDR prefix borrowing
Soru 17Soru

A network engineer is assigned the IPv4 block 10.100.0.0/2110.100.0.0/21 to create subnetworks for regional offices. Each regional office network requires a /26/26 subnet mask. How many /26/26 subnetworks can be created from this 10.100.0.0/2110.100.0.0/21 block?

Cevabı ve açıklamayı göster

Cevap: 32

Cevap

32 subnets can be created from the 10.100.0.0/2110.100.0.0/21 block.
Subtracting the original prefix length (/21/21) from the new subnet prefix length (/26/26) yields 55 subnet bits (2621=526 - 21 = 5). Calculating 252^5 gives 3232 subnets available within the 10.100.0.0/2110.100.0.0/21 parent block.

Adım Adım Çözüm

1
Determine the number of subnet bits borrowed by subtracting the initial block prefix length from the target subnet prefix length.
Borrowed bits = 2621=526 - 21 = 5 bits.
The difference between the new prefix length and the original prefix length represents the bits available to create subnets.
2
Calculate the total number of subnets using 2n2^n, where nn is the number of borrowed bits.
25=322^5 = 32 subnets.
Each additional bit assigned to the network prefix doubles the number of valid subnets.

Anahtar Kavram

Calculating Subnet Count from CIDR Prefix Differences
Tahmini Süre:1m 30s
Soru 18Soru

An enterprise network administrator needs to design an IPv4 subnet for a new IP security camera deployment that must support 500 host devices. What is the maximum number of usable host IPv4 addresses provided by the smallest standard CIDR subnet block that can accommodate this requirement?

Cevabı ve açıklamayı göster

Cevap: 510

Cevap

510 usable host IPv4 addresses
To support 500 host devices, the number of host bits hh must satisfy 2h25002^h - 2 \ge 500. A /24/24 subnet (h=8h = 8) yields only 282=2542^8 - 2 = 254 usable hosts, which is insufficient. The smallest subnet size that meets the requirement is a /23/23 subnet (h=9h = 9), which provides 292=5102^9 - 2 = 510 usable host addresses.

Adım Adım Çözüm

1
Determine the host bit requirement formula
Use 2h25002^h - 2 \ge 500, where hh represents host bits.
In every standard IPv4 subnet, two addresses are reserved: the network ID (all host bits 0) and the broadcast address (all host bits 1).
2
Calculate the smallest number of host bits that accommodates 500 hosts
282=2542^8 - 2 = 254 usable addresses (too small for 500 hosts); 292=5102^9 - 2 = 510 usable addresses (meets the requirement).
Selecting 9 host bits leaves 329=2332 - 9 = 23 network bits, resulting in a /23/23 prefix length.
3
Calculate the usable host capacity
292=5122=5102^9 - 2 = 512 - 2 = 510 usable host addresses.
Subtracting 2 reserved addresses from the 512 total addresses gives 510 valid host assignments.

Anahtar Kavram

IPv4 Subnet Sizing and Usable Host Calculation
Tüm alıştırma soruları — Cisco CCNA | Examkin