Beruflich Dokumente
Kultur Dokumente
This appendix lists two sets of problems. Both problem sets list an IP network and mask;
your job is to list all the subnet IDs for each network/mask combination. The first problem
set includes problems that happen to have eight or less subnet bits, and the second problem
set includes problems that happen to have more than eight subnet bits. In particular, for each
problem, find the following:
To find this information, you can use processes explained in Chapter 18 of CCENT/CCNA
ICND1 640-822 Official Cert Guide. (If you are reading this as a PDF that came with CCNA
ICND2 640-816 Official Cert Guide, you will find a copy of the ICND1 book’s Chapter 18,
“Finding All Subnet IDs,” in the same location where you found this PDF.)
1. 172.32.0.0/22
2. 200.1.2.0/28
3. 10.0.0.0/15
4. 172.20.0.0/24
1. 172.32.0.0/25
2. 10.0.0.0/21
3 Appendix I: Practice for Chapter 18: Finding All Subnet IDs
■ 172.32.4.0
■ 172.32.8.0
■ 172.32.12.0
■ 172.32.16.0
■ 172.32.20.0
■ 172.32.24.0
(Skipping many subnets; each new subnet is the same as the previous subnet, after
adding 4 to the third octet.)
■ 172.32.248.0
The process to find all subnets depends on three key pieces of information:
■ The mask has fewer than 8 subnet bits (6 bits), because the network is a Class B
network (16 network bits), and the mask has 22 binary 1s in it—implying 10 host bits,
and leaving 6 subnet bits.
■ The mask in dotted-decimal format is 255.255.252.0. The interesting octet is the third
octet because the subnet bits are all in the third octet.
■ Each successive subnet number is 4 higher than the previous subnet number, in the
interesting octet, because the magic number is 256 – 252 = 4.
As a result, in this case, all the subnets begin with 172.32, have a multiple of 4 in the third
octet, and end in 0.
Answers to Problem Set 1 4
Table I-1 shows the results of the various steps of the process, as outlined in Chapter 18.
■ 200.1.2.16
■ 200.1.2.32
■ 200.1.2.48
■ 200.1.2.64
■ 200.1.2.80
(Skipping many subnets; each new subnet is the same as the previous subnet, after
adding 16 to the fourth octet.)
■ 200.1.2.224
The process to find all subnets depends on three key pieces of information, as follows:
■ The mask has fewer than 8 subnet bits (4 bits), because the network is a Class C
network (24 network bits), and the mask has 28 binary 1s in it, which implies 4 host
bits and leaves 4 subnet bits.
■ Each successive subnet number is 16 higher than the previous subnet number, in the
interesting octet, because the magic number is 256 – 240 = 16.
As a result, in this case, all the subnets begin with 200.1.2 and have a multiple of 16 in the
fourth octet.
Table I-2 shows the results of the various steps of the process, as outlined in Chapter 18.
■ 10.2.0.0
■ 10.4.0.0
Answers to Problem Set 1 6
■ 10.6.0.0
(Skipping many subnets; each new subnet is the same as the previous subnet, after
adding 2 to the second octet.)
■ 10.252.0.0
The process to find all subnets depends on three key pieces of information:
■ The mask has fewer than 8 subnet bits (7 subnet bits), because the network is a Class
A network (8 network bits), and the mask has 15 binary 1s in it, which implies 17 host
bits and leaves 7 subnet bits.
■ The mask in dotted-decimal format is 255.254.0.0. The interesting octet is the second
octet, because all the subnet bits exist in the second octet.
■ Each successive subnet number is 2 higher than the previous subnet number, in the
interesting octet, because the magic number is 256 – 254 = 2.
As a result, in this case, all the subnets begin with 10, have a multiple of 2 in the second
octet, and end in 0.0.
Table I-3 shows the results of the various steps of the process, as outlined in Chapter 18.
■ 172.20.1.0
■ 172.20.2.0
■ 172.20.3.0
■ 172.20.4.0
(Skipping many subnets; each new subnet is the same as the previous subnet, after
adding 1 to the third octet.)
■ 172.20.252.0
■ 172.20.253.0
■ 172.20.254.0
The process to find all subnets depends on three key pieces of information:
■ The mask has exactly 8 subnet bits, specifically all bits in the third octet, making the
third octet the interesting octet.
■ The magic number is 256 – 255, because the mask’s value in the interesting (third)
octet is 255.
■ Beginning with the network number of 172.20.0.0, which is the same value as the zero
subnet, just add the magic number (1) in the interesting octet.
Essentially, you just count by 1 in the third octet until you reach the highest legal number
(255). The first subnet, 172.20.0.0, is the zero subnet, and the last subnet, 172.20.255.0, is
the broadcast subnet.
Answers to Problem Set 2 8
■ 172.32.0.128
■ 172.32.1.0
■ 172.32.1.128
■ 172.32.2.0
■ 172.32.2.128
■ 172.32.3.0
■ 172.32.3.128
(Skipping many subnets; the subnets occur in blocks of two, with either 0 or 128 in the
fourth octet, with each successive block being one greater in the third octet.)
■ 172.32.254.0
■ 172.32.254.128
■ 172.32.255.0
The process to find all subnets depends on three key pieces of information, as follows:
■ The mask has more than 8 subnet bits (9 bits), because the network is a Class B
network (16 network bits), and the mask has 25 binary 1s in it, which implies 7 host
bits and leaves 9 subnet bits.
■ Using the terminology in Chapter 18 of the ICND1 book, octet 4 is the interesting
octet, where the counting occurs based on the magic number. Octet 3 is the “just left”
octet, in which the process counts by 1, from 0 to 255.
■ The magic number, which will be used to calculate each successive subnet number, is
256 – 128 = 128.
9 Appendix I: Practice for Chapter 18: Finding All Subnet IDs
To calculate the first subnet block, use the same six-step process as used in the simpler
problems that have 8 or less subnet bits. In this case, with only 1 subnet bit in octet 4, only
2 subnets exist in each subnet block. Table I-4 shows the steps as compared to the six-step
process to find the subnets in a subnet block.
The table represents the logic, but to make sure the answer is clear, the first subnet block
includes the following:
172.32.0.0
172.32.0.128
The next major task—to create subnet blocks for all possible values in the “just left” octet—
completes the process. Essentially, create 256 blocks like the previous list. The first has a
value of 0, in the “just left” octet; the next has a value of 1; the next, a value of 2; and so
on, through a block that begins with 172.30.255. Figure I-1 shows the concept.
Figure I-1 Creating Subnet Blocks by Adding 1 in the “Just Left” Octet
Just Just Just
Left Left Left
■ 10.0.8.0
■ 10.0.16.0
■ 10.0.24.0
■ 10.1.0.0
■ 10.1.8.0
■ 10.1.16.0
■ 10.2.0.0
■ 10.2.8.0
■ 10.2.16.0
■ 10.255.240.0
The process to find all subnets depends on three key pieces of information, as follows:
■ The mask has more than 8 subnet bits (13 bits), because the network is a Class A
network (8 network bits), and the mask has 21 binary 1s in it, which implies 11 host
bits and leaves 13 subnet bits.
11 Appendix I: Practice for Chapter 18: Finding All Subnet IDs
■ Using the terminology in Chapter 18 of the ICND1 book, octet 3 is the interesting
octet, where the counting occurs based on the magic number. Octet 2 is the “just left”
octet, in which the process counts by 1, from 0 to 255.
■ The magic number, which will be used to calculate each successive subnet number, is
256 – 248 = 8.
To calculate the first subnet block, use the same six-step process as used in the simpler
problems that have 8 or less subnet bits. In this case, with 5 subnet bits in octet 3, 32 subnets
exist in each subnet block. Table I-5 shows the steps as compared to the six-step process to
find the subnets in a subnet block.
The table represents the logic, but to make sure the answer is clear, the first subnet block
includes the following:
10.0.0.0
10.0.8.0
10.0.16.0
10.0.24.0
10.0.32.0
10.0.40.0
10.0.48.0
10.0.56.0
10.0.64.0
And so on…
10.0.248.0
The next major task—to create subnet blocks for all possible values in the “just left” octet—
completes the process. Essentially, create 256 blocks like the previous list. The first has a
value of 0, in the “just left” octet; the next has a value of 1; the next, a value of 2; and so
on, through a block that begins with 10.255. Figure I-2 shows the concept.
Figure I-2 Creating Subnet Blocks by Adding 1 in the “Just Left” Octet
Just Just Just
Left Left Left