IP Address Rulebreakers 4
When first learning about IP addressing and subnetting, it helps to first learn the basics and then practice those basics to build confidence. These IP address rulebreaker exercises help you do just that. Those skills include:
- Recognize dotted-decimal numbers (DDNs) that do not follow the rules for correct IPv4 unicast addresses.
- Apply the pattern to predict the four key facts about a subnet that uses the simplest subnet mask (/24).
- Analyze the addresses shown in a planning diagram to discover:
- Planned addresses with values in the wrong subnet.
- Planned addresses that use reserved values that would not be accepted by the host.
Videos: How to and More Practice
The video on the left teaches what you need to know to do the analysis required in this exercise. There’s also a video with three similar IP address rulebreaker problems (shown on the right.) Enjoy!
The Problems
For each problem, look at the addresses shown beside the router interfaces and PCs. All addresses use the same subnet mask (/24, or 255.255.255.0). Assume that the router IP address is correct. Then consider whether any of the PC IP addresses are incorrect for any reason. The reasons include:
- Invalid values with numbers not allowed in IP addresses
- Valid numbers that are not unicast addresses
- Valid DDN values that are reserved numbers in the subnet (subnet ID, subnet broadcast address)
- Valid DDN values that place the IP address in the wrong subnet
Figure 1: Find the Rulebreakers in this Figure
Answers Below: Spoiler Alert
Identifying the Rulebreakers
Figure 2 shows the rulebreakers for this post with a line through the DDN values. The reasons why are below the figure.
Figure 2: Rulebreakers Identified
To find the rulebreakers, use this set of rules:
All DDN numbers used in IPv4 have a value between 0-255 inclusive in each of the four octets.
Addresses assigned to host interfaces, used as unicast IP addresses, must be from the class A, B, or C range shown in this table:
First Octet Range | Class |
---|---|
1-126 | A |
128-191 | B |
192-223 | C |
224-239 | D |
240-255 | E |
- Subnets that use mask /24 (255.255.255.0) follow this convention for the four key values within the subnet, with all DDN values in the subnet using the same value for the first three octets:
Subnet ID | __.__.__.0 |
First Address | __.__.__.1 |
Last Address | __.__.__.254 |
Subnet Broadcast address | __.__.__.255 |
- The subnet ID and subnet broadcast address are reserved and cannot be used as an IP address
Subnet 1 Rulebreakers
Subnet 1 lists the router IP address as 172.30.1.254, with mask /24 assumed. As a result, the subnet uses these values:
Subnet ID | 172.30.1.0 |
First Address | 172.30.1.1 |
Last Address | 172.30.1.254 |
Subnet Broadcast address | 172.30.1.255 |
The rulebreakers are:
- Address 172.30.1.0 is the subnet ID, and a host cannot use it as its unicast IP address.
Subnet 2 Rulebreakers
Subnet 2 lists the router IP address as 172.30.5.1, with mask /24 assumed. As a result, the subnet uses these values:
Subnet ID | 172.30.5.0 |
First Address | 172.30.5.1 |
Last Address | 172.30.5.254 |
Subnet Broadcast address | 172.30.5.255 |
The rulebreakers are:
- Address 172.30.5.255 is the subnet broadcast address of the subnet. A host cannot use that value as its unicast IP address.
- Address 172.30.5.256 uses an out-of-range value (256). All octets in an IPv4 address must be between 0-255 inclusive, along with other restrictions.
Subnet 3 Rulebreakers
Subnet 3 lists the router IP address as 172.30.9.101, with mask /24 assumed. As a result, the subnet uses these values:
Subnet ID | 172.30.9.0 |
First Address | 172.30.9.1 |
Last Address | 172.30.9.254 |
Subnet Broadcast address | 172.30.9.255 |
The rulebreakers are:
- Address 172.30.101.9 resides outside the subnet as defined by the router IP address and mask.
Hello Wendell,
It’s me again! In CCNA 200-301 (2nd edition) Volume 1 Chapter 11 page 311, there is a note referencing “Appendix M” on the companion website. I can’t find that Appendix or any other Appendix on the website.
Here is the URL I’m using to connect to the site:
https://www.ciscopress.com/promotions/book-registration-ccna-200-301-official-cert-guide-142586#top
Thanks
Mark
That’s the right place. You just need to keep navigating. Look at the study resources clickable rectangle on the left, which moves you down the page. Or scroll down to those. Click + to expand. Then you’ll see the PDF appendices (also listed in the book in the “Contents at a glance” section just before the full ToC). App M is at the end of the list of PDFs on the companion website.