IP Subnetting Step 3: Determining the Custom Subnet Mask

Once you have decided how many bits to use for the subnet ID and how many to leave for the host ID, you can determine the custom subnet mask for the network. Now, don't go running for cover on me. A lot of people's eyes glaze over at mention of the subnet mask, but it's really quite simple to figure out once you have done the homework in making the design decision you did in step 2. In fact, there are two ways of doing this; one is less work than the other, but they're both quite easy. I was going to call them the hard way and the easy way, but instead, I'll call them easy and easier.

Calculating the Custom Subnet Mask

Let's start with the easy method, in which you calculate the subnet mask ...

Get TCP/IP Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.