Skip Links

Network World

Brad Reese

New Cisco tool for those who don't know or use binary math

Binary math is simple, yet non-intuitive, however with the NetQoS Subnet Calculator, learning binary math becomes more demonstrative and fun

By Brad Reese on Tue, 06/16/09 - 1:19am.

This week I've added the following nifty subnet calculator to the Cisco Tools web page:

Bill AldersonThe NetQoS Subnet Calculator offers a view of every bit in the IP address to help network engineers understand how IP subnetting works, according to network performance management vendor NetQos, and it also has a feature allowing entry of a real address mask of your own to test if it is on the same or remote network.

"Until one takes some real addresses and experiments with how the mask affects the address bits, it is challenging to understand," said Bill Alderson - NetQoS Technology Consulting Officer. "Most people don’t know or use binary math. It is simple, yet non-intuitive. I developed the Subnet Calculator to make learning more demonstrative and fun."

Alderson continued, "Dotted decimal was originally created to try to make network addresses appear in decimal form that more people could understand, with each eight bits being converted to decimal.

"Below are two addresses broken out from dotted decimal to binary and then redisplayed with dots separating octet boundaries:"

1.1.1.1 is 00000001000000010000000100000001 or 00000001.00000001.00000001.00000001

2.2.2.2 is 00000010000000100000001000000010 or 00000010.00000010.00000010.00000010

Alderson expounded, "Applying a Mask of 11111111.11111111.11111111.00000000 adds to the complexity and introduces binary addition required to understand the result. The result in the cases above would be: nnnnnnnn.ssssssss.ssssssss.hhhhhhhh where:"

n= network
s=subnet
h=host

Alderson added, "In the subnet calculator the binary and the n, s, and h are clearly defined for easy understanding in different scenarios. For example, start by entering your address and mask in the calculator. Then add another target destination address you might want to send a packet to and calculate the result. The calculator will tell you if it is on your segment (switch) or if it must be sent to the router for forwarding beyond your segment."

Alderson concluded, "Once the basics are understood, it will help you understand the more complex. For instance, let’s say you want to know all the dotted decimal addresses that end up falling under a non-octet boundary subnet mask. Just enter the mask and address, hit calculate and a list of networks will be shown."

Screenshot of the NetQoS Subnet Calculator:

Screenshot of the NetQoS Subnet Calculator

View more Cisco Tools.


How useful do you find this subnet calculator?

Brad Reese
BradReese.Com Cisco Refurbished - Services that protect, maintain and optimize Cisco hardware
Contact: Brad Reese | Twitter: http://twitter.com/BradReese
Brad's Favorite Story Picks

  1. Comment from Network World reader removes Cisco SVP Judy Lin's face from Cisco's Mount Rushmore of senior executive biographies
  2. Executive who outsourced U.S. jobs to India appears to be leaving Cisco
  3. Cisco SEC filing: Unable to reasonably estimate a range of loss, if any for Cisco Brazilian subsidiary
  4. Cisco may invest more than $500M in new data center located near Dallas, Texas
  5. Director-class switch dustup between Brocade and Cisco over Miercom lab test results
  6. Robert Lloyd, most likely successor to Cisco CEO John Chambers goads channel partners to wallop HP ProCurve
  7. Cisco loses $1M AT&T Park deal to pip-squeak competitor ShoreTel
  8. 4 key points on broadband stimulus money
  9. Has EMC rustled Data Domain away from NetApp, HP and Cisco?
  10. Judge calls bluff made by HP's new networking boss!
  11. Brocade and Cisco focus on channel partner profitability
  12. The number of new Cisco CCIEs slip
  13. Beware Cisco of how the mighty fall
  14. Does Huawei have the most potential to eat Cisco's lunch?
  15. Two former Cisco employees license all of Cisco's security protocols
  16. Prime Minister of India joins Cisco in attacking President Obama's tax plan
  17. Cisco employee share-based compensation expense defies gravity
  18. Court rules new HP executive vice president is officially AWOL from EMC
  19. Cinco de Mayo: Cisco loses $45M telepresence deal to Polycom
  20. View Brad Reese on Cisco Story Archives

Cisco Repair

Refurbished Cisco

Cisco VoIP Gateways

Cisco Power Supplies

Great...well maybe not

0

Generally I would think that this knowledge would be foundational for anyone that touches a network. So it is great for us lazy folks that understand address schemes and sub-netting, but just don't want to do the math. However, probably very dangerous for someone that doesn't understand the theory and ramifications of addressing, and just starts popping in ip addresses and re-configuring their network.

I Hear Ya

0

I hear ya, often use my computer's Microsoft Calculator for calculations I know "first graders" could solve.

Sincerely,

Brad Reese
BradReese.Com Cisco Refurbished

Sadly enough, most students

0

Sadly enough, most students in high school and university don't comprehend how binary numbers work, or how to do simple arithmetic in the binary system.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use BBCode tags in the text.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <p> <strong> <i> <br /> <br> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Welcome, visitor. Register Log in
About Brad Reese on Cisco

Brad Reese cofounded BradReese.Com Cisco Refurbished, which enables affordable networks globally by assuring customer satisfaction with guaranteed one year warranties on both Cisco Repair as well as Refurbished Cisco.

Don't be shy, contact Brad Reese online or call him Toll Free:

866-864-0506

International callers may wish to call Brad by dialing:

850-364-4115

Archives
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
Categories
A classic scam to defraud Cisco's SMARTnet program
America's Best profile written by Useem regarding Chambers' success
Avian Securities Senior Telecom Research Analyst - Catharine Trebnick
Breakingviews.com correspondent - Robert Cyran
CCIE
Careers
Charlie Giancarlo - Managing Director of Silver Lake Partners and Skype investor
Cisco
Cisco ASR 9000 architecture
Cisco ISR G2 Module Support
Cisco Integrated Services Router Generation 2 (ISR G2) Model Comparison
Cisco Integrated Services Routers Generation 2 Portfolio
Cisco Unified Communications Support for Microsoft Windows 7
Cisco is pushing their ASR 9000 at very competitive prices
Cisco is warning Unified Communications customers about NOT successfully offering support for Microsoft Windows 7
Cisco technical star Jonathan Rosenberg
Cisco will have no liability for any delay in delivery
Data Center
Douglas Smith - Cofounder and President of Network Instruments
Expand visibility of NetFlow-dependent NBAD and compliance applications
GigaStor captures and converts packets in NetFlow data flows
Index Venture partner Danny Rimer
Jonathan Rosenberg - a Cisco Fellow in Cisco's Voice Technology Group
Juniper MX960 lab test results
LANs / WANs
Mark Roberts - Polycom vice president of partner marketing
Michael Useem - Professor of Management
Microsoft
NetFlow
NetFlow add-ons
NetFlow overhead can overtax infrastructure
Network Behavior Anomaly Detection (NBAD)
Network Management
Non-NetFlow capable devices are blind to local traffic
Produce NetFlow about any device
SMB
Security
Selection committee member for America's Best Leaders
September 2009 vs. October 2009 Worldwide CCIE Count Comparison
Silver Lake Managing Director - Egon Durban
Skype's cofounders Niklas Zennstrom and Janus Friis
Software
The Charlie angle is to keep Dave Roux on track
The new Cisco ISR G2 portfolio is priced as follows
VoIP / Convergence
What are the benefits of GigaStor NetFlow Agent?
What’s new on the Cisco ISR G2 models vs. the old ISR models?
Windows 7
Windows 7 just not worth an all-out urgent effort by Cisco to support
Wireless / Mobile
eBay CEO - John Donahoe
sFlow
sFlow and NetFlow provides extended visibility
On The Web
Twitter