Another subnetting calculation question...Scott?

Have a question or want to start a discussion? Post it! No Registration Necessary.  Now with pictures!

Threaded View

Okay, I've learned how to take an IP address and mask and determine
the network address.  I know 2 methods:  The "Magic Number" easy
method from Odom's videos, and the binary AND method which I use to
check my answer.

So then we move on to determining the broadcast address, as well as
host range.  We learned yet another "Magic Number" method:  Magic
Number plus relevant octet of network address, minus 1.


Network:  (Easy:  256 - 224 = 32.  96 is the multiple of
32 without going over 100, so it's 96).  Binary ANDing 224 and 100 is
just as easy.

1st usable host IP:  Again, simple.  Network address

Now:  We're taught that to find the broadcast address, take 96, add
the magic number (32) = 128, subtract 1, and we get 127.

Simple enough to memorize, but doesn't satisfy me.
How do we get there the "hard" way, without using a formula?

I'm assuming there's a binary method to get from the network or IP
address to the broadcast address?

Re: Another subnetting calculation question...Scott?

The Binary Method for getting the Broadcast Address is to set all host
bits int the IP/network Address to 1.

Network i.e

Binary:  11000000.10101000.00000001.10100000
Netmask: 11111111.11111111.11111111.11111000
so setting the last 3 bits in the binary represantation of your IP
address/Network address leaves you with:

Binary:  11000000.10101000.00000001.10100111
which is the correct broadcast address:

Mitch@_._ schrieb:
Quoted text here. Click to load it

Re: Another subnetting calculation question...Scott?

Quoted text here. Click to load it

Thanks!  That's exactly what I was looking for.

Site Timeline