Appendix H. Practice for Chapter 22: Variable-Length Subnet Masks

Practice Problems

This appendix includes two varieties of VLSM practice problems related to Chapter 22, “Variable-Length Subnet Masks.” The first type of problem lists pairs of IP addresses and masks from a network, and your job is to discover whether any of the subnets implied by those addresses/masks overlap. The second problem starts with a list of existing subnets, and your job is to find the numerically lowest new subnet ID that could be added to that internetwork for a given mask.


Note

You may also elect to do this same set of practice problems using the Finding VLSM Overlaps and Adding New VLSM Subnets applications on the companion website.


Note that you can find additional practice at the author’s CCENT and CCNA blog, which is linked from the author’s website, www.certskills.com/blog.

Practice Finding VLSM Overlaps

Table H-1 lists three practice problems where you can look for VLSM overlaps. Start with the five IP addresses listed in a single column, and then follow the three-step process outlined in Chapter 22 to find any VLSM overlaps. The answers can be found later in this appendix, in the section “Answers to Practice Finding VLSM Overlap Problems.”

Image

Table H-1 VLSM Overlap Practice Problems

Practice Adding New VLSM Subnets: Problem Set 1

Your boss wants you to add a subnet to an existing design. The existing design already has these five subnets:

172.16.0.0/20

172.16.20.0/22

172.16.32.0/21

172.16.18.240/30

172.16.18.0/28

The boss cannot decide among five competing subnet masks. However, the boss wants you to practice VLSM and plan the subnet ID he would use for each of those five possible masks. He tells you that the new subnet ID must be part of Class B network 172.16.0.0, that the new subnet must not overlap with the original five subnets, and that the new subnet ID must be the numerically lowest possible subnet ID (without breaking the other rules). Pick the one subnet ID you would plan to use based on each of the following mask choices by the boss:

1. /30

2. /23

3. /21

4. /26

5. /20

The answers appear later in this appendix, in the section “Answers to Practice Adding New VLSM Subnets: Problem Set 1

Practice Adding New VLSM Subnets: Problem Set 2

Your boss wants you to add one subnet to an existing design. The existing design already has these five subnets:

10.0.0.0/24

10.0.1.0/25

10.0.2.0/26

10.0.3.0/27

10.0.6.0/28

The boss cannot decide among four competing subnet masks to use for this next new subnet to add to the internetwork. However, the boss wants you to practice VLSM and plan the subnet ID that he would use for each of those four possible masks. He tells you that the new subnet ID must be part of Class A network 10.0.0.0, that the new subnet must not overlap with the original five subnets, and that the new subnet ID must be the numerically lowest possible subnet ID (without breaking the other rules). Pick the one subnet ID that you would plan to use based on each of the following mask choices by the boss:

1. /24

2. /23

3. /22

4. /25

The answers appear later in this appendix, in the section “Answers to Practice Adding New VLSM Subnets: Problem Set 2

Answers

Answers to Practice Finding VLSM Overlaps Problems

This section lists the answers to the three practice problems in the section “Practice Finding VLSM Overlaps,” listed earlier in Table H-1. Note that the tables that list details of the answer reordered the subnets as part of the process.

In Problem 1, the second and third subnet IDs listed in Table H-2 happen to overlap. The second subnet’s range completely includes the range of addresses in the third subnet.

Image

Table H-2 VLSM Overlap Problem 1 Answers (Overlaps Highlighted)

In Problem 2, the third and fourth subnets in Table H-3, listed in sequential order by subnet ID, overlap. The third subnet’s range completely includes the range of addresses in the fourth subnet. Also, the two overlapping subnets have the same subnet broadcast address, making the overlap more obvious.

Image

Table H-3 VLSM Overlap Problem 2 Answers (Overlaps Highlighted)

In Problem 3, the last two subnets in Table H-4, listed in sequential order by subnet ID, overlap.

Image

Table H-4 VLSM Overlap Problem 3 Answers (Overlaps Highlighted)

Answers to Practice Adding New VLSM Subnets: Problem Set 1

This section lists the answers to the five practice problems in the earlier section “Practice Adding New VLSM Subnets: Problem Set 1.”

All five problems for this section used the same set of five preexisting subnets. Table H-5 lists those subnet IDs and subnet broadcast addresses, in sequential order based on subnet ID. The list defines the lower and higher end of the range of numbers in each subnet.

Image

Table H-5 Preexisting Subnets for the Adding New VLSM Subnets: Problem Set 1

The rest of the explanations follow the five-step process outlined in Chapter 22 in the section, “Adding a New Subnet to an Existing VLSM Design,” except that the explanations ignore Step 3, because Step 3’s results in each case are already listed in Table H-5.

Problem 1

Step 1. The problem statement tells us to use /30.

Step 2. The subnets would be 172.16.0.0, 172.16.0.4, 172.16.0.8, and so on, counting by 4 in the fourth octet and counting by 1 in the third octet.

Step 4. Many possible /30 subnets overlap: all 64 that begin 172.16.0, all 64 that begin 172.16.1, and so on, through all the subnets that begin 172.16.15 because the first existing somewhat-large subnet has a range from 172.16.0.0 to 172.16.15.255.

