Subnetting in Binary

(Rene Molenaar) #1

This topic is to discuss the following lesson:

(Srinivasan C) #2

Hi Rene,
Very Good article for Beginners.


(Sirui J) #3

Under Class A subnetting section, the subnet mask should be instead of
Typo I guess.

(Rene Molenaar) #4

Hi Sirui,

I just glanced over it but couldn’t find that, where do you see it? :slight_smile:


(Mohammad T) #5


networklessons and Rene Molenaar = wonderful

(George W) #6

Hello Rene, This is great work that you are doing and even if I find it difficult to grasp the concept, I have a feeling that something is happening to my understanding :). Your examples are clear to a point but when I try using my own values, ie other addresses I get lost rather fast :(.

For instance, I have the following address: and I am required to find out 1. Network address. 2.first and last usable addresses and the broadcast address. I figured out that the first address must be the following: and as the network address since it is the first address and that is reserved for the network.

However I am unable or got stuck trying to figure out the broadcast address since it’s the last address is unclear to me. Please let me know how to deal with this issue. Again, thanks for the good work you are doing for hundreds of newbies like me who’d have it rather rough without your help. George

(Rene Molenaar) #7

Hi George,

Let’s walk through this example together, that might help…

First we need to figure out the network address and to do that, we need to take a close look at the subnet mask:

The subnet mask defines how large each subnet is. You can do this in binary but I’ll use decimal since it’s faster. A quick method is to take the number 256 minus the subnet mask. We are looking at the 4th octet so that’s 248:

256 - 248 = 8

We now know that each subnet has 8 addresses. Let’s start counting from 0 to show you how it works:

Subnet #1
Subnet #2
Subnet #3
Subnet #4
Subnet #5

These are all “steps” of 8 addresses. If you keep counting then you’ll end up at the subnet where you address belongs to:


As you can see, your is a network address. The next subnet starts with

Finding the broadcast address is easy now, it’s the last address in the subnet:

Finding the first and last usable host addresses is also easy now…the first address is and the last one is (one before the broadcast address).

Does this help?


(Ali S) #8

Hi Rene,

You are doing a good Job. I wanted to ask, in your example you have said is the first address for that block? I thought .104 is the network and the first usable address will start from 105? If you could clarify that for me. Thanks

(Andrew P) #9

You are correct, and I have corrected the error. Nice catch.

(umer b) #10

Hi Rene,

First of all, I would like to give you a massive thanks for creating this article in such a professional and simplified way. Although, your article covers everything, it would be awesome if you created a video where you actually did step by step subnetting :slight_smile:

You are by far the best instructor I have found on the internet ^^

(Rene Molenaar) #11

Thanks for your kind words Umer! I’ll see if I can add some videos for subnetting.