Subnetting in Binary

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:

255.255.255.248

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 120.48.7.0
Subnet #2 120.48.7.8
Subnet #3 120.48.7.16
Subnet #4 120.48.7.24
Subnet #5 120.48.7.32
etc.

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

Subnet: 120.48.7.104
Subnet: 120.48.7.112
Subnet: 120.48.7.120

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

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

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

Does this help?

Rene