How does

How does "magic number" algorithm work

NewsGroups | Search | Tools
 alt.certification.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
How does "magic number" algorithm work Ira Gladnick 06-01-2008
Posted by Ira Gladnick on June 1, 2008, 11:43 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Would anyone happen to have a pointer to a proof of how the "magic
number" algorithm for finding a subnet number's "interesting" octet
decimal value works? I.e., WHY does it work, mathematically speaking?

Algorithm is: subtract the mask's "interesting" (non-255) decimal
number from 256, which yields the "magic number". Then find the
largest multiple of the "magic number" that is less than the
"interesting" decimal value in question--this is the "interesting"
decimal number for the subnet address.

Similar ThreadsPosted
OSPF and SPF Algorithm April 26, 2005, 2:14 am
Number of CCNA/MSCE's out there January 4, 2007, 3:00 pm
Maximum number of hosts March 13, 2008, 4:27 pm
Number of usable addresses on a subnet February 27, 2006, 6:11 pm
Two CCNA-related questions - subnets number and 3750 for practical June 2, 2005, 5:41 am
20% Discount on MCP certification exams! Use this valuable voucher number: MSUU4C2E5280 October 22, 2005, 8:47 pm
will this work? November 28, 2005, 8:12 am
Work experience November 5, 2005, 11:08 am
Can anyone offer me work experience? May 2, 2005, 5:39 pm
Can anyone offer me work experience? May 2, 2005, 5:22 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map