Answer (Part 1): Subnet Design Exercise

 In 200-301 V1 BBB Not in new books, CCENT-OLD, IPv4 Design Drills

Today’s post shows the beginning of a solution to the subnet design exercise I posted last week. This post isn’t all that meaningful without reading the other one first – after that, and after you take a crack at it of course, dive in!

The figure shows five subnets with varying requirements for a number of hosts. However, the second requirement stated that you should use a single mask throughout the network, so you can ignore the number of hosts per subnet for the smaller requirements, and just pay attention to the largest requirement: 300 hosts/subnet for R1’s LAN subnet.

To support 300 hosts, you need H host bits such that 2^H – 2 => 300. Some quick math tells us that H=8 is too few (2^8 – 2 = 254, but 2^9 – 2 = 510). The second requirement also told us to use the fewest host bits, so while H=10, H=11, and so on would work, H=9 is the lowest value that meets the requirements. The mask that has 9 host bits is /23, because /23 by definition means 23 prefix bits, leaving 9 more bits to round out the 32 bits in an IPv4 address.

The next step is to list all the subnet IDs, or at least enough to see the pattern. I leave the how/why as an exercise, but here’s a partial list:

I’ll stop there for now, and list the rest of the answer in another post, in case some of you who’re following along in real time just needed a little nudge to get to this point. I’ll post the rest in a few days.

Subnet Design Exercise
Answer Part 2: Subnet Design Exercise
Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x