Step 5. 172.16.16.0/30 is the numerically lowest new subnet number that does not overlap with the existing subnets.

Problem 2

Step 1. The problem statement tells us to use /23.

Step 2. The subnets would be 172.16.0.0, 172.16.2.0, 172.16.4.0, 172.16.6.0, and so on, counting by 2 in the third octet.

Step 4. The first eight such subnets (through subnet 172.16.14.0/23) overlap with the first existing subnet. The first subnet ID that might not overlap would be 172.16.16.0, then 172.16.18.0, and so on.

Step 5. 172.16.16.0/23 is the numerically lowest new subnet number that does not overlap with the existing subnets.

Problem 3

Step 1. The problem statement tells us to use /21.

Step 2. The subnets would be 172.16.0.0, 172.16.8.0, 172.16.16.0, 172.16.24.0, and so on, counting by 8 in the third octet.

Step 4. The first two new possible subnets (172.16.0.0/21, 172.16.8.0/21) overlap with the first existing subnet. 172.16.16.0/21 overlaps with three other existing subnets, and 172.16.32.0/21 overlaps with the last subnet listed in Table H-5.

Step 5. 172.16.24.0/21 is the numerically lowest new subnet number that does not overlap with the existing subnets.

Problem 4

Step 1. The problem statement tells us to use /26.

Step 2. The subnets would be 172.16.0.0, 172.16.0.64, 172.16.0.128, 172.16.0.192, 172.16.1.0, 172.16.1.64, and so on, counting by 64 in the fourth octet and by 1 in the third octet.

Step 4. All the beginning /26 subnets overlap with the large first existing subnet (172.16.0.0/20). Although you could write down all the /26 subnets, you would need to write down 64 of these subnet numbers before getting to 172.16.16.0, which is the first number past the range for the first existing subnet.

Step 5. 172.16.16.0/26 is the numerically lowest new subnet number that does not overlap with the existing subnets.

Problem 5

Step 1. The problem statement tells us to use /20.

Step 2. The subnets would be 172.16.0.0, 172.16.16.0, 172.16.32.0, 172.16.48.0, 172.16.64.0, and so on, counting by 16 in the third octet.

Step 4. The first three subnets overlap with existing subnets per the details in Table H-5.

Step 5. 172.16.48.0/20 is the numerically lowest new subnet number that does not overlap with the existing subnets.

Answers to Practice Adding New VLSM Subnets: Problem Set 2

This section lists the answers to the five practice problems in the earlier section “Practice Adding New VLSM Subnets: Problem Set 2.”

All four problems for this section used the same set of five pre-existing subnets. Table H-6 lists those subnet IDs and subnet broadcast addresses, in sequential order based on subnet ID. The list defines the lower and higher end of the range of numbers in each subnet.

Image

Table H-6 Preexisting Subnets for the Adding New VLSM Subnets: Problem Set 2

The rest of the explanations follow the five-step process outlined in Chapter 22 in the section, “Adding a New Subnet to an Existing VLSM Design,” except that the explanations ignore Step 3, because Step 3’s results in each case are already listed in Table H-6.

Problem 1

Step 1. The problem statement tells us to use /24.

Step 2. The subnets would be 10.0.0.0, 10.0.1.0, 10.0.2.0, 10.0.3.0, 10.0.4.0, 10.0.5.0, and so on, counting by 1 in the third octet.

Step 4. The first four new possible subnets (10.0.0.0/24, 10.0.1.0/24, 10.0.2.0/24, and 10.0.3.0/24) all overlap with the existing subnets (see Table H-6). 10.0.6.0/24 also overlaps.

Step 5. 10.0.4.0/24 is the numerically lowest new subnet number that does not overlap with the existing subnets.

Problem 2

Step 1. The problem statement tells us to use /23.

Step 2. The subnets would be 10.0.0.0, 10.0.2.0, 10.0.4.0, 10.0.6.0, 10.0.8.0, and so on, counting by 2 in the third octet.

Step 4. Three of the first four new possible subnets (10.0.0.0/23, 10.0.2.0/23, and 10.0.6.0/23) all overlap with existing subnets.

Step 5. 10.0.4.0/23 is the numerically lowest new subnet number that does not overlap with the existing subnets.

Problem 3

Step 1. The problem statement tells us to use /22.

Step 2. The subnets would be 10.0.0.0, 10.0.4.0, 10.0.8.0, 10.0.12.0, and so on, counting by 4 in the third octet.

Step 4. The first two new possible subnets (10.0.0.0/22 and 10.0.4.0/22) overlap with existing subnets.

Step 5. 10.0.8.0/22 is the numerically lowest new subnet number that does not overlap with the existing subnets.

Problem 4

The answer for this problem requires more detail than the others, because the /25 mask creates a larger number of subnets that might overlap with the preexisting subnets. For this problem, at Step 1, you already know to use mask /25. Table H-7 shows the results of Step 2, listing the first 14 subnets of network 10.0.0.0 when using mask /25. For Step 4, Table H-7 also highlights the overlapped subnets in gray. To complete the task at Step 5, search the table sequentially and find the first nongrayed subnet, 10.0.1.128/25.

Image

Table H-7 First 14 Subnets of Network 10.0.0.0, Using /25 Mask

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset