I am in the process of finishing the programming of
a specialized IPv4 Octet - Binary to Decimal Calculator. I say specialized only in the sense that the calculator is meant as a teaching tool to show what happens with each of the bits in a 32 bit IP address when the bits are turned on or off. The Decimal data for the associated bit is also included.
I haven't written all the descriptions/definitions yet, but I am wondering if you would take a look at the basics of the calculator/output data and provide me with some feedback...
For those interested here is a basic outline:
You enter an IP address and the calculator converts the address into Binary and Decimal and provides a Decimal Web Address (A decimal address can resolve to the proper domain if reverse addressing is setup properly in DNS).
For example, if you were to enter the IP address for MSN (try 207.68.172.246) the calculator would produce the following output:
Binary Conversion: 11001111.01000100.10101100.11110110
Decimal Conversion: 3477384438
The Decimal Address would also display; if clicked on it should resolve to the MSN website.
The full data display outputs the following:
1.) Far left column separates the IP into Octets.
2.) Bit column shows the associated bits within the specific octet.
3.) The Decimal column provides the relative decimal value when the bit is turned on.
4.) The ^2 column shows the binary powers of 2 within the individual octet.
5.) The Octet column provides the octet decimal display value.
6.) The Binary column corresponds to the Octet column value assuming the bit is turned on.
7.) The Bits on/off column displays a "1" or "0" based on the IP address entered. A "1" shows the bit as turned on a "0" shows the bit turned off. These values correspond to the full four octet binary value of the IP address.
8.) The Decimal on/off column shows the corresponding decimal value of the active bits. These values are added up to produce the Decimal Conversion.
I still have a least one minor bug to fix and I will be improving the display of the data. I will also have a page including the calculator but without the corresponding data in the tables. (I may also create some similar calulators for subnetting, etc.)
Any feedback is welcome. If you notice any additional bugs I would also appreciate hearing about them.