Cisco Certification Another subnetting calculation question...Scott?

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Another subnetting calculation question...Scott? Mitch 10-02-08
Posted by on October 2, 2008, 11:45 am
Please log in for more thread options


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.

Example:

Mask: 255.255.224.0
IP: 128.200.100.100
Network: 128.200.96.0 (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: 128.200.96.1. Again, simple. Network address
+1.

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?

Posted by Inga Mewes on October 11, 2008, 8:06 am
Please log in for more thread options


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

Example:
Network 192.168.1.160/29 i.e 255.255.255.248

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: 192.168.1.167

Mitch@_._ schrieb:
> 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.
>
> Example:
>
> Mask: 255.255.224.0
> IP: 128.200.100.100
> Network: 128.200.96.0 (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: 128.200.96.1. Again, simple. Network address
> +1.
>
> 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?

Posted by on October 11, 2008, 11:06 am
Please log in for more thread options



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

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

Similar ThreadsPosted
Another subnetting calculation question...Scott? October 2, 2008, 11:45 am
FD Calculation October 25, 2006, 4:11 pm
The $2.3 million home lab of Scott Morris, Quadruple CCIE June 28, 2007, 7:33 pm
Subnetting Question February 7, 2005, 2:45 am
Subnetting question? April 28, 2007, 2:26 am
A few subnetting question May 7, 2007, 1:28 pm
Subnetting question May 26, 2007, 9:25 am
CCNA subnetting question April 21, 2005, 8:58 am
subnetting question - pissing me off October 6, 2006, 11:51 am
subnetting question - pissing me off October 6, 2006, 11:51 am
subnetting question - pissing me off October 6, 2006, 11:51 am
Simple Subnetting Question October 30, 2006, 10:48 pm
Question About Subnetting/Todd Lammle CCNA book April 5, 2006, 10:49 am
Party tonight at 8pm and meet famous $2.3 million home lab owner, Scott Morris - Quad CCIE at Cisco Live! 2008 Orlando June 23, 2008, 4:23 am
Subnetting help June 6, 2006, 9:04 pm